def makeElementRotation1D(doc, name="ElementRotation1D"): '''makeElementRotation1D(document, [name]): creates an 1D geometry rotation element object to rotate a 1D cross section''' obj = doc.addObject("Fem::FeaturePython", name) from femobjects import _FemElementRotation1D _FemElementRotation1D._FemElementRotation1D(obj) if FreeCAD.GuiUp: from femguiobjects import _ViewProviderFemElementRotation1D _ViewProviderFemElementRotation1D._ViewProviderFemElementRotation1D(obj.ViewObject) return obj
def makeElementRotation1D(doc, name="ElementRotation1D"): '''makeElementRotation1D(document, [name]): creates an 1D geometry rotation element object to rotate a 1D cross section''' obj = doc.addObject("Fem::FeaturePython", name) from femobjects import _FemElementRotation1D _FemElementRotation1D._FemElementRotation1D(obj) if FreeCAD.GuiUp: from femguiobjects import _ViewProviderFemElementRotation1D _ViewProviderFemElementRotation1D._ViewProviderFemElementRotation1D( obj.ViewObject) return obj