Problem : dimensions disconnected from the form

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Problem : dimensions disconnected from the form

Post by Shalmeneser »

:o :?:
1) Dimensions are disconnected from the form in View001. Saving and reopening have solved the problem.

2) The page sides are sometimes (visually) shredded (different files).

Code: Select all

OS: Windows 10 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.21.30922 (Git)
Build type: Release
Branch: master
Hash: 8ec1279ea8ee32a36fae683b42b5cfc5821734b5
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners 0.4.16
  * fcgear 1.0.0
  * Manipulator 1.4.9
  * sheetmetal 0.2.58
Attachments
ComplexSketch_SHALM.FCStd
(117.59 KiB) Downloaded 25 times
Capture d’écran 2023-03-04 141754.jpg
Capture d’écran 2023-03-04 141754.jpg (69.97 KiB) Viewed 649 times
rich61
Posts: 156
Joined: Sat Jul 20, 2019 9:56 am

Re: Problem : dimensions disconnected from the form

Post by rich61 »

Not sure it is related, but there was a bug in RealThunder Branch similar to that. It was fixed.

Try to set the view001 x,y position to (0,0). Might all line up.

https://github.com/realthunder/FreeCAD/issues/611
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problem : dimensions disconnected from the form

Post by wandererfan »

Shalmeneser wrote: Sat Mar 04, 2023 1:26 pm :o :?:
ComplexSketch_SHALM.png
ComplexSketch_SHALM.png (62.13 KiB) Viewed 519 times
Your file works fine with this version:

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32112 (Git)
Build type: Unknown
Branch: master
Hash: 0cea42dfd840c34720c309979f5c04c26c6eefa5
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * sheetmetal 0.2.59
  * FreeCAD_Electric
  * Assembly4 0.12.4
  * A2plus 0.4.56a
Usually, when things are in the lower left corner when they should be somewhere else is caused by their position being set before they are
added to the scene.

The issue with the page boundary looks like a Qt boundingRect() problem, but we haven't had that kind of issue for a long time.

Was this file built by a script? An old version of FreeCAD?
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Problem : dimensions disconnected from the form

Post by Shalmeneser »

@wandererfan :

> Usually, when things are in the lower left corner when they should be somewhere else is caused by their position being set before they are added to the scene.
IIRC, I was playing with X and Y of the view, after havig set the dimensions.
I didn't find how to correct this but a save/reopen cure it.

> Was this file built by a script?
NO

> An old version of FreeCAD?
version in 1st post
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Problem : dimensions disconnected from the form

Post by Shalmeneser »

I can see the shredded border when I move some of the Page outside/inside of the screen.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Problem : dimensions disconnected from the form

Post by wandererfan »

Shalmeneser wrote: Mon Mar 06, 2023 11:15 pm
Can't duplicate problem in this version:

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.30922 (Git)
Build type: Unknown
Branch: SHALM
Hash: 8ec1279ea8ee32a36fae683b42b5cfc5821734b5
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * sheetmetal 0.2.59
  * FreeCAD_Electric
  * Assembly4 0.12.4
  * A2plus 0.4.56a
Will try to get a Windows/Py3.10/Vtk9 version built.
Post Reply