kbwbe / A2plus

Another assembly workbench for FreeCAD, following and extending Hamish's Assembly 2 workbench
GNU Lesser General Public License v2.1
168 stars 69 forks source link

Added Caching #621

Closed edwin-bergstedt closed 6 months ago

edwin-bergstedt commented 6 months ago

Added Caching functionality to store the position of the rigids. This has two main benefits, it reduces the calculations needed, as unmoved rigids don't need to be calculated. The second benefit is that the state is stored and used for recovering the system. In the test case I benchmarked this code ran 5% faster.