TechDraw - insert of section view - possible bug ?

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

TechDraw - insert of section view - possible bug ?

Post by maker »

Code: Select all

OS: openSUSE Leap 15.3 (KDE//usr/share/xsessions/default)
Word size of FreeCAD: 64-bit
Version: 0.20.Unknown
Build type: Release
Python 3.6.13, Qt 5.12.7, Coin 4.0.1, OCC 7.6.1
Locale: German/Germany (de_DE)

Hi all,

during creation of a section view in TechDraw, I've noticed that there is a possible bug.

The selected scale 2 : 1 of the drawing is adopted in the opening window of section view but the inserted view in the drawing seems to be only scale 1 : 1. If you try to use the up and down arrows in the entry field the scale value changes to 0,0000 and afterwards you cannot change it any more.

After clicking OK you cannot reach/change value in the Combo view property field. The value is grayed out.

Any ideas or comments?
TechDraw_section view.FCStd
(14.93 KiB) Downloaded 18 times
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw - insert of section view - possible bug ?

Post by wandererfan »

maker wrote: Sun Jun 12, 2022 11:39 am Any ideas or comments?
I'm not seeing either of these behaviours in the most recent freecad-daily from PPA.

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: b8434f2ddce99df4587659f7e417335635989f65
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.54b
  * Curves 0.3.0
  * Assembly4 0.11.12
  * fasteners 0.3.40
I do see some debugging output that should be removed.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw - insert of section view - possible bug ?

Post by wandererfan »

wandererfan wrote: Sun Jun 12, 2022 3:03 pm
maker wrote: Sun Jun 12, 2022 11:39 am Any ideas or comments?
I'm not seeing either of these behaviours in the most recent freecad-daily from PPA.

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: b8434f2ddce99df4587659f7e417335635989f65
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.54b
  * Curves 0.3.0
  * Assembly4 0.11.12
  * fasteners 0.3.40
I do see some debugging output that should be removed.
Edit: I have "Debug Section" turned on.
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: TechDraw - insert of section view - possible bug ?

Post by domad »

maker wrote: Sun Jun 12, 2022 11:39 am .......
Hello maker, greetings to the Community!

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.29085 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 1e96bbd)
Hash: 1e96bbd2815683d6afa0afe8f985cdd04ef839fe
Python 3.10.4, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
No problem found, I don't understand what you mean when you say ".... inserted view in the drawing seems to be only scale 1: 1".
The section view that is inserted "inherits" the scale (2: 1 compared to the real model) from the "Projection Group", in this case if we refer to what appears on the page it is 1: 1 (i.e. it appears with the same scale to the "Front" view), if instead we refer to the scale of the model it is, correctly, 2: 1.
If I want to set a section view scale that appears (on the page) 2: 1 compared to the "Front" view then in the section view scale parameter I will have to set 4.
If I want to set the scale of the "Front" view different from the one set in the "Projection Group" I cannot do it as it is determined univocally for all the views belonging to the "Projection Group", by the scale parameter.
If I want to set different scales in the views I have to insert them in the page one by one with the "Insert View" function.
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: TechDraw - insert of section view - possible bug ?

Post by maker »

.
Last edited by maker on Mon Jun 13, 2022 6:34 am, edited 1 time in total.
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: TechDraw - insert of section view - possible bug ?

Post by maker »

domad wrote: Sun Jun 12, 2022 5:13 pm
No problem found, I don't understand what you mean when you say ".... inserted view in the drawing seems to be only scale 1: 1".
The section view that is inserted "inherits" the scale (2: 1 compared to the real model) from the "Projection Group", in this case if we refer to what appears on the page it is 1: 1 (i.e. it appears with the same scale to the "Front" view), if instead we refer to the scale of the model it is, correctly, 2: 1.
If I want to set a section view scale that appears (on the page) 2: 1 compared to the "Front" view then in the section view scale parameter I will have to set 4.
If I want to set the scale of the "Front" view different from the one set in the "Projection Group" I cannot do it as it is determined univocally for all the views belonging to the "Projection Group", by the scale parameter.
If I want to set different scales in the views I have to insert them in the page one by one with the "Insert View" function.
As I explained in the beginning of the thread:

The scale of representation in the TechDraw sheet is selected 2:1, starting with the front view. Then I want to insert a simple section view in the same scale.
As described this does not work as it should.
Please follow my explanations in the beginning of the thread.
section_view_01.png
section_view_01.png (29.94 KiB) Viewed 955 times
section_view_02.png
section_view_02.png (24.87 KiB) Viewed 955 times
section_view_03.png
section_view_03.png (47.2 KiB) Viewed 955 times
section_view_04.png
section_view_04.png (33.46 KiB) Viewed 955 times
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw - insert of section view - possible bug ?

Post by wandererfan »

maker wrote: Sun Jun 12, 2022 9:05 pm Please follow my explanations in the beginning of the thread.
Still not seeing it. Your task dialog looks different. There were changes to section dialog in March. Old version?
SectionScale.png
SectionScale.png (56.86 KiB) Viewed 909 times
SectionScaleInPropEdit.png
SectionScaleInPropEdit.png (33.26 KiB) Viewed 909 times
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: TechDraw - insert of section view - possible bug ?

Post by domad »

maker wrote: Sun Jun 12, 2022 9:05 pm .........
Please follow my explanations in the beginning of the thread.
Hello maker, greetings to the community!
In my reply I pointed out that no problem was highlighted for me.
Given the above, in the image I attach is what I see when opening your file, no anomalies or discrepancies, so when you say ".... the drawing "seems" to be only scale 1: 1" I interpreted that the view reproduced on the page is the same as that of the "Front" view, hence my clarifications that can come in handy for the neophyte.
Rather, from what I can see, in your version data it seems that FreeCad is unable to locate the exact version:

Code: Select all

....
Version: 0.20.Unknown
....
Perhaps this can be the highlighting of some problem in your system?
Attachments
section_view.png
section_view.png (147.96 KiB) Viewed 856 times
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: TechDraw - insert of section view - possible bug ?

Post by maker »

wandererfan wrote: Mon Jun 13, 2022 12:36 am
maker wrote: Sun Jun 12, 2022 9:05 pm Please follow my explanations in the beginning of the thread.
Still not seeing it. Your task dialog looks different. There were changes to section dialog in March. Old version?
SectionScale.png

SectionScaleInPropEdit.png
It is the last provided openSUSE FC package version dated March, 10th 2022

Code: Select all

Source RPM  : FreeCAD-0.20~pre.1646889299.c2055689a5-lp153.29.2.src.rpm
Build Date  : Do 10 Mär 2022 14:07:53 CET
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: TechDraw - insert of section view - possible bug ?

Post by user1234 »

I also have no issues with that, works for me flawless.
maker wrote: Mon Jun 13, 2022 6:32 am

Code: Select all

Source RPM  : FreeCAD-0.20~pre.1646889299.c2055689a5-lp153.29.2.src.rpm
Build Date  : Do 10 Mär 2022 14:07:53 CET
When i search in openSUSE package homepage about that, i find only different number 1648428098. Even then, the number is useless, we need a version number (example: 0.20.29165 or a commit hash. On the openSUSE homepage about the package, nothing is written about that. Even it was updated 3 months ago, the version can be still very old.

Greetings
user1235
Post Reply