JMG1 / ExplodedAssembly

FreeCAD workbench to create exploded views and animations of assemblies
GNU Lesser General Public License v2.1
115 stars 27 forks source link

Workbench unusable in FC 0.19 due to changed Python functions #17

Open donovaly opened 4 years ago

donovaly commented 4 years ago

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

result: ` ViewProviderExt.cpp(1325): Cannot compute Inventor representation for the shape of example#trajectory_line021

ViewProviderExt.cpp(1325): Cannot compute Inventor representation for the shape of example#trajectory_line021 264.696 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)
hkienle commented 3 years ago

Are there any plans to support 0.19?

donovaly commented 3 years ago

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.

hkienle commented 3 years ago

Thanks for the pointers!

ThomasEgi commented 3 years ago

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).