def makeElementFluid1D(doc, name="ElementFluid1D"): '''makeElementFluid1D(document, [name]): creates an 1D fluid element object to define 1D flow''' obj = doc.addObject("Fem::FeaturePython", name) from femobjects import _FemElementFluid1D _FemElementFluid1D._FemElementFluid1D(obj) if FreeCAD.GuiUp: from femguiobjects import _ViewProviderFemElementFluid1D _ViewProviderFemElementFluid1D._ViewProviderFemElementFluid1D(obj.ViewObject) return obj
def makeElementFluid1D(doc, name="ElementFluid1D"): '''makeElementFluid1D(document, [name]): creates an 1D fluid element object to define 1D flow''' obj = doc.addObject("Fem::FeaturePython", name) from femobjects import _FemElementFluid1D _FemElementFluid1D._FemElementFluid1D(obj) if FreeCAD.GuiUp: from femguiobjects import _ViewProviderFemElementFluid1D _ViewProviderFemElementFluid1D._ViewProviderFemElementFluid1D( obj.ViewObject) return obj