LCInterlocking icon indicating copy to clipboard operation
LCInterlocking copied to clipboard

Cannot remove splitter from empty shape

Open foertel opened this issue 6 years ago • 3 comments

Running the Python command 'export_command' failed: Traceback (most recent call last): File "/home/felix/snap/freecad/8/.FreeCAD/Mod/LCInterlocking/ExportPanel.py", line 78, in Activated self.export_list(parts_list, new_doc) File "/home/felix/snap/freecad/8/.FreeCAD/Mod/LCInterlocking/ExportPanel.py", line 94, in export_list transform_shape(part, new_part, freecad_document) File "/home/felix/snap/freecad/8/.FreeCAD/Mod/LCInterlocking/ExportPanel.py", line 49, in transform_shape new_part_feature.Shape = part_feature.Shape.removeSplitter()

Cannot remove splitter from empty shape

FreeCAD 0.18 (16093) with LCInterlocking from the addon manager.

It happens, when I try to export all objects. If I just choose the active Bodies, it works okay. As soon as your drawing gets a little more complex (like a lot of cutouts and stuff), it's hard to export all the right objects. Maybe we can add a filter to ignore empty shapes?

foertel avatar Aug 29 '19 07:08 foertel

@foertel can you test with FreeCAD v0.19 and report ?

luzpaz avatar Nov 26 '19 11:11 luzpaz

@foertel please follow-up

luzpaz avatar Mar 01 '20 14:03 luzpaz

I can verify that this happens in 0.19, as well. If I select the Multijoin, I get this error. If I select the individual *_tab objects, export works fine.

undercoverdesigns avatar Oct 02 '20 18:10 undercoverdesigns