FEM: make objects module, fix type of constraint fluid boundary

This commit is contained in:
Bernd Hahnebach
2018-01-09 07:29:38 +01:00
parent 37d9f6f4c2
commit f13b72336e

View File

@@ -96,8 +96,8 @@ def makeConstraintFlowVelocity(doc, name="ConstraintFlowVelocity"):
def makeConstraintFluidBoundary(doc, name="ConstraintFluidBoundary"):
'''makeConstraintFluidBoundary(document, name): makes a Fem ConstraintForce object'''
obj = doc.addObject("Fem::ConstraintForce", name)
'''makeConstraintFluidBoundary(document, name): makes a Fem ConstraintFluidBoundary object'''
obj = doc.addObject("Fem::ConstraintFluidBoundary", name)
return obj