Skip to content

Commit

Permalink
FEM: fix contact shell shell example
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Mar 22, 2020
1 parent ac8b5db commit 96c2930
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/femexamples/constraint_contact_shell_shell.py
Expand Up @@ -95,8 +95,8 @@ def setup(doc=None, solvertype="ccxtools"):
upper_tube.ViewObject.hide()

# compound out of bool frag and lower tube
goem_obj = doc.addObject("Part::Compound", "AllGeomCompound")
goem_obj.Links = [boolfrag, lower_tube]
geom_obj = doc.addObject("Part::Compound", "AllGeomCompound")
geom_obj.Links = [boolfrag, lower_tube]

# line for load direction
sh_load_line = Part.makeLine(v_force_pt, FreeCAD.Vector(0, 150, 475))
Expand All @@ -109,7 +109,7 @@ def setup(doc=None, solvertype="ccxtools"):
doc.recompute()

if FreeCAD.GuiUp:
goem_obj.ViewObject.Document.activeView().viewAxonometric()
geom_obj.ViewObject.Document.activeView().viewAxonometric()
geom_obj.ViewObject.Document.activeView().fitAll()

# analysis
Expand Down

0 comments on commit 96c2930

Please sign in to comment.