Sketcher angle constraint feature request

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Joel_graff
Posts: 616
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Sketcher angle constraint feature request

Postby Joel_graff » Mon Apr 23, 2018 12:39 pm

It would be helpful to have an equal-angle constraint, which ensures the angle between one pair of lines is equal to the angle between another pair.

The easiest way to implement it would simply be to create a reference constraint between one pair, and use it in an expression to create a locking constraint between the other pair. But, of course, that functionality was removed a version or two back, it seems.

Otherwise, it's complicated by two key issues:

1. Four lines have to be selected which form coincidentally-constrained pairs (point-to-point or point-to-object).

2. Control over the constraint must be provided to ensure the correct angles are being matched (i.e., determine which side of the line the angle is applied). This is an issue only if the controlling angle is on a pair of lines which have point-object coincidence (not point-to-point). Otherwise, defaulting to the inside angle where the line endpoints are coincident is probably the best way to go.

That actually leads me to another feature request. :)

There should be a way, when constraining two lines that intersect each other, which angle should be considered constraining. To that end, I would suggest the following:

1. User selects the lines which are to be constrained
2. User selects the angle constraint
3. User may then:
a. right-click - the angle constraint does what it currently does with no change
b. left click on two end points (one on each line) to determine the angle which is constrained, and the constraint is applied
c. mouse over the two lines and have the UI highlight the angle in the quadrant where the mouse lies. User left-clicks once to apply the constraint to the highlighted angle.

Sorry for the length / complexity of the post (with no pictures). I can try to provide a more visual and detailed explanation of what I'm thinking (in a separate post) , assuming this isn't something that's already been addressed.
dbecad
Posts: 80
Joined: Fri Mar 16, 2018 11:10 pm

Re: Sketcher angle constraint feature request

Postby dbecad » Mon Apr 30, 2018 12:34 am

Regarding the second point the description looks much more complex than the usage, if you are thinking about a fusion like angle choice then this has a great usability.
angle.gif
angle.gif (486.98 KiB) Viewed 133 times
Cheers
Joel_graff
Posts: 616
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Sketcher angle constraint feature request

Postby Joel_graff » Mon Apr 30, 2018 11:36 am

dbecad wrote:
Mon Apr 30, 2018 12:34 am
Regarding the second point the description looks much more complex than the usage, if you are thinking about a fusion like angle choice then this has a great usability.
That's exactly what I'm after. Without something to reference, I had to invent something that seemed reasonable.

If what you show can be done in FreeCAD, I like that a lot. :)