FEM: contact shell example, small improvement

This commit is contained in:
Bernd Hahnebach
2020-02-06 08:03:42 +01:00
parent 39f181c0e0
commit 06a85aaff9

View File

@@ -89,6 +89,8 @@ def setup(doc=None, solvertype="ccxtools"):
BooleanFrag = BOPTools.SplitFeatures.makeBooleanFragments(name='BooleanFragments')
BooleanFrag.Objects = [upper_tube, force_point]
if FreeCAD.GuiUp:
upper_tube.ViewObject.hide()
compound = doc.addObject("Part::Compound", "Compound")
compound.Links = [BooleanFrag, lower_tube]