No, that's why I've written. The parts stick at the 80% (button active/ inactive). Although all parts are at 0, themselves, and the assembly previous to saving was, too.
Another approach to assembly solver (A2plus)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- manuelkrause
- Posts: 442
- Joined: Thu Jul 05, 2018 7:16 pm
Re: Another approach to assembly solver (A2plus)
- manuelkrause
- Posts: 442
- Joined: Thu Jul 05, 2018 7:16 pm
Re: Another approach to assembly solver (A2plus)
Yes, I now see, that you may not be able to reproduce it. I've tested a bit more.manuelkrause wrote: ↑Tue Jul 31, 2018 8:00 pmNo, that's why I've written. The parts stick at the 80% (button active/ inactive). Although all parts are at 0, themselves, and the assembly previous to saving was, too.
You need to close the FreeCAD completely to get this erratic behaviour. Restart it and load the .fcstd assembly previously saved in "transparent mode". I've unfortunately/ fortunately done so to test your recent improvements step by step, revision to revision. Meaning, exiting and restarting FreeCAD after each new devel-A2plus revision in place.
I really hope this gives a hint on where to search...
Re: Another approach to assembly solver (A2plus)
Standard solving mode is now "partial system", if you do not change it in preference page of A2plus. It is much faster and precise, but cannot solve everything. (e.g. 6DOF-platform-example). But i think for many users this mode is ok. You can switch within WB to the solvermode "magnetic=all together", which needs more solving steps.
I can open a new branch especially for your modifications. If you do PR's to this branch, i can review and help. If everything is working, we can merge. What do you think about this ?
KBWBE
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Re: Another approach to assembly solver (A2plus)
Please create an issue on github/kbwbe/a2plus, so that topic will not to be get lost. This thread is growing to fast...manuelkrause wrote: ↑Tue Jul 31, 2018 8:25 pm Yes, I now see, that you may not be able to reproduce it. I've tested a bit more.
You need to close the FreeCAD completely to get this erratic behaviour. Restart it and load the .fcstd assembly previously saved in "transparent mode". I've unfortunately/ fortunately done so to test your recent improvements step by step, revision to revision. Meaning, exiting and restarting FreeCAD after each new devel-A2plus revision in place.
I really hope this gives a hint on where to search...
KBWBE
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Re: Another approach to assembly solver (A2plus)
Okkbwbe wrote: ↑Tue Jul 31, 2018 9:21 pmStandard solving mode is now "partial system", if you do not change it in preference page of A2plus. It is much faster and precise, but cannot solve everything. (e.g. 6DOF-platform-example). But i think for many users this mode is ok. You can switch within WB to the solvermode "magnetic=all together", which needs more solving steps.
I can open a new branch especially for your modifications. If you do PR's to this branch, i can review and help. If everything is working, we can merge. What do you think about this ?
Re: Another approach to assembly solver (A2plus)
@Kbwbe
@project4
Is there a way to check every x thousand steps if the solver is doing well and movement rotation are acctually reducing the gap to the target?
@project4
Is there a way to check every x thousand steps if the solver is doing well and movement rotation are acctually reducing the gap to the target?
Re: Another approach to assembly solver (A2plus)
Good thinking!
That way the calculations could be stopped in case there is a problem with the solver logic...
It shouldn't be a problem. Just need to save previous errors and compare to the current ones.
Re: Another approach to assembly solver (A2plus)
Hi Turro, project4
i will try to implement it this evening.
KBWBE
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
Re: Another approach to assembly solver (A2plus)
Good! If it work we would also try to implement a progress bar and more important we would remove the limit on steps.
IMHO it is not a big problem taking a while on solving an assembly, but the solver should give a feedback on what's happening. Just to avoid a failure when 110k steps were needed with limit set to 100k.
Re: Another approach to assembly solver (A2plus)
Progress bar would be a nice feature in general for FC. There are a few tickets open requesting it:Turro75 wrote: ↑Wed Aug 01, 2018 11:41 am Good! If it work we would also try to implement a progress bar and more important we would remove the limit on steps.
IMHO it is not a big problem taking a while on solving an assembly, but the solver should give a feedback on what's happening. Just to avoid a failure when 110k steps were needed with limit set to 100k.
issue #1176 and issue #2571
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs