Update UI strings from Crowdin reports for consistency
This commit is contained in:
committed by
Chris Hennes
parent
e4d6b9a31d
commit
3b215da227
@@ -53,7 +53,7 @@ class DressupArray:
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"The spacing between the array copies in Linear pattern",
|
||||
"The spacing between the array copies in linear pattern",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -61,7 +61,7 @@ class DressupArray:
|
||||
"CopiesX",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "The number of copies in X direction in Linear pattern"
|
||||
"App::Property", "The number of copies in X-direction in linear pattern"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -69,28 +69,28 @@ class DressupArray:
|
||||
"CopiesY",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "The number of copies in Y direction in Linear pattern"
|
||||
"App::Property", "The number of copies in Y-direction in linear pattern"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyAngle",
|
||||
"Angle",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Total angle in Polar pattern"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Total angle in polar pattern"),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyInteger",
|
||||
"Copies",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "The number of copies in Linear 1D and Polar pattern"
|
||||
"App::Property", "The number of copies in linear 1D and polar pattern"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyVector",
|
||||
"Centre",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP("App::Property", "The centre of rotation in Polar pattern"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "The centre of rotation in polar pattern"),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyBool",
|
||||
@@ -98,7 +98,7 @@ class DressupArray:
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Make copies in X direction before Y in Linear 2D pattern",
|
||||
"Make copies in X-direction before Y in linear 2D pattern",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
|
||||
@@ -120,7 +120,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in negative X direction",
|
||||
"Extra allowance from part bound box in negative X-direction",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -129,7 +129,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in positive X direction",
|
||||
"Extra allowance from part bound box in positive X-direction",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -138,7 +138,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in negative Y direction",
|
||||
"Extra allowance from part bound box in negative Y-direction",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -147,7 +147,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in positive Y direction",
|
||||
"Extra allowance from part bound box in positive Y-direction",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -156,7 +156,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in negative Z direction",
|
||||
"Extra allowance from part bound box in negative Z-direction",
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -165,7 +165,7 @@ class StockFromBase(Stock):
|
||||
"Stock",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Extra allowance from part bound box in positive Z direction",
|
||||
"Extra allowance from part bound box in positive Z-direction",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ class ObjectArray:
|
||||
"CopiesX",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "The number of copies in X direction in linear pattern"
|
||||
"App::Property", "The number of copies in X-direction in linear pattern"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
@@ -74,7 +74,7 @@ class ObjectArray:
|
||||
"CopiesY",
|
||||
"Path",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property", "The number of copies in Y direction in linear pattern"
|
||||
"App::Property", "The number of copies in Y-direction in linear pattern"
|
||||
),
|
||||
)
|
||||
obj.addProperty(
|
||||
|
||||
@@ -64,13 +64,13 @@ class ObjectProbing(PathOp.ObjectOp):
|
||||
"App::PropertyInteger",
|
||||
"PointCountX",
|
||||
"Probe",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in X direction"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in X-direction"),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyInteger",
|
||||
"PointCountY",
|
||||
"Probe",
|
||||
QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in Y direction"),
|
||||
QT_TRANSLATE_NOOP("App::Property", "Number of points to probe in Y-direction"),
|
||||
)
|
||||
obj.addProperty(
|
||||
"App::PropertyFile",
|
||||
|
||||
@@ -165,7 +165,7 @@ The number must be at least 1 in each direction.</string>
|
||||
<item row="4" column="0">
|
||||
<widget class="QGroupBox" name="group_X">
|
||||
<property name="toolTip">
|
||||
<string>Distance between the elements in the X direction.
|
||||
<string>Distance between the elements in the X-direction.
|
||||
Normally, only the X value is necessary; the other two values can give an additional shift in their respective directions.
|
||||
Negative values will result in copies produced in the negative direction.</string>
|
||||
</property>
|
||||
@@ -256,7 +256,7 @@ Negative values will result in copies produced in the negative direction.</strin
|
||||
<item row="5" column="0">
|
||||
<widget class="QGroupBox" name="group_Y">
|
||||
<property name="toolTip">
|
||||
<string>Distance between the elements in the Y direction.
|
||||
<string>Distance between the elements in the Y-direction.
|
||||
Normally, only the Y value is necessary; the other two values can give an additional shift in their respective directions.
|
||||
Negative values will result in copies produced in the negative direction.</string>
|
||||
</property>
|
||||
|
||||
@@ -211,7 +211,7 @@ will be moved to the center of the view.</string>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="label_8">
|
||||
<property name="toolTip">
|
||||
<string>The number of squares in the X and Y direction of the grid</string>
|
||||
<string>The number of squares in the X- and Y-direction of the grid</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Grid size</string>
|
||||
@@ -221,7 +221,7 @@ will be moved to the center of the view.</string>
|
||||
<item row="3" column="1">
|
||||
<widget class="QSpinBox" name="fieldGridExtension">
|
||||
<property name="toolTip">
|
||||
<string>The number of squares in the X and Y direction of the grid</string>
|
||||
<string>The number of squares in the X- and Y-direction of the grid</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string> squares</string>
|
||||
|
||||
@@ -217,7 +217,7 @@ Major grid lines are thicker than minor grid lines.</string>
|
||||
<item row="7" column="1">
|
||||
<widget class="Gui::PrefSpinBox" name="spinBox_gridSize">
|
||||
<property name="toolTip">
|
||||
<string>The number of squares in the X and Y direction of the grid</string>
|
||||
<string>The number of squares in the X- and Y-direction of the grid</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string> squares</string>
|
||||
|
||||
@@ -164,7 +164,7 @@ class Array(DraftLink):
|
||||
|
||||
if "NumberX" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Number of copies in X direction")
|
||||
"Number of copies in X-direction")
|
||||
obj.addProperty("App::PropertyInteger",
|
||||
"NumberX",
|
||||
"Orthogonal array",
|
||||
@@ -174,7 +174,7 @@ class Array(DraftLink):
|
||||
|
||||
if "NumberY" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Number of copies in Y direction")
|
||||
"Number of copies in Y-direction")
|
||||
obj.addProperty("App::PropertyInteger",
|
||||
"NumberY",
|
||||
"Orthogonal array",
|
||||
@@ -184,7 +184,7 @@ class Array(DraftLink):
|
||||
|
||||
if "NumberZ" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Number of copies in Z direction")
|
||||
"Number of copies in Z-direction")
|
||||
obj.addProperty("App::PropertyInteger",
|
||||
"NumberZ",
|
||||
"Orthogonal array",
|
||||
@@ -195,7 +195,7 @@ class Array(DraftLink):
|
||||
if "IntervalX" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Distance and orientation "
|
||||
"of intervals in X direction")
|
||||
"of intervals in X-direction")
|
||||
obj.addProperty("App::PropertyVectorDistance",
|
||||
"IntervalX",
|
||||
"Orthogonal array",
|
||||
@@ -206,7 +206,7 @@ class Array(DraftLink):
|
||||
if "IntervalY" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Distance and orientation "
|
||||
"of intervals in Y direction")
|
||||
"of intervals in Y-direction")
|
||||
obj.addProperty("App::PropertyVectorDistance",
|
||||
"IntervalY",
|
||||
"Orthogonal array",
|
||||
@@ -217,7 +217,7 @@ class Array(DraftLink):
|
||||
if "IntervalZ" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"Distance and orientation "
|
||||
"of intervals in Z direction")
|
||||
"of intervals in Z-direction")
|
||||
obj.addProperty("App::PropertyVectorDistance",
|
||||
"IntervalZ",
|
||||
"Orthogonal array",
|
||||
|
||||
@@ -299,7 +299,7 @@ class PathArray(DraftLink):
|
||||
obj.TangentVector = App.Vector(1, 0, 0)
|
||||
|
||||
if "ForceVertical" not in properties:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property","Force use of 'Vertical Vector' as local Z direction when using 'Original' or 'Tangent' alignment mode")
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property","Force use of 'Vertical Vector' as local Z-direction when using 'Original' or 'Tangent' alignment mode")
|
||||
obj.addProperty("App::PropertyBool",
|
||||
"ForceVertical",
|
||||
"Alignment",
|
||||
|
||||
@@ -45,66 +45,66 @@ ConstraintDisplacement::ConstraintDisplacement()
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free translation in X direction");
|
||||
"Use free translation in X-direction");
|
||||
ADD_PROPERTY_TYPE(xDisplacement,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Translation in local X direction");
|
||||
"Translation in local X-direction");
|
||||
ADD_PROPERTY_TYPE(hasXFormula,
|
||||
(false),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Define translation in X direction as a formula");
|
||||
"Define translation in X-direction as a formula");
|
||||
ADD_PROPERTY_TYPE(xDisplacementFormula,
|
||||
(""),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Formula for translation in X direction");
|
||||
"Formula for translation in X-direction");
|
||||
|
||||
// y displacement
|
||||
ADD_PROPERTY_TYPE(yFree,
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free translation in Y direction");
|
||||
"Use free translation in Y-direction");
|
||||
ADD_PROPERTY_TYPE(yDisplacement,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Translation in local Y direction");
|
||||
"Translation in local Y-direction");
|
||||
ADD_PROPERTY_TYPE(hasYFormula,
|
||||
(false),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Define translation in Y direction as a formula");
|
||||
"Define translation in Y-direction as a formula");
|
||||
ADD_PROPERTY_TYPE(yDisplacementFormula,
|
||||
(""),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Formula for translation in Y direction");
|
||||
"Formula for translation in Y-direction");
|
||||
|
||||
// z displacement
|
||||
ADD_PROPERTY_TYPE(zFree,
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free translation in Z direction");
|
||||
"Use free translation in Z-direction");
|
||||
ADD_PROPERTY_TYPE(zDisplacement,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Translation in local Z direction");
|
||||
"Translation in local Z-direction");
|
||||
ADD_PROPERTY_TYPE(hasZFormula,
|
||||
(false),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Define translation in Z direction as a formula");
|
||||
"Define translation in Z-direction as a formula");
|
||||
ADD_PROPERTY_TYPE(zDisplacementFormula,
|
||||
(""),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Formula for translation in Z direction");
|
||||
"Formula for translation in Z-direction");
|
||||
|
||||
// flow surface force
|
||||
ADD_PROPERTY_TYPE(useFlowSurfaceForce,
|
||||
@@ -118,36 +118,36 @@ ConstraintDisplacement::ConstraintDisplacement()
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free rotation in X direction");
|
||||
"Use free rotation in X-direction");
|
||||
ADD_PROPERTY_TYPE(xRotation,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Rotation in local X direction");
|
||||
"Rotation in local X-direction");
|
||||
|
||||
// y rotation
|
||||
ADD_PROPERTY_TYPE(rotyFree,
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free rotation in Y direction");
|
||||
"Use free rotation in Y-direction");
|
||||
ADD_PROPERTY_TYPE(yRotation,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Rotation in local Y direction");
|
||||
"Rotation in local Y-direction");
|
||||
|
||||
// z rotation
|
||||
ADD_PROPERTY_TYPE(rotzFree,
|
||||
(true),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Use free rotation in Z direction");
|
||||
"Use free rotation in Z-direction");
|
||||
ADD_PROPERTY_TYPE(zRotation,
|
||||
(0.0),
|
||||
"ConstraintDisplacement",
|
||||
App::Prop_None,
|
||||
"Rotation in local Z direction");
|
||||
"Rotation in local Z-direction");
|
||||
ADD_PROPERTY_TYPE(EnableAmplitude,
|
||||
(false),
|
||||
"ConstraintDisplacement",
|
||||
|
||||
@@ -52,32 +52,32 @@ ConstraintRigidBody::ConstraintRigidBody()
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied force in X direction");
|
||||
"Applied force in X-direction");
|
||||
ADD_PROPERTY_TYPE(ForceY,
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied force in Y direction");
|
||||
"Applied force in Y-direction");
|
||||
ADD_PROPERTY_TYPE(ForceZ,
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied force in Z direction");
|
||||
"Applied force in Z-direction");
|
||||
ADD_PROPERTY_TYPE(MomentX,
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied moment in X direction");
|
||||
"Applied moment in X-direction");
|
||||
ADD_PROPERTY_TYPE(MomentY,
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied moment in Y direction");
|
||||
"Applied moment in Y-direction");
|
||||
ADD_PROPERTY_TYPE(MomentZ,
|
||||
(0.0),
|
||||
"ConstraintRigidBody",
|
||||
App::Prop_Output,
|
||||
"Applied moment in Z direction");
|
||||
"Applied moment in Z-direction");
|
||||
ADD_PROPERTY_TYPE(TranslationalModeX,
|
||||
("Free"),
|
||||
"ConstraintRigidBody",
|
||||
|
||||
@@ -41,18 +41,18 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
def __init__(self, obj):
|
||||
super().__init__(obj)
|
||||
obj.addProperty(
|
||||
"App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in x-direction"
|
||||
"App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in X-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityX", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyString",
|
||||
"VelocityXFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in x-direction",
|
||||
"Velocity formula in X-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in x-direction"
|
||||
"App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in X-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXUnspecified", "LockDynamic")
|
||||
obj.VelocityXUnspecified = True
|
||||
@@ -60,23 +60,23 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityXHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in x-direction",
|
||||
"Use formula for velocity in X-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXHasFormula", "LockDynamic")
|
||||
|
||||
obj.addProperty(
|
||||
"App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in y-direction"
|
||||
"App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in Y-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityY", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyString",
|
||||
"VelocityYFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in y-direction",
|
||||
"Velocity formula in Y-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in y-direction"
|
||||
"App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in Y-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYUnspecified", "LockDynamic")
|
||||
obj.VelocityYUnspecified = True
|
||||
@@ -84,7 +84,7 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityYHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in y-direction",
|
||||
"Use formula for velocity in Y-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYHasFormula", "LockDynamic")
|
||||
|
||||
@@ -96,11 +96,11 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyString",
|
||||
"VelocityZFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in z-direction",
|
||||
"Velocity formula in Z-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in z-direction"
|
||||
"App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in Z-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZUnspecified", "LockDynamic")
|
||||
obj.VelocityZUnspecified = True
|
||||
@@ -108,7 +108,7 @@ class ConstraintFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityZHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in z-direction",
|
||||
"Use formula for velocity in Z-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZHasFormula", "LockDynamic")
|
||||
|
||||
|
||||
@@ -40,18 +40,18 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
def __init__(self, obj):
|
||||
super().__init__(obj)
|
||||
obj.addProperty(
|
||||
"App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in x-direction"
|
||||
"App::PropertyVelocity", "VelocityX", "Parameter", "Velocity in X-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityX", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyString",
|
||||
"VelocityXFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in x-direction",
|
||||
"Velocity formula in X-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in x-direction"
|
||||
"App::PropertyBool", "VelocityXUnspecified", "Parameter", "Use velocity in X-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXUnspecified", "LockDynamic")
|
||||
obj.VelocityXUnspecified = True
|
||||
@@ -59,23 +59,23 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityXHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in x-direction",
|
||||
"Use formula for velocity in X-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityXHasFormula", "LockDynamic")
|
||||
|
||||
obj.addProperty(
|
||||
"App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in y-direction"
|
||||
"App::PropertyVelocity", "VelocityY", "Parameter", "Velocity in Y-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityY", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyString",
|
||||
"VelocityYFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in y-direction",
|
||||
"Velocity formula in Y-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in y-direction"
|
||||
"App::PropertyBool", "VelocityYUnspecified", "Parameter", "Use velocity in Y-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYUnspecified", "LockDynamic")
|
||||
obj.VelocityYUnspecified = True
|
||||
@@ -83,23 +83,23 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityYHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in y-direction",
|
||||
"Use formula for velocity in Y-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityYHasFormula", "LockDynamic")
|
||||
|
||||
obj.addProperty(
|
||||
"App::PropertyVelocity", "VelocityZ", "Parameter", "Velocity in z-direction"
|
||||
"App::PropertyVelocity", "VelocityZ", "Parameter", "Velocity in Z-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZ", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyString",
|
||||
"VelocityZFormula",
|
||||
"Parameter",
|
||||
"Velocity formula in z-direction",
|
||||
"Velocity formula in Z-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZFormula", "LockDynamic")
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in z-direction"
|
||||
"App::PropertyBool", "VelocityZUnspecified", "Parameter", "Use velocity in Z-direction"
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZUnspecified", "LockDynamic")
|
||||
obj.VelocityZUnspecified = True
|
||||
@@ -107,6 +107,6 @@ class ConstraintInitialFlowVelocity(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyBool",
|
||||
"VelocityZHasFormula",
|
||||
"Parameter",
|
||||
"Use formula for velocity in z-direction",
|
||||
"Use formula for velocity in Z-direction",
|
||||
)
|
||||
obj.setPropertyStatus("VelocityZHasFormula", "LockDynamic")
|
||||
|
||||
@@ -93,7 +93,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyFloatList",
|
||||
"ReinforcementRatio_x",
|
||||
"NodeData",
|
||||
"Reinforcement ratio x-direction",
|
||||
"Reinforcement ratio in X-direction",
|
||||
True,
|
||||
)
|
||||
obj.setPropertyStatus("ReinforcementRatio_x", "LockDynamic")
|
||||
@@ -101,7 +101,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyFloatList",
|
||||
"ReinforcementRatio_y",
|
||||
"NodeData",
|
||||
"Reinforcement ratio y-direction",
|
||||
"Reinforcement ratio in Y-direction",
|
||||
True,
|
||||
)
|
||||
obj.setPropertyStatus("ReinforcementRatio_y", "LockDynamic")
|
||||
@@ -109,7 +109,7 @@ class ResultMechanical(base_fempythonobject.BaseFemPythonObject):
|
||||
"App::PropertyFloatList",
|
||||
"ReinforcementRatio_z",
|
||||
"NodeData",
|
||||
"Reinforcement ratio z-direction",
|
||||
"Reinforcement ratio in Z-direction",
|
||||
True,
|
||||
)
|
||||
obj.setPropertyStatus("ReinforcementRatio_z", "LockDynamic")
|
||||
|
||||
@@ -72,19 +72,19 @@ MeasureDistance::MeasureDistance()
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in X direction");
|
||||
"Distance in X-direction");
|
||||
DistanceX.setUnit(Base::Unit::Length);
|
||||
ADD_PROPERTY_TYPE(DistanceY,
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in Y direction");
|
||||
"Distance in Y-direction");
|
||||
DistanceY.setUnit(Base::Unit::Length);
|
||||
ADD_PROPERTY_TYPE(DistanceZ,
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in Z direction");
|
||||
"Distance in Z-direction");
|
||||
DistanceZ.setUnit(Base::Unit::Length);
|
||||
|
||||
ADD_PROPERTY_TYPE(Position1,
|
||||
@@ -333,19 +333,19 @@ MeasureDistanceDetached::MeasureDistanceDetached()
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in X direction");
|
||||
"Distance in X-direction");
|
||||
DistanceX.setUnit(Base::Unit::Length);
|
||||
ADD_PROPERTY_TYPE(DistanceY,
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in Y direction");
|
||||
"Distance in Y-direction");
|
||||
DistanceY.setUnit(Base::Unit::Length);
|
||||
ADD_PROPERTY_TYPE(DistanceZ,
|
||||
(0.0),
|
||||
"Measurement",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Distance in Z direction");
|
||||
"Distance in Z-direction");
|
||||
DistanceZ.setUnit(Base::Unit::Length);
|
||||
|
||||
ADD_PROPERTY_TYPE(Position1,
|
||||
|
||||
@@ -123,7 +123,7 @@ AttachExtension::AttachExtension()
|
||||
(false),
|
||||
"Attachment",
|
||||
App::Prop_None,
|
||||
"Reverse Z direction (flip sketch upside down)");
|
||||
"Reverse Z-direction (flip sketch upside down)");
|
||||
|
||||
EXTENSION_ADD_PROPERTY_TYPE(MapPathParameter,
|
||||
(0.0),
|
||||
@@ -234,7 +234,7 @@ void AttachExtension::initBase(bool force)
|
||||
props.mapReversed,
|
||||
obj,
|
||||
"BaseMapReversed",
|
||||
"Reverse Z direction of the base geometry attachment");
|
||||
"Reverse Z-direction of the base geometry attachment");
|
||||
|
||||
getProp<App::PropertyFloat>(force,
|
||||
props.mapPathParameter,
|
||||
|
||||
@@ -44,9 +44,9 @@ Scale::Scale()
|
||||
ADD_PROPERTY_TYPE(Base, (nullptr), "Scale", App::Prop_None, "Shape to scale");
|
||||
ADD_PROPERTY_TYPE(Uniform, (true), "Scale", App::Prop_None, "If true, scale equally in all directions");
|
||||
ADD_PROPERTY_TYPE(UniformScale, (1.0), "Scale", App::Prop_None, "Uniform scale factor - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(XScale, (1.0), "Scale", App::Prop_None, "Scale factor in X direction - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(YScale, (1.0), "Scale", App::Prop_None, "Scale factor in Y direction - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(ZScale, (1.0), "Scale", App::Prop_None, "Scale factor in Z direction - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(XScale, (1.0), "Scale", App::Prop_None, "Scale factor in X-direction - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(YScale, (1.0), "Scale", App::Prop_None, "Scale factor in Y-direction - 1.0 means no scaling");
|
||||
ADD_PROPERTY_TYPE(ZScale, (1.0), "Scale", App::Prop_None, "Scale factor in Z-direction - 1.0 means no scaling");
|
||||
}
|
||||
|
||||
short Scale::mustExecute() const
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>In x-direction</string>
|
||||
<string>In X-direction</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>labelOffset</cstring>
|
||||
@@ -168,7 +168,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>In y-direction</string>
|
||||
<string>In Y-direction</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -200,7 +200,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>In z-direction</string>
|
||||
<string>In Z-direction</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
<string>Sets this as axis</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>X Direction</string>
|
||||
<string>X-Direction</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -187,7 +187,7 @@
|
||||
<string>Sets this as axis</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Y Direction</string>
|
||||
<string>Y-Direction</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -225,7 +225,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Z Direction</string>
|
||||
<string>Z-Direction</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -404,11 +404,11 @@ PROPERTY_SOURCE(PartDesign::Ellipsoid, PartDesign::FeaturePrimitive)
|
||||
|
||||
Ellipsoid::Ellipsoid()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(Radius1,(2.0),"Ellipsoid",App::Prop_None,"Radius in local z-direction");
|
||||
ADD_PROPERTY_TYPE(Radius1,(2.0),"Ellipsoid",App::Prop_None,"Radius in local Z-direction");
|
||||
Radius1.setConstraints(&quantityRange);
|
||||
ADD_PROPERTY_TYPE(Radius2,(4.0),"Ellipsoid",App::Prop_None,"Radius in local x-direction");
|
||||
ADD_PROPERTY_TYPE(Radius2,(4.0),"Ellipsoid",App::Prop_None,"Radius in local X-direction");
|
||||
Radius2.setConstraints(&quantityRange);
|
||||
ADD_PROPERTY_TYPE(Radius3,(0.0),"Ellipsoid",App::Prop_None,"Radius in local y-direction\nIf zero, it is equal to Radius2");
|
||||
ADD_PROPERTY_TYPE(Radius3,(0.0),"Ellipsoid",App::Prop_None,"Radius in local Y-direction\nIf zero, it is equal to Radius2");
|
||||
Radius3.setConstraints(&quantityRangeZero);
|
||||
ADD_PROPERTY_TYPE(Angle1,(-90.0f),"Ellipsoid",App::Prop_None,"The angle of the ellipsoid");
|
||||
Angle1.setConstraints(&angleRangeV);
|
||||
|
||||
@@ -824,7 +824,7 @@
|
||||
<item row="1" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="ellipsoidRadius2">
|
||||
<property name="toolTip">
|
||||
<string>Radius in local x-direction</string>
|
||||
<string>Radius in local X-direction</string>
|
||||
</property>
|
||||
<property name="keyboardTracking">
|
||||
<bool>false</bool>
|
||||
@@ -847,7 +847,7 @@
|
||||
<item row="2" column="1">
|
||||
<widget class="Gui::QuantitySpinBox" name="ellipsoidRadius3">
|
||||
<property name="toolTip">
|
||||
<string>Radius in local y-direction
|
||||
<string>Radius in local Y-direction
|
||||
If zero, it is equal to Radius2</string>
|
||||
</property>
|
||||
<property name="keyboardTracking">
|
||||
|
||||
Reference in New Issue
Block a user