-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Race condition between Asm3 and Ext. Geo. constraints may lead incorrect solutions #102
Comments
I don't think that is a problem of the program. This is the binder update cycle I talked about. For a correctly constrained system, the binder will eventually stop moving. What's your expected behavior? |
Will that happen when "the" calculated difference is below the float precision? If that's the case, this is something that impacts the performance if sub-shape binders are heavily used (like in my case) since it has a lot of re-computations.
I'm thinking on this now. |
IMPORTANT Note to myself (and further users): Removing Asm3 constraints might (will) lead to incorrect solutions which will ruin your design (I remember @realthunder said something like that before, but I can't remember on which topic that was) |
Really? I didn't remember either? Ruin your design, how? I am sorry, I am busy investigate some other bug, so didn't follow the binder issue, yet. |
"Ruining" will depend if you spot the issue or not. If you can't realize that some parts are moved without your intention, it will lead a ruined model. In my case, a part is moved too much so that I could spot the change immediately and enabled those asm3 constraints, now everything is back to normal. |
Ah, I see. Yes, as long as there is DOF left, it is possible and in fact legal for the solver to move your parts. Even if there is no DOF left, there may be multiple solutions, such as different orientation of the part that all fit the constraints. You may want to freeze an assembly whenever possible. |
Another note to further readers (and myself): If sub-shape binder jumps whatever you do (i.e. update it with its source, recreate, etc.) check the race condition between external geometry and asm3 constraints. If external geometry wants to draw an object in a position and asm3 (solvespace) wants to move the part, asm3 moves the part and the subshape binders. In other words, when sub-shape binder is used for external geometry constraints source and resulting object's placement is changed by asm3 constraints, this possibly creates a race condition. ExampleIn the picture below, the
|
Closing as this is an old issue and things have been changed dramatically in the newer version, which makes the issue impossible to reproduce. |
Reproduction and an example will be added soon.
There is a situation I guess caused by indirectly redundant constraints. Currently not harmful, I'm handling them.
At step 4, the B's top surface is in a different location than top surface of A, I think because:
Current Workaround
Delete/disable Asm3 constraint and let the PartDesign's EX handle the relocation.
The text was updated successfully, but these errors were encountered: