-
Notifications
You must be signed in to change notification settings - Fork 511
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
"Show Degrees of Freedom" command highlights more points than degrees of freedom #256
Comments
The problem here is that you're overconstraining the sketch. Once you get the "SOLVE FAILED! redundant constraints" error message, click the "allow redundant constraints" link in the property browser.
The fact that it works here is a bug; it should always error out as the sketch is overconstrained. This is fixed in master. |
Thanks much. I understand what you mean, but to reason out what inside made it overconstrained was a bit confusing. I scratched my head a good bit about this one, but think I finally stumbled upon a few brain cells somewhere inside my skull. Maybe the following is what you are saying is what's happening?
Wonder if this is a correct explanation .. Is it? If this is correct, then some improvement in the UI showing degrees of freedom may perhaps help? Thinking aloud some suggestions: Currently, when you click "Show Degrees of Freedom", it highlights points that can move. But if there are three points highlighted, that's not mean three "Degrees of Freedom"! That only means there are three points that are "Not Fully Constrained" Maybe another way to Show Degrees of Freedom might be to show (short segments of) lines on orthogonal axes at each point which can move in certain (arbitrary) axes. A point with one degree of freedom will have one arrow, and one with two degrees of freedom will show two orthogonal arrows. (of course, there are many different orthogonal pairs of arrows possible ... pick one arbitrarily). Also, lets say there are two points that can move, but each one is dependent on the other .. if you move one, you are fully constraining they other. (eg. line ends with midpoint fixed on sheet origin). Then only one point should be highlighted as a Show Degrees of Freedom, showing one arrow, along the line. Maybe other point can be highlighted when asked to Show an Alternative Degree of Freedom. (and so on . cycle if there are more than two points that are not fully constrained). Currently whats called Show Degrees of Freedom is really not degrees of freedom, but really points that are (taken individually in isolation) "Points Not Fully Constrained". Three points that are not fully constrained does not mean there are three degrees of freedom. But the UI menu label "Show Degrees of Freedom" suggests that incorrect meaning very strongly. Just a suggestion, hope it is useful. -- //Shrikumar |
@jwesthues What do you think about renaming "Show Degrees of Freedom" to "Show Underconstrained Points" or something like it? |
Sounds reasonable to me, indeed perhaps clearer. |
Fixed in 88879d3. |
System information
solvespace 2.3+repack1-2~bpo8+1
Operating system: (e.g. Debian testing) debian/jessie
Expected behavior
I should be able to make a circle by melding together two arcs.
Actual behavior
If I use constraints to meld two arcs together, it fails, in different ways.
I can do it by mousing one center to the other just fine.
Sometimes I can do it by setting separation distance == 0. But somtimes not.
But I cant evet get the solver to join the centers together by pts-coincident.
What actually happened?
Please see attached solvespace file, and reproduce this:
I had also tried these separately on an empty sketch, with no superflous adds, deletes and edits .. just draw two arcs, constrain end 1 to end 1. Then end 2 to end 2. Then constrain their centers coincident.
Boom!
Additional information
untitled.slvs attached.
reuleaux-triangle.zip
The text was updated successfully, but these errors were encountered: