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!
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Draft toggle grid distorts the model view

Post by drmacro »

thomas-neemann wrote: Fri Jun 17, 2022 3:12 pm
drmacro wrote: Fri Jun 17, 2022 3:04 pm Confirmed on Debian
...
are you using an nvidia graphics card?
The machine posted is radeon.

I just tested on a machine with invidia, same result. (Though I did note the default grid was set 0.0...)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Draft toggle grid distorts the model view

Post by bambuko »

thomas-neemann wrote: Fri Jun 17, 2022 3:12 pm ...are you using an nvidia graphics card?
I am using nvidia and I have no problems with it

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.20.29190 (Git) Snap 68
Build type: Release
Branch: master
Hash: 81be38ea8dcec49376b6ab8e08f4a85605639f8d
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * DynamicData 2.46.0
  * ToolViewReverse_ToolBar
  * sheetmetal 0.2.49
  * Manipulator 1.4.3
  * Assembly3 0.11.3
  * fasteners 0.3.40
  * ThreadProfile 1.81.0
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
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 »

Renaming user.cfg and restarting fixes the problem here.
Version info:
Roy_043 wrote: Fri Jun 17, 2022 12:57 pm
It seems to be related to the gridSpacing setting.
Last edited by Roy_043 on Fri Jun 17, 2022 3:50 pm, edited 1 time in total.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft toggle grid distorts the model view

Post by thomas-neemann »

drmacro wrote: Fri Jun 17, 2022 3:27 pm ...
can it be because of the kernel version? I use 5.4.0


edit
Roy_043 wrote: Fri Jun 17, 2022 3:30 pm ...
roy_43 has a solution
Last edited by thomas-neemann on Fri Jun 17, 2022 3:43 pm, edited 2 times in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Draft toggle grid distorts the model view

Post by openBrain »

Moved to Draft.
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Draft toggle grid distorts the model view

Post by drmacro »

Roy_043 wrote: Fri Jun 17, 2022 3:30 pm Renaming user.cfg and restarting fixes the problem here.
Version info:
Roy_043 wrote: Fri Jun 17, 2022 12:57 pm
That just looses all my settings and didn't fix it here.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
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 »

Thank you guys for confirming and investigating this bug. I created a GitHub report for it: issue #7043
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 »

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.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft toggle grid distorts the model view

Post by thomas-neemann »

Roy_043 wrote: Sat Jun 18, 2022 1:32 pm ...
confirmed
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft toggle grid distorts the model view

Post by thomas-neemann »

is there anything wrong with using a draft rectangle as a substitute for a datum plane?

Bildschirmfoto_2022-06-18_17-03-51.png
Bildschirmfoto_2022-06-18_17-03-51.png (44.01 KiB) Viewed 600 times


1703.FCStd
(9.53 KiB) Downloaded 10 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply