SolveSpace Logo SOLVESPACE -- parametric 2d/3d CAD
Examples
Tutorials
Features
Download
Reference
Technology
Library
Forum
Contact
USER FORUM

(you are viewing a thread; or go back to list of threads)

Constraint to stop lines crossing (by Phil)
I get that producing a valid shape given an arbitrary number of constraints is not a trivial problem; however, I cannot think of a single instance in which I have wanted the solution to be "invert some of the part so the edge lines cross". I would much prefer the Big Red Screen Of Impossibility.

Is there any way to set a constraint (global, groupwise, or even per-pair) to stop SolveSpace suggesting crossing lines as a solution? It appears to really, really love making those twists and resist them being undone.

Thanks!
Sun Oct 12 2025, 06:12:14
(no subject) (by Tom)
If it's possible to use a point-line distance constraint instead of point-point, then that will always keep the point on the same side of the line. That seems to discourage the twisting. If it does get twisted then check "relax constraints", drag it close to the configuration you want, and uncheck to see if it does better.
Sun Oct 12 2025, 09:50:14
(no subject) (by ruevs)
- Be in the tangled group
- Click on the group name in the property browser
- Click "relax constraints and dimensions"
- Untangle your sketch roughly to the shape you want
- Click "relax constraints and dimensions"

Making constraints that avoid "tangling" is hard(er). Read here
https://github.com/solvespace/solvespace/issues/76
Mon Oct 13 2025, 14:49:29
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2022 SolveSpace contributors. Most recent update June 2 2022.