Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions a2plib.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,15 @@ def filterShapeObs(_list, allowSketches=False):
if ob.Name.startswith("Sketch"):
lst.append(ob)
continue
# Exclude any objects from assembly workbench, as they are not real shapes and cause problems with the solver.
# This includes built-in Assembly objects and their children, including Body, Boolean
if ob.TypeId.startswith("Assembly::"):
#filter out the built-in Assembly objects
continue
if ob.Parents and any( p[0].TypeId.startswith("Assembly::") for p in ob.Parents):
#filter out objects which are children of built-in Assembly objects
continue

if (
#Following object now have App::GeoFeatureGroupExtension in FC0.19
#prevent them from being filtered out.
Expand Down