diff --git a/src/Gui/View3DInventorViewer.h b/src/Gui/View3DInventorViewer.h index db713a4d72..ff41435d36 100644 --- a/src/Gui/View3DInventorViewer.h +++ b/src/Gui/View3DInventorViewer.h @@ -105,7 +105,7 @@ public: /** @name Anti-Aliasing modes of the rendered 3D scene * Specifies Anti-Aliasing (AA) method - * - Smoothing enables OpenGL line and vertex smoothing (basically depreciated) + * - Smoothing enables OpenGL line and vertex smoothing (basically deprecated) * - MSAA is hardware multi sampling (with 2, 4 or 8 passes), a quite common and efficient AA technique */ //@{ diff --git a/src/Mod/Fem/femmesh/meshtools.py b/src/Mod/Fem/femmesh/meshtools.py index 2883783b0c..7d7dc4c790 100644 --- a/src/Mod/Fem/femmesh/meshtools.py +++ b/src/Mod/Fem/femmesh/meshtools.py @@ -1626,7 +1626,7 @@ def get_pressure_obj_faces( return pressure_faces -# ***** depreciated method for retrieving pressure faces ***************************************** +# ***** deprecated method for retrieving pressure faces ***************************************** # for constraint pressure and finite solid element mesh # it was switched to the method get_ccxelement_faces_from_binary_search # because of performance and the support of all solid elements diff --git a/src/Mod/Fem/femsolver/calculix/writer.py b/src/Mod/Fem/femsolver/calculix/writer.py index 0bf8846509..f6a9d22c68 100644 --- a/src/Mod/Fem/femsolver/calculix/writer.py +++ b/src/Mod/Fem/femsolver/calculix/writer.py @@ -1160,7 +1160,7 @@ class FemInputWriterCcx(writerbase.FemInputWriter): f.write("*DLOAD\n") for ref_shape in femobj["PressureFaces"]: # the loop is needed for compatibility reason - # in depreciated method get_pressure_obj_faces_depreciated + # in deprecated method get_pressure_obj_faces_depreciated # the face ids where per ref_shape f.write("** " + ref_shape[0] + "\n") for face, fno in ref_shape[1]: diff --git a/src/Mod/Fem/femsolver/writerbase.py b/src/Mod/Fem/femsolver/writerbase.py index 4857bd286a..7d9742bb82 100644 --- a/src/Mod/Fem/femsolver/writerbase.py +++ b/src/Mod/Fem/femsolver/writerbase.py @@ -279,7 +279,7 @@ class FemInputWriter(): # it applies here too. Mhh it applies to all constraints ... """ - # depreciated version + # deprecated version # get the faces and face numbers for femobj in self.pressure_objects: # femobj --> dict, FreeCAD document object is femobj["Object"] @@ -308,9 +308,9 @@ class FemInputWriter(): self.femelement_table, self.femnodes_ele_table, femobj ) - # the data model is for compatibility reason with depreciated version + # the data model is for compatibility reason with deprecated version # get_pressure_obj_faces_depreciated returns the face ids in a tuple per ref_shape - # some_string was the reference_shape_element_string in depreciated method + # some_string was the reference_shape_element_string in deprecated method # [(some_string, [ele_id, ele_face_id], [ele_id, ele_face_id], ...])] some_string = "{}: face load".format(femobj["Object"].Name) femobj["PressureFaces"] = [(some_string, pressure_faces)] diff --git a/src/Mod/Mesh/App/Core/Approximation.h b/src/Mod/Mesh/App/Core/Approximation.h index 67a6760548..a74a9b2c8e 100644 --- a/src/Mod/Mesh/App/Core/Approximation.h +++ b/src/Mod/Mesh/App/Core/Approximation.h @@ -235,7 +235,7 @@ public: */ std::vector GetLocalPoints() const; /** - * Returns the local bounding box of the transformed points releative to the + * Returns the local bounding box of the transformed points relative to the * coordinate system of the plane. If this method is called before the plane is * computed an invalid bounding box is returned. */ diff --git a/src/Mod/Sketcher/App/SketchAnalysis.h b/src/Mod/Sketcher/App/SketchAnalysis.h index 8a7f692e72..adfa7116a5 100644 --- a/src/Mod/Sketcher/App/SketchAnalysis.h +++ b/src/Mod/Sketcher/App/SketchAnalysis.h @@ -76,7 +76,7 @@ public: void analyseMissingPointOnPointCoincident(double angleprecision = M_PI/8); /// Point on Point constraint simple routine Get step (see constructor) std::vector &getMissingPointOnPointConstraints(void) {return vertexConstraints;}; - /// Vertical/Horinzontal constraints simple routine Set step (see constructor) + /// Vertical/Horizontal constraints simple routine Set step (see constructor) void setMissingPointOnPointConstraints(std::vector& cl) {vertexConstraints = cl;}; /// Point on Point constraint simple routine Make step (see constructor) /// if onebyone, then the sketch is solved after each individual constraint addition and any redundancy removed. @@ -86,7 +86,7 @@ public: int detectMissingVerticalHorizontalConstraints(double angleprecision = M_PI/8); /// Vertical/Horizontal constraints simple routine Get step (see constructor) std::vector &getMissingVerticalHorizontalConstraints(void) {return verthorizConstraints;}; - /// Vertical/Horinzontal constraints simple routine Set step (see constructor) + /// Vertical/Horizontal constraints simple routine Set step (see constructor) void setMissingVerticalHorizontalConstraints(std::vector& cl) {verthorizConstraints = cl;}; /// Vertical/Horizontal constraints simple routine Make step (see constructor) void makeMissingVerticalHorizontal(bool onebyone = false); diff --git a/src/Mod/TechDraw/Gui/ViewProviderPage.cpp b/src/Mod/TechDraw/Gui/ViewProviderPage.cpp index 35ea0dee81..b70975b83b 100644 --- a/src/Mod/TechDraw/Gui/ViewProviderPage.cpp +++ b/src/Mod/TechDraw/Gui/ViewProviderPage.cpp @@ -203,7 +203,7 @@ bool ViewProviderPage::onDelete(const std::vector &) // check if there is just a template // if there are several objects, the template is never the last one - // the ExportName of a template begines always with "Template" + // the ExportName of a template always begins with "Template" bool isTemplate = false; for (auto objsIterator : objs) { if (objsIterator->getExportName().substr(0, 8).compare(std::string("Template")) == 0)