FEM: objects, code formating, new lines
This commit is contained in:
@@ -37,5 +37,8 @@ class Proxy(FemConstraint.Proxy):
|
||||
def __init__(self, obj):
|
||||
super(Proxy, self).__init__(obj)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "HeatSource",
|
||||
"Base", "Body heat source")
|
||||
"App::PropertyFloat"
|
||||
"HeatSource",
|
||||
"Base",
|
||||
"Body heat source"
|
||||
)
|
||||
|
||||
@@ -37,23 +37,44 @@ class Proxy(FemConstraint.Proxy):
|
||||
def __init__(self, obj):
|
||||
super(Proxy, self).__init__(obj)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityX",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityX",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityXEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityXEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityY",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityY",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityYEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityYEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityZ",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityZ",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityZEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityZEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "NormalToBoundary",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"NormalToBoundary",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
|
||||
@@ -37,20 +37,38 @@ class Proxy(FemConstraint.Proxy):
|
||||
def __init__(self, obj):
|
||||
super(Proxy, self).__init__(obj)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityX",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityX",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityXEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityXEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityY",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityY",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityYEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityYEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyFloat", "VelocityZ",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyFloat",
|
||||
"VelocityZ",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityZEnabled",
|
||||
"Parameter", "Body heat flux")
|
||||
"App::PropertyBool",
|
||||
"VelocityZEnabled",
|
||||
"Parameter",
|
||||
"Body heat flux"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user