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
Parallel constraint against assembly fails rank test in workplane #21
Comments
@Evil-Spirit Why does this happen? |
@whitequark, Constraint is created in workplane, somehow. I've tried to create POINTS_COINCIDENT and get strange behaviour. |
Ahhh! We need a better error message for this. Why does it say redundant and not unsolvable? As to why it's created in workplane, this is because a workplane is active. |
@Evil-Spirit Can you explain why the rank test fails in this case, and maybe how we can present a better message? |
@whitequark, I think we can't distinguish here without additional checking. This case is the same as for two parallel segments and pt-pt-coincident of points of the same segment. In this case we have the same derivatives for different points (since this is the same point for solver after subsitution). This results in linear dependency inside Jacobian matrix. As solution, we just can perform some tests before solving and report more informative messages. This case already tested for 2d ("zero-length-edge"), |
@Evil-Spirit please implement this check |
The attached example has one constraint, and it fails:
IMHO the constraint can not be redundant because there is only one constraint:
Removing the c00b-parallel constraint gains 6 DOF:
I am running SolveSpace version 2.1~dce90646 on Fedora 24.
demo_parallel_constraint.zip
The text was updated successfully, but these errors were encountered: