CAD_Sketcher
CAD_Sketcher copied to clipboard
Dist from curve (solvesys version)
I believe this is the droid you were looking for. There are two things left to do tomorrow: First, the Horizontal/Vertical alignment is not correct. The helplines are drawn slightly off the target. Second, when adjusting the distance via the context menu, negative values are impossible. It seems as if the circle and line should pass thru each other rather than bounce off. Is this what the "Flip" feature is supposed to correct for? Third, Arcs will require special treatment. I figure the Arc will act like the Circle within its domain, but outside that, the appropriate arc endpoint becomes one end of a Point->Line constraint.
Second, when adjusting the distance via the context menu, negative values are impossible. It seems as if the circle and line should pass thru each other rather than bounce off. Is this what the "Flip" feature is supposed to correct for?
Exactly, negative values are not allowed but the flip property can be used to define the direction of the distance, see: https://github.com/hlorus/CAD_Sketcher/commit/cb5cfe0d905ba3b1e1ed0e103fdf27e3939b43da
Third, Arcs will require special treatment. I figure the Arc will act like the Circle within its domain, but outside that, the appropriate arc endpoint becomes one end of a Point->Line constraint.
Not sure, IMO arcs should just work the same as circles, otherwise there would likely be some wired behavior when you drag things around... the gizmo should somehow communicate that it constrains to the arcs radius when it's not inside the "domain" though.
Something might have gotten wrong when updating, at least i don't see the changes yet that you've marked as resolved...
@exegetor I've pushed a fix to the dist_from_curve branch regarding the problem with the helplines. Would you mind giving it a quick test?
Merged in: https://github.com/hlorus/CAD_Sketcher/commit/07362c2affc993c99e873137f88827c3ba1cb3d6