diff --git a/src/Mod/Fem/femobjects/_FemConstraintBodyHeatSource.py b/src/Mod/Fem/femobjects/_FemConstraintBodyHeatSource.py index f8295e07a0..35804d082f 100644 --- a/src/Mod/Fem/femobjects/_FemConstraintBodyHeatSource.py +++ b/src/Mod/Fem/femobjects/_FemConstraintBodyHeatSource.py @@ -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" + ) diff --git a/src/Mod/Fem/femobjects/_FemConstraintFlowVelocity.py b/src/Mod/Fem/femobjects/_FemConstraintFlowVelocity.py index b21f0d291e..fc37ff588e 100644 --- a/src/Mod/Fem/femobjects/_FemConstraintFlowVelocity.py +++ b/src/Mod/Fem/femobjects/_FemConstraintFlowVelocity.py @@ -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" + ) diff --git a/src/Mod/Fem/femobjects/_FemConstraintInitialFlowVelocity.py b/src/Mod/Fem/femobjects/_FemConstraintInitialFlowVelocity.py index 9a2874f725..874a54cd27 100644 --- a/src/Mod/Fem/femobjects/_FemConstraintInitialFlowVelocity.py +++ b/src/Mod/Fem/femobjects/_FemConstraintInitialFlowVelocity.py @@ -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" + )