Fix various typos
This commit is contained in:
@@ -850,7 +850,7 @@ class _Structure(ArchComponent.Component):
|
||||
# provide selected edges, or groups, in obj.ArchSketchEdges for processing in getStructureBaseShapeWires() (getSortedClusters) as override
|
||||
# returned a {dict} ( or a [list] )
|
||||
# get slab wires; use original wires if structureBaseShapeWires() provided none
|
||||
if structureBaseShapeWires: # would be false (none) if both base ArchSketch and obj do not have the edges stored / inputed by user
|
||||
if structureBaseShapeWires: # would be false (none) if both base ArchSketch and obj do not have the edges stored / inputted by user
|
||||
# if structureBaseShapeWires is {dict}
|
||||
baseShapeWires = structureBaseShapeWires.get('slabWires')
|
||||
faceMaker = structureBaseShapeWires.get('faceMaker')
|
||||
|
||||
@@ -678,7 +678,7 @@ std::map<std::string, std::string> _getFreeCADMechResultVectorProperties() {
|
||||
|
||||
// see https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&start=30#p277434 for further information regarding names etc...
|
||||
// some scalar list are not needed on VTK file export but they are needed for internal VTK pipeline
|
||||
// TODO some filter to only export the needed values to VTK file but have all in FreeCAD VTK pipline
|
||||
// TODO some filter to only export the needed values to VTK file but have all in FreeCAD VTK pipeline
|
||||
std::map<std::string, std::string> _getFreeCADMechResultScalarProperties() {
|
||||
// see src/Mod/Fem/femobjects/result_mechanical.py
|
||||
// App::PropertyFloatList will be a list of scalars in vtk
|
||||
@@ -706,7 +706,7 @@ std::map<std::string, std::string> _getFreeCADMechResultScalarProperties() {
|
||||
// THE MAJOR PRINCIPAL STRESS MAGNITUDE, THE INTERMEDIATE PRINCIPAL STRESS MAGNITUDE, THE MINOR PRINCIPAL STRESS MAGNITUDE
|
||||
// but I do not know how (Bernd), for some help see paraview tutorial on FreeCAD wiki
|
||||
// thus TODO they might not be exported to external file format (first I need to know how to generate them in paraview)
|
||||
// but there are needed anyway because the pipline in FreeCAD needs the principal stress values
|
||||
// but there are needed anyway because the pipeline in FreeCAD needs the principal stress values
|
||||
// https://forum.freecadweb.org/viewtopic.php?f=18&t=33106&p=416006#p412800
|
||||
resFCScalProp["PrincipalMax"] = "Major Principal Stress"; // can be plotted in Paraview as THE MAJOR PRINCIPAL STRESS MAGNITUDE
|
||||
resFCScalProp["PrincipalMed"] = "Intermediate Principal Stress";// can be plotted in Paraview as THE INTERMEDIATE PRINCIPAL STRESS MAGNITUDE
|
||||
|
||||
@@ -744,7 +744,7 @@ PropertyMeshKernel::PropertyMeshKernel()
|
||||
: _meshObject(new MeshObject()), meshPyObject(nullptr)
|
||||
{
|
||||
// Note: Normally this property is a member of a document object, i.e. the setValue()
|
||||
// method gets called in the constructor of a sublcass of DocumentObject, e.g. Mesh::Feature.
|
||||
// method gets called in the constructor of a subclass of DocumentObject, e.g. Mesh::Feature.
|
||||
// This means that the created MeshObject here will be replaced and deleted immediately.
|
||||
// However, we anyway create this object in case we use this class in another context.
|
||||
}
|
||||
|
||||
@@ -354,7 +354,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html></string>
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html></string>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
<item row="2" column="1" colspan="2">
|
||||
<widget class="QComboBox" name="layerMode">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html></string>
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or mulitiple passes to final depth.</p></body></html></string>
|
||||
<string><html><head/><body><p>Complete the operation in a single pass at depth, or multiple passes to final depth.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -635,7 +635,7 @@ class TaskPanelBaseGeometryPage(TaskPanelPage):
|
||||
opLabel = str(self.form.geometryImportList.currentText())
|
||||
ops = FreeCAD.ActiveDocument.getObjectsByLabel(opLabel)
|
||||
if len(ops) > 1:
|
||||
msg = translate("PathOp", "Mulitiple operations are labeled as")
|
||||
msg = translate("PathOp", "Multiple operations are labeled as")
|
||||
msg += " {}\n".format(opLabel)
|
||||
FreeCAD.Console.PrintWarning(msg)
|
||||
(base, subList) = ops[0].Base[0]
|
||||
|
||||
@@ -139,7 +139,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return FreeCADGui.PySideUic.loadUi(":/panels/PageOpEngraveEdit.ui")
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
if obj.StartVertex != self.form.startVertex.value():
|
||||
obj.StartVertex = self.form.startVertex.value()
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
|
||||
@@ -60,7 +60,7 @@ class TaskPanelOpPage(PathCircularHoleBaseGui.TaskPanelOpPage):
|
||||
return form
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
Path.Log.track()
|
||||
if obj.Direction != str(self.form.direction.currentData()):
|
||||
obj.Direction = str(self.form.direction.currentData())
|
||||
|
||||
@@ -115,7 +115,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
PathGuiUtil.updateInputField(obj, "ZigZagAngle", self.form.zigZagAngle)
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
if obj.CutMode != str(self.form.cutMode.currentData()):
|
||||
obj.CutMode = str(self.form.cutMode.currentData())
|
||||
if obj.StepOver != self.form.stepOverPercent.value():
|
||||
|
||||
@@ -54,7 +54,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return FreeCADGui.PySideUic.loadUi(":/panels/PageOpProbeEdit.ui")
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
PathGuiUtil.updateInputField(obj, "Xoffset", self.form.Xoffset)
|
||||
PathGuiUtil.updateInputField(obj, "Yoffset", self.form.Yoffset)
|
||||
|
||||
@@ -68,7 +68,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return form
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
self.updateCoolant(obj, self.form.coolantController)
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
self.geo2Extension.updateSpinBox()
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
debugMsg("getFields()")
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
self.updateCoolant(obj, self.form.coolantController)
|
||||
|
||||
@@ -71,7 +71,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return form
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
self.updateCoolant(obj, self.form.coolantController)
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return FreeCADGui.PySideUic.loadUi(":/panels/PageOpVcarveEdit.ui")
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
if obj.Discretize != self.form.discretize.value():
|
||||
obj.Discretize = self.form.discretize.value()
|
||||
if obj.Colinear != self.form.colinearFilter.value():
|
||||
|
||||
@@ -65,7 +65,7 @@ class TaskPanelOpPage(PathOpGui.TaskPanelPage):
|
||||
return form
|
||||
|
||||
def getFields(self, obj):
|
||||
"""getFields(obj) ... transfers values from UI to obj's proprties"""
|
||||
"""getFields(obj) ... transfers values from UI to obj's properties"""
|
||||
self.updateToolController(obj, self.form.toolController)
|
||||
self.updateCoolant(obj, self.form.coolantController)
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ class ObjectSlot(PathOp.ObjectOp):
|
||||
"Slot",
|
||||
QtCore.QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Complete the operation in a single pass at depth, or mulitiple passes to final depth.",
|
||||
"Complete the operation in a single pass at depth, or multiple passes to final depth.",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -324,7 +324,7 @@ class ObjectSurface(PathOp.ObjectOp):
|
||||
"Clearing Options",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Complete the operation in a single pass at depth, or mulitiple passes to final depth.",
|
||||
"Complete the operation in a single pass at depth, or multiple passes to final depth.",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -369,7 +369,7 @@ class ObjectWaterline(PathOp.ObjectOp):
|
||||
"Clearing Options",
|
||||
QT_TRANSLATE_NOOP(
|
||||
"App::Property",
|
||||
"Complete the operation in a single pass at depth, or mulitiple passes to final depth.",
|
||||
"Complete the operation in a single pass at depth, or multiple passes to final depth.",
|
||||
),
|
||||
),
|
||||
(
|
||||
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
/// Make applies the constraints stored internally in the SketchAnalysis object.
|
||||
///
|
||||
/// A second type of routines, complex routines, are thought for running fully automatic and they Detect, Analyse and Make.
|
||||
/// They may also apply a variaty of types of Constraints.
|
||||
/// They may also apply a variety of constraint types.
|
||||
///
|
||||
/// A third type of routines do not relate to autoconstraining at all, and include validation methods for sketches.
|
||||
explicit SketchAnalysis(Sketcher::SketchObject * Obj);
|
||||
|
||||
@@ -91,7 +91,7 @@ App::Color PreferencesGui::sectionLineColor()
|
||||
|
||||
QColor PreferencesGui::sectionLineQColor()
|
||||
{
|
||||
//if the App::Color version has already lightened the color, we don't want to do it agin
|
||||
//if the App::Color version has already lightened the color, we don't want to do it again
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
.GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations");
|
||||
App::Color fcColor;
|
||||
|
||||
Reference in New Issue
Block a user