From 06a85aaff974e15fe886cbc69786249ad0d6b2f1 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 6 Feb 2020 08:03:42 +0100 Subject: [PATCH] FEM: contact shell example, small improvement --- src/Mod/Fem/femexamples/constraint_contact_shell_shell.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Fem/femexamples/constraint_contact_shell_shell.py b/src/Mod/Fem/femexamples/constraint_contact_shell_shell.py index 7b77103e94..7e480c84f8 100644 --- a/src/Mod/Fem/femexamples/constraint_contact_shell_shell.py +++ b/src/Mod/Fem/femexamples/constraint_contact_shell_shell.py @@ -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]