In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Sanjay.T
Posts: 20
Joined: Wed Feb 17, 2021 4:46 pm

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by Sanjay.T »

Thank you Edi, Yes part is assembled in this file. So Will I have to live with this issue or is there any solution ? Many thanks.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by chrisb »

edi wrote: Tue Mar 09, 2021 1:01 pm It is a kind of the 'topo naming problem'. If the part has scale 1.0 the upper circle (diameter 16) is Edge34. After changing the scale to 2.0 the same circle is Edge26. The dimension keeps connected to Edge34.

I think it happenes, because your part has been imported from somewhere (a2plus ?) and therefore is a foreign object for TechDraw.
So I guess that TechDraw isn't scaling himself, it uses a scaled model and derives a drawing from it. Then this issue can occur with native FreeCAD objects as well.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by edi »

Sanjay.T wrote: Tue Mar 09, 2021 4:20 pm So Will I have to live with this issue or is there any solution ?
I recommend generating technical drawings in three steps:

1. create all drawings (views, sections, details) in the required scale and position them in the template.
2. add additional objects (center lines, cosmetic threads etc.)
3. add dimensions, annotations etc.

If you respect this 3 step rule your issue will not occure

Nevertheless a question: Why do you need A2Plus to create a single part? It can be done in Part-WB or PartDesign-WB.
Sanjay.T
Posts: 20
Joined: Wed Feb 17, 2021 4:46 pm

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by Sanjay.T »

edi wrote: Wed Mar 10, 2021 12:56 pm
Sanjay.T wrote: Tue Mar 09, 2021 4:20 pm So Will I have to live with this issue or is there any solution ?
I recommend generating technical drawings in three steps:

1. create all drawings (views, sections, details) in the required scale and position them in the template.
2. add additional objects (center lines, cosmetic threads etc.)
3. add dimensions, annotations etc.

If you respect this 3 step rule your issue will not occure

Nevertheless a question: Why do you need A2Plus to create a single part? It can be done in Part-WB or PartDesign-WB.
Thanks Edi for the Steps, I wanted the model file to contain only the solid geometry, so assembled into a new file and created all the required drawing items in this separate file.
knutb
Posts: 2
Joined: Tue Mar 02, 2021 7:41 am

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by knutb »

This effect is somethink very basic and has nothing to do with a2plus or similar. I've described it in my post where there are no responses to yet:

https://forum.freecadweb.org/viewtopic.php?f=35&t=56191

Obviously names of objects are reorganitzed after changes and this brings the references of the dimensions into trouble.
karlp
Posts: 5
Joined: Tue Feb 02, 2021 1:18 pm

Re: In Techdraw, Dimensions getting changed after changing view scale to 2:1 from 1:1.

Post by karlp »

Related, if create a techdrawing with a scale of 2:1, make it all nice, add dimensions, they show the expected (real) dimensions. If I then export to dxf, and open the file in qcad/librecad, and add a new dimension there, the new dimension is doubled. See eg: Image

I don't believe that should be the case?

Sample file available at: https://bin.jvnv.net/file/hgTv9/test-te ... ting.FCStd

Version info:
OS: Fedora 32 (Workstation Edition) (GNOME/gnome-xorg)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Post Reply