Tangential dimensioning

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
PeterPNoster
Posts: 72
Joined: Mon Sep 02, 2019 8:24 pm
Location: Switzerland

Re: Tangential dimensioning

Post by PeterPNoster »

TD_TD_02.png
TD_TD_02.png (57.2 KiB) Viewed 2845 times
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Tangential dimensioning

Post by reox »

uhhhm :?
That is very odd - I even have a similar version:

Code: Select all

OS: Debian GNU/Linux bullseye/sid (i3/i3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20802 (Git)
Build type: Release
Branch: master
Hash: f4279f1bea8377a7ef63f7f4c69b67159d498965
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Austria (de_AT)
Did you select the edges in different order? (it should not matter, but who knows)
PeterPNoster
Posts: 72
Joined: Mon Sep 02, 2019 8:24 pm
Location: Switzerland

Re: Tangential dimensioning

Post by PeterPNoster »

Works like expected on:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20052 (Git)
Build type: Release
Branch: master
Hash: 6291921e9abe737e4440ff5814ca58547defadef
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Switzerland (de_CH)
NewWin.PNG
NewWin.PNG (35.84 KiB) Viewed 2805 times
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Tangential dimensioning

Post by reox »

wandererfan wrote: Fri May 08, 2020 10:26 am Version: 0.19.20802 (Git)
[...]
Version: 0.19.20943 (Git) AppImage
@wandererfan: Was something changed with respect to the cosmetic vertices?
I can confirm that 20802 vs 20943 has different results! Looks like the coordinates are flipped.
Is the conversation between drawing space and coordinate space not necessary anymore?
User avatar
wandererfan
Veteran
Posts: 6326
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Tangential dimensioning

Post by wandererfan »

reox wrote: Fri May 08, 2020 10:41 am @wandererfan: Was something changed with respect to the cosmetic vertices?
I can confirm that 20802 vs 20943 has different results! Looks like the coordinates are flipped.
Is the conversation between drawing space and coordinate space not necessary anymore?
getVertexByIndex() and getEdgeByIndex() now return drawing space coords.

https://www.forum.freecadweb.org/viewto ... 35&t=45705
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Tangential dimensioning

Post by reox »

wandererfan wrote: Fri May 08, 2020 1:12 pm
reox wrote: Fri May 08, 2020 10:41 am @wandererfan: Was something changed with respect to the cosmetic vertices?
I can confirm that 20802 vs 20943 has different results! Looks like the coordinates are flipped.
Is the conversation between drawing space and coordinate space not necessary anymore?
getVertexByIndex() and getEdgeByIndex() now return drawing space coords.

https://www.forum.freecadweb.org/viewto ... 35&t=45705
I see. that makes it obviously easier to calculate the coordinates but now I need to add some backwards compatability :mrgreen:
PeterPNoster
Posts: 72
Joined: Mon Sep 02, 2019 8:24 pm
Location: Switzerland

Re: Tangential dimensioning

Post by PeterPNoster »

Thanks!
Works flawlessly even with scale 2:1.
td_td_tan_line_line.png
td_td_tan_line_line.png (16.77 KiB) Viewed 2737 times
What about tan, LINE, line --> parallel to LINE?

To give the last leg a possibility to get realized in the real life. ;)
reox
Posts: 929
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Tangential dimensioning

Post by reox »

PeterPNoster wrote: Sat May 09, 2020 7:24 am What about tan, LINE, line --> parallel to LINE?
can you draw it in the sketch what dimension that should be? I can not really imagine :oops:
PeterPNoster
Posts: 72
Joined: Mon Sep 02, 2019 8:24 pm
Location: Switzerland

Re: Tangential dimensioning

Post by PeterPNoster »

Of course,
td_td_tan_line_line_sketch.png
td_td_tan_line_line_sketch.png (17.35 KiB) Viewed 2711 times
PeterPNoster
Posts: 72
Joined: Mon Sep 02, 2019 8:24 pm
Location: Switzerland

Re: Tangential dimensioning

Post by PeterPNoster »

Hello together,
Any plans to implement into the main branch?

Cheers,
PeterPNoster
Post Reply