We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 562c05f + 6c194aa commit 3f0a3c5Copy full SHA for 3f0a3c5
ExplodedAssembly.py
@@ -213,6 +213,11 @@ def createSimpleDisassemble():
213
dir_vector = selection[-1].SubObjects[-1].normalAt(0, 0)
214
# the rotation center is the center of mass of the last face selected
215
rot_center = selection[-1].SubObjects[-1].CenterOfMass
216
+
217
+ # ignore last object if it cannot be moved, it is only used for positioning
218
+ if FreeCAD.ActiveDocument.getObject(selection[-1].Object.Name) is None:
219
+ del selection[-1]
220
221
# create trajectory data
222
for sel_obj in selection:
223
# append object name
0 commit comments