OS: Ubuntu 16.04.2 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.10064 (Git)
Build type: None
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Yes, I just tried it again using the above daily.
Sometimes the cursor indicator H or V for Horizontal and Vertical Constraints (not distance) didn't appear until I hovered the cursor over and edge so that it was pre-selected. The behavior is intermittent and I haven't figured out a way to reproduce it yet.
I added the red text into your quote so that I could reference them in my reply:
jnxd wrote:how do you imagine the workflow should go if you want both one-point and two-point selection. Say we have 2 points A and B to each constraint wrt the origin. The way you want it is
Scenario 1 (Constrain two different points a vertical or horizontal distance to the origin)
1. you press the button and now you are in the selection mode
2. you select point A, immediately the box pops up, you enter details
3. you select point B, immediately the box pops up, you enter details
Scenario 2 (Constrain two different points a vertical or horizontal distance to each other)
Now imagine you at some other point, with the same selection structure in place, wanted to constraint the horizontal dist bet points A and B. How do you want that to pan out?
Unless there is a way for the user to let Sketcher know whether the Length pop-up should appear after one point is selected or if that should wait until the second point is selected, we can't have both Scenarios (but I suppose a key press could serve that purpose, if you decide to implement it).
jnxd wrote:I should be putting in my mode as optional and add the option in preferences so that people can at least opt out/opt in.
Maybe the user would want to change modes more often, depending on whatever Sketch is open.
What do you (and anyone else who cares to ring in) think about a toggle button in the Sketcher Constraints toolbar instead?
Or maybe clicking a Constraint Button first, while no geometry is selected, enables Continuous Mode? This way the user could select say, the Coincident Constraint, do a Box Selection in the 3D view of some points / vertices, and upon release of LMB the Coincident Constraint is applied and Continuous Mode remains enabled. Just putting up some ideas here as I'm fiddling around with Sketcher...