Techdraw WB - Leader Auto Horizontal

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
gsandy
Posts: 276
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Techdraw WB - Leader Auto Horizontal

Post by gsandy »

In preferences I have un-ticked "Leader Line Auto Horizontal" but when I create a leader at an angle, save it and exit command the leader defaults back to horizontal! I then have to-un tick the "Auto Horizontal" and edit the leader points to get it at an angle. This happens with all leaders.

Is it me or a problem with the Techdraw WB?

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25844 (Git)
Build type: Release
Branch: master
Hash: 1b20118dfa3fb9f127f0e4fb122701f7fcdaa9fc
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/New Zealand (en_NZ)
Attachments
Snap 2021-10-03 at 11.58.36.png
Snap 2021-10-03 at 11.58.36.png (16.68 KiB) Viewed 4821 times
Snap 2021-10-03 at 11.59.32.png
Snap 2021-10-03 at 11.59.32.png (67.51 KiB) Viewed 4821 times
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw WB - Leader Auto Horizontal

Post by chrisb »

This was already reported recently. Can you check if there is a tracker entry?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw WB - Leader Auto Horizontal

Post by chrisb »

Moved to TechDraw forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw WB - Leader Auto Horizontal

Post by chrisb »

There is an error in the Preferences->TechDraw->Annotations dialog. Looking at the parameters, the preferences are saved in TechDraw->LeaderLine->AutoHorizontal, where they are ignored. If I use TechDraw->LeaderLines->AutoHorizontal it works as expected.
This conforms to what Wandererfan says here: https://forum.freecadweb.org/viewtopic.php?f=3&t=42651.

In my config there are even more similar names used, which shows that there must have been more erroneous versions out there.
Bildschirmfoto 2021-10-03 um 14.26.01.png
Bildschirmfoto 2021-10-03 um 14.26.01.png (39.69 KiB) Viewed 4615 times
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.25844 (Git)
Build type: Release
Branch: master
Hash: 1b20118dfa3fb9f127f0e4fb122701f7fcdaa9fc
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw WB - Leader Auto Horizontal

Post by chrisb »

edi can you have a look or shall we create a ticket. Currently there is none.
edi wrote: pinged by pinger macro
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
gsandy
Posts: 276
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Techdraw WB - Leader Auto Horizontal

Post by gsandy »

Thanks chrisb for the response, sorry about the delay in responding (didn't get the notification!).
edi
Posts: 481
Joined: Fri Jan 17, 2020 1:32 pm

Re: Techdraw WB - Leader Auto Horizontal

Post by edi »

chrisb wrote: Sun Oct 03, 2021 12:27 pm edi can you have a look or shall we create a ticket. Currently there is none.
Sorry for late answering.
Please create a ticket. I use my whole time capacity for realizing the TechDrawTools in C++. But it looks good. 22 tools, out of 38, are finished till today. Hope the pull request can be posted in a few weeks.
gsandy
Posts: 276
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Techdraw WB - Leader Auto Horizontal

Post by gsandy »

edi look forward to receiving the post.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw WB - Leader Auto Horizontal

Post by Shalmeneser »

edi wrote: Thu Oct 21, 2021 6:35 am 22 tools, out of 38, are finished till today. Hope the pull request can be posted in a few weeks.
:D
gsandy
Posts: 276
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Techdraw WB - Leader Auto Horizontal

Post by gsandy »

I have sorted out what I was doing wrong!
I was just picking two points for the leader instead of three. Once I added the third point to create a short horizontal "tag" the "3 point/2 line leader" stayed in the picked position.
Post Reply