Draft toggle grid distorts the model view

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
balrobs
Posts: 449
Joined: Fri Apr 24, 2020 8:58 pm

Re: Draft toggle grid distorts the model view

Post by balrobs »

Roy_043 wrote: Sat Jun 18, 2022 1:32 pm I think I have found the cause of the issue and also the reason why not everybody was able to reproduce. It all depends on where you click the DatumPlane in the 3D view. If you click an edge the problem does not occur. If you click the face (which is an 'endless' plane) it does. So it is not related to the gridSpacing.
Wow, good catch ... confirmed!

Code: Select all

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29182 +1 (Git) Snap 72
Build type: Release
Branch: (HEAD detached at e4395a4bb7)
Hash: e4395a4bb7c492d1520f269ed576001bdb9389ca
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/United States (en_US)
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Draft toggle grid distorts the model view

Post by NewJoker »

Is it possible to solve this issue ? It also happens with the model from this thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=69809

distortion.PNG
distortion.PNG (49.15 KiB) Viewed 584 times

Indeed it occurs only when the face of the datum plane is selected for grid relocation. It's fine if the edge of the datum plane is selected. But still, it's a quite nasty bug since it persists until the datum plane is moved back to the origin and interferes with further operations.

Unamed1_distortion.FCStd
(29.99 KiB) Downloaded 9 times
chrisb
Veteran
Posts: 53921
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft toggle grid distorts the model view

Post by chrisb »

This looks like a visual thing which can usually be fixed with the FitAll icon.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Draft toggle grid distorts the model view

Post by openBrain »

chrisb wrote: Mon Jun 27, 2022 8:22 am This looks like a visual thing which can usually be fixed with the FitAll icon.
You should read the OP :lol:
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft toggle grid distorts the model view

Post by Roy_043 »

chrisb
Veteran
Posts: 53921
Joined: Tue Mar 17, 2015 9:14 am

Re: Draft toggle grid distorts the model view

Post by chrisb »

openBrain wrote: Mon Jun 27, 2022 8:24 am You should read the OP :lol:
Yes :oops: .
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Draft toggle grid distorts the model view

Post by NewJoker »

Great, thank you very much :-)

Too bad the original problem with similar model distortion but not related to the Draft workbench can't be fixed so easily:
https://forum.freecadweb.org/viewtopic.php?f=3&t=64833
Post Reply