JMG1/ExplodedAssembly

Workbench unusable in FC 0.19 due to changed Python functions

donovaly opened this issue · 4 comments

  • use the menu to load the example file

result: you get this warning: "Enumeration index -1 is out of range, ignore it"

  • let's ignore this and move on by pressing the button "Create Bolt Group"

result: <Part> ViewProviderExt.cpp(1325): Cannot compute Inventor representation for the shape of example#trajectory_line021 <Part> ViewProviderExt.cpp(1325): Cannot compute Inventor representation for the shape of example#trajectory_line021 264.696 <App> Document.cpp(3462): Failed to recompute example#Pocket005: No object linked Recompute failed! Please check report view.

This might come because of the new link feature of FC. If so, I can bring this issue to the FC forum.

  • now select 2 edges of your choice and press the button "Create Simple Group"

result: you get this error: Running the Python command 'CreateSimpleGroup' failed: Traceback (most recent call last): File "C:\Users\stoehr\AppData\Roaming\FreeCAD\Mod\ExplodedAssembly\EAInit.py", line 71, in Activated ea.createSimpleDisassemble() File "C:\Users\stoehr\AppData\Roaming\FreeCAD\Mod\ExplodedAssembly\ExplodedAssembly.py", line 213, in createSimpleDisassemble dir_vector = selection[-1].SubObjects[-1].normalAt(0, 0) function takes exactly 1 argument (2 given)

It seems the FC python functions have changed and ExplodedAssembly must be adapted accordingly.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19127 (Git)
Build type: Release
Branch: master
Hash: ec18f070d13b195d946c3d955d8c21b2e60550e2
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Are there any plans to support 0.19?

It seems this workbench is orphaned. However, the assembly workbenches A2plus and Assembly4 supports now already some animations. Nevertheless a real explode workbench would be very valuable.

Thanks for the pointers!

After Installing A2plus and Assembly4 I got the EA workbench to move objects around (strange enough). Either it is related to some module provided externally or I was simply selecting the wrong things before (as I had never used the EA Workbench before).