Sketcher: Switch line side for angle constraint

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Sketcher: Switch line side for angle constraint

Post by Joel_graff »

Is there a way to switch which side of a line the angle constraint is fixed upon? In this case, it's reading the obtuse angle, and I need it to read the acute angle:
Capture.JPG
Capture.JPG (41.37 KiB) Viewed 1254 times
I realize I can adjust it by subtracting the value from 180 degrees, but it's not really ideal.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
dbecad
Posts: 80
Joined: Fri Mar 16, 2018 11:10 pm

Re: Sketcher: Switch line side for angle constraint

Post by dbecad »

Just tried with 0.17, and you can create a construction line on the other acute side (with coincident constraints to keep it in place while your edit the rest of your sketch) and measure the angle from the construction line to your geometry line. Not super practical, but it works.
Cheers
User avatar
Joel_graff
Veteran
Posts: 1949
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Sketcher: Switch line side for angle constraint

Post by Joel_graff »

dbecad wrote: Tue Apr 10, 2018 4:16 pm Just tried with 0.17, and you can create a construction line on the other acute side (with coincident constraints to keep it in place while your edit the rest of your sketch) and measure the angle from the construction line to your geometry line. Not super practical, but it works.
Cheers
Hmmm... Seems like fodder for a feature request to me .:)

Still, interesting approach. I'll give it a shot. Thanks.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
tomsaw
Posts: 8
Joined: Mon Jun 03, 2019 7:22 am
Location: Essen Germany
Contact:

Re: Sketcher: Switch line side for angle constraint

Post by tomsaw »

Is there a solution so far???
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Sketcher: Switch line side for angle constraint

Post by GeneFC »

tomsaw wrote: Mon Jan 10, 2022 5:54 pm Is there a solution so far???
This topic is nearly 4 years old. The Sketcher WB has under gone a huge number of changes since then. If you are serious it is mandatory to test with a very recent FC version 0.20.xxxxx

Gene
Post Reply