-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling redundant constraints #444
Comments
I have the same problem. Did you find a solution by any chance? |
No, I still remove them one by one until I find the offending combination :) |
We're limited by the capability of the solver which doesn't mark the offending constraints unfortunately. There was a recent addition to avoid creating the same constraints multiple times at least, see: |
Is this something we could bring up with the solvespace people? I don't know a single thing about the CAD sketcher implementation, but I guess it would be a sensible feature for a solver to offer this kind of feedback on a failure. |
I just tried Solvespace for the first time, using it is a breeze because I already know how to use CAD sketcher :) However, Solvespace actually is able to indicate the source of redundant constraints, it tells me to "remove any of these to fix this" and shows a list of the constraints causing the conflict. This suggests that the info is available in solvespace itself, so the question would be how to get that out and propagate it to CAD sketcher, right? In solvespace the case
This suggests the required info should be available at this point, but I'm not sure if this is all available through the Python binding of course. |
Solvespace unfortunately doesn't ship python bindings. We're using this python library by realthunder which has some memory improvements but also seems to be pinne to a rather old version of solvespace. |
Every now and then I run into the problem where the solver tells me I have redundant constraints; no constraints are specifically marked, so the only way to solve this for me is to remove them one by one until I find the offending combination.
This is quite cumbersome, and I'm sure I'm doing something wrong here. What's the proper way to handle this situation?
The text was updated successfully, but these errors were encountered: