Search found 179 matches

by Turro75
Sun Jul 15, 2018 8:55 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

@Turro75: I'll most likely play around with your solver a little more after your proposals. Thank you for your added explanations. I think I've understood the base of your concept. And it's equal with my experience for my first constraints and for when I wrongly mixed best FATHER and SON relation. ...
by Turro75
Sun Jul 15, 2018 8:47 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

I will change it as if it fails to solve in this way it reverts to original solver. Hi @Turro75. Please ensure optimized solver falling back to original one on failure. This is highly appreciated as solver has to work always and has not to fail in special cases. If i get a modified version which is...
by Turro75
Sun Jul 15, 2018 2:21 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

Thanks Manuel for your testing the reason of the failure are pretty clear to me, first let me explain the output of the solver: it starts analysing all constraints in the assembly by setting an object as SON this is second object selected when constraint has been created, its position is relative to...
by Turro75
Sat Jul 14, 2018 11:02 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

1) in an assembly at least one part must be marked as fixed 2) when creating a constraint always select as first the reference object and then the object that must be moved. 3) manually pay attention to recursive constraint creation I don't agree with you're points... at least first 2 not. The fist...
by Turro75
Sat Jul 14, 2018 4:44 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

@Turro75, please HELP ! I am trying to reassemble my platform-testfile (attached again). The file is my previous version i assembled before. It works with your optimized algorithm in this state. When i delete all constraints and reassemble it following your rules, in early state solver failure happ...
by Turro75
Sat Jul 14, 2018 1:48 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

There is a problem, locking position of an object should be done according to degrees of freedom and not on status of the fathers. May be when DOF will be introduced (required for animation) it will be fixed even this problem. Hi @Turro75, did you already register a solver failure caused by your st...
by Turro75
Sat Jul 14, 2018 1:31 pm
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

Happy to ear that! Let me explain a little deeper what I modified: The solver is left untouched the only modification is that it solves constraints_reduced and rigids_reduced instead of constraints and rigids. I splitted loadsystem to subroutines which create a limited set of constraints involved in...
by Turro75
Sat Jul 14, 2018 10:28 am
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

I know it's not easy at all. Then falling down in the Hamish's algorithm could be an option but I think it will invalidate the your solver works. I could say an easy way could be evaluating the impact of a constraint over an obj. I.e. Circular edge locks 5dof but 1 axis rotation is left free. Lock r...
by Turro75
Sat Jul 14, 2018 9:40 am
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

continue.... then I constrained all items in a chain according to rule1 at some point I inserted an angle constraint in the middle, it is quite fast on recalculating NEW LOGIC test Angled in between.PNG and then I I constrained all objs in "reversed" so no constraint match rule1 at some po...
by Turro75
Sat Jul 14, 2018 9:30 am
Forum: Assembly
Topic: Another approach to assembly solver (A2plus)
Replies: 1842
Views: 520188

Re: Another approach to assembly solver (A2plus)

Hello Kbwbe, I reworked the logic of the solver in order to handle priorities and referenced objs. I attached the solversystem.py feel free to test it. how it works: 1) it checks for every constraints where the obj2 depends on other (a "father") if all fathers of an object are already calc...