TechDraw screwing up dimensions added to View/ArchView

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Deffe
Posts: 29
Joined: Sun Nov 22, 2020 1:16 pm
Location: Belgium
Contact:

TechDraw screwing up dimensions added to View/ArchView

Post by Deffe »

Hi,

I'm wondering why the placement of dimensions lines always get screwed up when reopening an earlier created and saved drawing.

To get a nice top view drawing in TechDraw of a building floor I need to create a View and a ArchView and place both on top of each other.
Need to tailor both views to fit on the page and also to overlap each other completely.
I lock both views (hint from somebody on an earlier question).
Hide the ArchView and add all needed dimensions to the View drawing.
When that is done, make the ArchView visible again.
Now I have a nice top level, 2D, drawing of a floor with all measurements in place.
Safe the whole design
Quickly make a SVG and PDF from the just created drawing because .....
When I close FreeCad and restart working the next day or so, opening the drawing shows all dimension lines positioned somewhere else/ thrown on a pile, ....
To get the nice tech drawing with dimensions back I need to delete all dimension lines and restart the whole process of placing dimensions on a drawing.

I also tried to set the "Keep Updated" option of the page to false but that does not help at all.

Anybody, any hint?
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: TechDraw screwing up dimensions added to View/ArchView

Post by Roy_043 »

I cannot reproduce this with my quick, and small, test. Note that working on the model, f.e. adding a window, will most likely mess up the dimensions. But merely reopening the file does not do this.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.24893 (Git)
Build type: Release
Branch: master
Hash: 03855f793feaceeb4385c02f6520f3e1b6429c93
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Dutch/Netherlands (nl_NL)
Attachments
view-archview-dim-test.FCStd
(41.15 KiB) Downloaded 59 times
Shadow
Posts: 11
Joined: Fri May 12, 2017 10:40 pm

Re: TechDraw screwing up dimensions added to View/ArchView

Post by Shadow »

Is this true with 0.20.1?
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw screwing up dimensions added to View/ArchView

Post by wandererfan »

Deffe wrote: Tue May 18, 2021 7:30 am I'm wondering why the placement of dimensions lines always get screwed up when reopening an earlier created and saved drawing.
Can you provide a file that shows the problem?

If I had to guess without seeing anything, I would say that the shape of the View's Source object (Arch Section?) does not have the identical geometry when it gets built the second time. I don't use Arch very often so I could be talking rubbish.
edwkmho
Posts: 3
Joined: Tue Sep 13, 2022 4:23 am

Re: TechDraw screwing up dimensions added to View/ArchView

Post by edwkmho »

I am experiencing the same problem you have described with the dimension.


OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/Malaysia (en_MY)
Installed mods:
* BIM 2021.12.0
* dodo
* fasteners 0.4.12
* parts_library
* Reinforcement
* Reporting
* WebTools

I am stuck hope someone can help to find a solution to this. Thanks.
Attachments
test.pdf
before reload and save the file
(464.51 KiB) Downloaded 36 times
OH-v3.1.FCStd
reload the page dimension all messed up
(855.74 KiB) Downloaded 34 times
Deffe
Posts: 29
Joined: Sun Nov 22, 2020 1:16 pm
Location: Belgium
Contact:

Re: TechDraw screwing up dimensions added to View/ArchView

Post by Deffe »

As you asked Wanderfan and to join the example of the issue posted by edwkmho, here two versions of the same drawing.
Level of a floor plan with measurements and text added in: Grees36-GelijkvloersPage_1.pdf. The same floorplan, but now I removed a wall in the top-right corner room and all measurements just gets screwed-up: Grees36-GelijkvloersPage_2.pdf I can expect that the measurement lines in the top-right room of the plan get mingled due to the removal of the wall but what we see is that everywhere in the drawing measurement lines get moved and replaced.

Now I deleted a wall, pretty big change, but it can be as small as moving a door a couple of centimeters to the left or right.


OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 0d9536ed3e8c7f40197b5606e1b7873625e1d6fe
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United Kingdom (en_GB)
Attachments
Grees36-GelijkvloersPage_2.pdf
(316.33 KiB) Downloaded 36 times
Grees36-GelijkvloersPage_1.pdf
(316.4 KiB) Downloaded 32 times
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: TechDraw screwing up dimensions added to View/ArchView

Post by wandererfan »

As far as I can tell, this has nothing to do with saving/restoring.

If I change the dimensions of Wire001 in GrdFloor.ExternalWall, all the Edges get renumbered, even though nothing has been added or deleted. Renumbering the edges makes the dimension references invalid/incorrect.

Not sure of a solution at the moment.
Attachments
OH-v3.1_DimShiftMWE.png
OH-v3.1_DimShiftMWE.png (25.02 KiB) Viewed 1538 times
edwkmho
Posts: 3
Joined: Tue Sep 13, 2022 4:23 am

Re: TechDraw screwing up dimensions added to View/ArchView

Post by edwkmho »

Yes, it has nothing to do with the reload of the freecad file.

As far as the 3D model is not disturbed or changed in any way the dimension in the techdraw page will be okay.
edwkmho
Posts: 3
Joined: Tue Sep 13, 2022 4:23 am

Re: TechDraw screwing up dimensions added to View/ArchView

Post by edwkmho »

How can i overcome this issue without having to redo the dimension when i make changes to the drawing.

Please help. Thanks.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: TechDraw screwing up dimensions added to View/ArchView

Post by chrisb »

edwkmho wrote: Wed Nov 02, 2022 4:30 am How can i overcome this issue without having to redo the dimension when i make changes to the drawing.
Currently you can't.
Please note that the notion of a "drawing" is used for such thing as created by TechDraw, which you can print on paper. The 3D thing you create using the other workbenches is rather called a "model".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply