[Solved] 0.19pre, hidden line style setup do not work

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

[Solved] 0.19pre, hidden line style setup do not work

Post by fc_tofu »

version: FreeCAD_0.19.19510_x64_LP_12.1.2_PY3QT5-WinVS2015
os: win10 x64

Reproduce
1. Preferences>TechDraw>TechDraw Dimensions>Conventions, set "Hidden line Style" as "Dashed".
2. Restart FreeCAD.
3. Nothing changes.
fsc_2020-02-10_181141.jpg
fsc_2020-02-10_181141.jpg (113.6 KiB) Viewed 589 times
It's my first time using this function, maybe its design intention is not what I imagine.
Attachments
test.FCStd
(17.45 KiB) Downloaded 34 times
Last edited by fc_tofu on Sun Feb 23, 2020 3:56 pm, edited 1 time in total.
Syres
Veteran
Posts: 2899
Joined: Thu Aug 09, 2018 11:14 am

Re: 0.19pre, hidden line style setup do not work

Post by Syres »

I can confirm that I could change that setting (in a slightly different layout) with build 0.19.19358, using 0.19.19503 it appears to not be reading and writing the parameter correctly. As a workaround, in Tools, Edit Parameters, expand BaseApp\Preferences\Mod\Techdraw\General and find HiddenLine in the right pane and change the integer to 2 in your case. Now your hidden lines should be the correctly represented.
I'll have to leave the proper fix to the C++ gurus.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19503 (Git)
Build type: Release
Branch: master
Hash: bb189d540cb958e63af44347a244188fae217e93
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)

Edit: Simpler workaround
User avatar
wandererfan
Veteran
Posts: 6317
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: 0.19pre, hidden line style setup do not work

Post by wandererfan »

fc_tofu wrote: Mon Feb 10, 2020 10:22 am It's my first time using this function, maybe its design intention is not what I imagine.
Confirmed. Cut & paste can be an evil thing. :oops: Fix soon.
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre, hidden line style setup do not work

Post by fc_tofu »

Your workaround works on my machine, thanks.
fsc_2020-02-11_000807.jpg
fsc_2020-02-11_000807.jpg (15.31 KiB) Viewed 540 times
User avatar
wandererfan
Veteran
Posts: 6317
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: 0.19pre, hidden line style setup do not work

Post by wandererfan »

fc_tofu wrote: Mon Feb 10, 2020 10:22 am 1. Preferences>TechDraw>TechDraw Dimensions>Conventions, set "Hidden line Style" as "Dashed".
2. Restart FreeCAD.
3. Nothing changes.
Should be fixed by git commit b4943c1f08
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: 0.19pre, hidden line style setup do not work

Post by fc_tofu »

wandererfan wrote: Fri Feb 14, 2020 1:03 pm
fc_tofu wrote: Mon Feb 10, 2020 10:22 am 1. Preferences>TechDraw>TechDraw Dimensions>Conventions, set "Hidden line Style" as "Dashed".
2. Restart FreeCAD.
3. Nothing changes.
Should be fixed by git commit b4943c1f08
In recent build, this bug is removed:
FreeCAD_0.19.19697_x64_Conda_Py3QT5-WinVS2015
Post Reply