[bug] Sketcher dimension numbers not visible from the back.
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: [bug] Sketcher dimension numbers not visible from the back.
@uwestoehr can you reproduce with the Windows build? Thx
Re: [bug] Sketcher dimension numbers not visible from the back.
Same build on another PC gives same result.
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30485 (Git)
Build type: Release
Branch: master
Hash: 8924e265c068c2446a091f84c83c8b1934451470
Python 3.8.8, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: Bulgarian/Bulgaria (bg_BG)
Installed mods:
* 3DfindIT
* 3D_Printing_Tools
* A2plus
* AirPlaneDesign
* ArchTextures
* Assembly4
* Autoload
* BCFPlugin
* BIM
* BIMBots
* bimtester
* BOLTSFC
* CurvedShapes
* Curves
* Defeaturing
* DesignSPHysics
* dodo
* DynamicData
* ExplodedAssembly
* fasteners
* fcgear
* kicadStepUpMod
* lattice2
* LCInterlocking
* MakerWorkbench
* Manipulator
* MeshRemodel
* MOOC
* nurbs
* ose-piping
* OSE3dPrinter
* Part-o-magic
* parts_library
* Plot
* Pyramids-and-Polyhedrons
* pyrate
* Reinforcement
* sheetmetal
* Ship
* Silk
* SlopedPlanesMacro
* symbols_library
* ThreadProfile
* trails
* workfeature
Re: [bug] Sketcher dimension numbers not visible from the back.
Dimension numbers always visible throughout using (Conda build maybe worth you trying to eliminate Coin version):kisolre wrote: ↑Sun Oct 02, 2022 11:05 am New file.
New sketch.
Draw rectangle.
Create dimension - Ok.
Rotate view from back - dimension number dissapears.
Create dimension while still looking from the back - dimension is created but the number is not visible.
Rotate view to front - both dimension numbers are visible.
Code: Select all
OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git)
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods:
* A2plus 0.4.56a
* Assembly3 0.11.3
* CfdOF 1.17.7
* Curves 0.5.4
* fasteners 0.3.51
* fcgear 1.0.0
* freecad.xray 2022.4.17
* Manipulator 1.4.9
* Plot 2022.4.17
* sheetmetal 0.2.57
* Silk 1.0.0
* timber
NVidia GeForce GTX 670
Code: Select all
09:58:22 OpenGL version is: 4.6 (4.6.0 NVIDIA 471.41)
09:58:22 Run Gui init script
09:58:22 Init: Running FreeCADGuiInit.py start script...
Exactly the same hardware but Linux boot partition also shows dimension numbers always visible:
Code: Select all
OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git)
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods:
* ThreadProfile 1.83.0
* A2plus 0.4.59
* Curves 0.5.8
* ExtremeProDark 1.0.4
* Plot 2022.4.17
* fasteners 0.4.6
* sheetmetal 0.2.57
Code: Select all
10:12:57 OpenGL version is: 4.6 (4.6.0 NVIDIA 470.141.03)
10:12:57 Run Gui init script
10:12:57 Init: Running FreeCADGuiInit.py start script...
Last edited by Syres on Mon Oct 03, 2022 9:15 am, edited 2 times in total.
Re: [bug] Sketcher dimension numbers not visible from the back.
We have seen similar things due to graphics card/driver issues. I don't know if OpenGL is involved here, but you may try to switch to "Software OpenGL".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [bug] Sketcher dimension numbers not visible from the back.
Can you check if you have perspective or parallel rendering enabled while sketching? IIRC sketcher also has some rendering issues when in perspective mode.
Re: [bug] Sketcher dimension numbers not visible from the back.
I'm totally unable to reproduce ATM.
As @Syres, I also wonder about the Coin version. I hope problem isn't introduced by 4.0.1.
Hopefully we have enough people to test and report.
As @Syres, I also wonder about the Coin version. I hope problem isn't introduced by 4.0.1.
Hopefully we have enough people to test and report.
Code: Select all
OS: Ubuntu 21.04 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.21.30511 +1 (Git)
Build type: Debug
Branch: textColor
Hash: 8bf7148ee0877a85a5cd82eafbfc845df1a6402d
Python 3.9.5, Qt 5.15.2, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: French/France (fr_FR)
Re: [bug] Sketcher dimension numbers not visible from the back.
Perspective shows another strange bug - when zooming in numbers become smaller and smaller until they disappear and only complete (without cut in the middle for the number) dimension line is visible. Same behavior from the back but without numbers - only space for them becomes smaller until it also disappears.adrianinsaval wrote: ↑Mon Oct 03, 2022 1:08 pm Can you check if you have perspective or parallel rendering enabled while sketching? IIRC sketcher also has some rendering issues when in perspective mode.
Tried some settings and found the problem - display settings/3d view/transparent objects = "Backface pass". If set to "One pass" numbers show properly. But this should not matter IMHO.
Now there is the perspective zooming of the numbers. Could there be some number size correction to keep them relative constant size when zooming in perspective mode which is set too high?
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [bug] Sketcher dimension numbers not visible from the back.
I don't know what's exactly the cause for the perspective bug but let's save that for the discussion for that bug. Sketcher was made to be used in parallel mode and I think it normally forces that mode when you edit a sketch. About backface pass, it kinda makes sense, I'm not sure in what situation you wouldn't want backface pass enabled? Perhaps it should be on by default and perhaps the option shouldn't be there anyways. Otherwise I'm not sure how this could be fixed.
Re: [bug] Sketcher dimension numbers not visible from the back.
Note for myself : due to scale computation here : https://github.com/FreeCAD/FreeCAD/blob ... #L436-L445