[FIXED] TechDraw hatching makes dimensions hide behind the view

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
aapo
Posts: 617
Joined: Mon Oct 29, 2018 6:41 pm

[FIXED] TechDraw hatching makes dimensions hide behind the view

Post by aapo »

Hi!

I believe I've likely encountered a new TD bug: TechDraw hatching makes dimensions hide behind the view. The problem happens, when the user adds a dimension overlapping a View, adding a geometrical hatch on the same face, saving file and closing FreeCAD. When reopening FreeCAD and reloading the file, the dimension goes "under" the View, at least sometimes. The dimensions are overdrawn in pdf export, too, not just the TD Qt view. See the picture below, and the example file, please.

20220923 TD-RenderBug p01.png
20220923 TD-RenderBug p01.png (6.33 KiB) Viewed 786 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30398 (Git)
Build type: Release
Branch: master
Hash: b3dfdc568a92810449bf47bc73b6784d65dfa206
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Assembly4 0.12.4
  * Curves 0.5.8
  * Defeaturing 1.2.0
  * fasteners 0.4.6
  * FCGear 1.0.0
  * freecad.gears 1.0.0
  * Manipulator 1.4.9
  * Reinforcement
  * Render 2022.2.0
  * sheetmetal 0.2.57
  * ThreadProfile 1.83.0
  * toSketch 1.0.0
Attachments
20220923 TD-RenderBug.FCStd
(23.54 KiB) Downloaded 23 times
Last edited by aapo on Mon Sep 26, 2022 9:20 am, edited 1 time in total.
User avatar
wandererfan
Veteran
Posts: 6309
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [BUG?] TechDraw hatching makes dimensions hide behind the view

Post by wandererfan »

aapo wrote: Fri Sep 23, 2022 9:35 am I believe I've likely encountered a new TD bug: TechDraw hatching makes dimensions hide behind the view.
In the short term, go to the PropertyEditor View tab for the dimension, RMB, then ShowAll and change Stack Order to some large number. 100 should do it.

A proper fix to the stacking order will be along shortly.
aapo
Posts: 617
Joined: Mon Oct 29, 2018 6:41 pm

Re: [BUG?] TechDraw hatching makes dimensions hide behind the view

Post by aapo »

Thanks! :D
User avatar
wandererfan
Veteran
Posts: 6309
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: [BUG?] TechDraw hatching makes dimensions hide behind the view

Post by wandererfan »

aapo wrote: Fri Sep 23, 2022 9:35 am
Should be fixed after git commit 74c1fed8a6. You may need to manually adjust the Stack Order after loading a saved file.

I had overlooked that dimensions(and balloons) need to stack within their parent view.
aapo
Posts: 617
Joined: Mon Oct 29, 2018 6:41 pm

Re: [BUG?] TechDraw hatching makes dimensions hide behind the view

Post by aapo »

wandererfan wrote: Sat Sep 24, 2022 12:44 pm Should be fixed after git commit 74c1fed8a6. You may need to manually adjust the Stack Order after loading a saved file.

Confirmed fixed, everything works now as expected. Many thanks! :D

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30454 (Git)
Build type: Release
Branch: master
Hash: 5df954690787dedbbf3c35f658f010f388474676
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Assembly4 0.11.9
  * CurvedShapes 1.0.0
  * Curves 0.3.0
  * fasteners 0.3.38
  * fcgear
  * fcgear.bak
  * OpticsWorkbench 1.0.7
  * sheetmetal 0.2.49
Post Reply