From e883cbfdf312267f890d97c0f666bff41e1bc26c Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sun, 24 Dec 2017 11:35:40 -0500 Subject: [PATCH] Part: typos --- src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml | 2 +- src/Mod/Part/App/CrossSection.cpp | 2 +- src/Mod/Part/App/FeatureExtrusion.cpp | 2 +- src/Mod/Part/App/PrimitiveFeature.cpp | 2 +- src/Mod/Part/App/TopoShapePy.xml | 2 +- src/Mod/Part/AttachmentEditor/Commands.py | 2 +- src/Mod/Part/BOPTools/JoinFeatures.py | 2 +- src/Mod/Part/Gui/SoBrepEdgeSet.h | 2 +- src/Mod/Part/Gui/ViewProvider2DObject.cpp | 2 +- src/Mod/Part/Gui/ViewProviderExt.cpp | 2 +- src/Mod/Part/Gui/ViewProviderExt.h | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml index f6057ac45d..1a5161a20b 100644 --- a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml +++ b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.xml @@ -39,7 +39,7 @@ setBiNormalMode(direction) Sets a fixed BiNormal direction to perform the sweeping. - Angular relations beetween the section(s) and the BiNormal direction will be constant. + Angular relations between the section(s) and the BiNormal direction will be constant. diff --git a/src/Mod/Part/App/CrossSection.cpp b/src/Mod/Part/App/CrossSection.cpp index c894cf4e25..be64cc8091 100644 --- a/src/Mod/Part/App/CrossSection.cpp +++ b/src/Mod/Part/App/CrossSection.cpp @@ -148,7 +148,7 @@ void CrossSection::connectEdges (const std::list& edges, std::list< TopoDS_Wire new_wire = mkWire.Wire(); // current new wire - // try to connect each edge to the wire, the wire is complete if no more egdes are connectible + // try to connect each edge to the wire, the wire is complete if no more edges are connectible bool found = false; do { found = false; diff --git a/src/Mod/Part/App/FeatureExtrusion.cpp b/src/Mod/Part/App/FeatureExtrusion.cpp index 2e3a330495..c7fb569645 100644 --- a/src/Mod/Part/App/FeatureExtrusion.cpp +++ b/src/Mod/Part/App/FeatureExtrusion.cpp @@ -229,7 +229,7 @@ Base::Vector3d Extrusion::calculateShapeNormal(const App::PropertyLink& shapeLin gp_Dir normal = surf.Plane().Axis().Direction(); //now se know the plane. But if there are faces, the - //plane normal direction is not dependent on face orientation (because findPlane only uses egdes). + //plane normal direction is not dependent on face orientation (because findPlane only uses edges). //let's fix that. TopExp_Explorer ex(sh, TopAbs_FACE); if(ex.More()) { diff --git a/src/Mod/Part/App/PrimitiveFeature.cpp b/src/Mod/Part/App/PrimitiveFeature.cpp index ab2eeb3142..1488a1c94a 100644 --- a/src/Mod/Part/App/PrimitiveFeature.cpp +++ b/src/Mod/Part/App/PrimitiveFeature.cpp @@ -144,7 +144,7 @@ void Primitive::Restore(Base::XMLReader &reader) Base::Type inputType = Base::Type::fromName(TypeName); if (prop->getTypeId().isDerivedFrom(App::PropertyFloat::getClassTypeId()) && inputType.isDerivedFrom(App::PropertyFloat::getClassTypeId())) { - // Do not directly call the property's Restore method in case the implmentation + // Do not directly call the property's Restore method in case the implementation // has changed. So, create a temporary PropertyFloat object and assign the value. App::PropertyFloat floatProp; floatProp.Restore(reader); diff --git a/src/Mod/Part/App/TopoShapePy.xml b/src/Mod/Part/App/TopoShapePy.xml index 3326a44370..d355470b05 100644 --- a/src/Mod/Part/App/TopoShapePy.xml +++ b/src/Mod/Part/App/TopoShapePy.xml @@ -490,7 +490,7 @@ Orientation is not taken into account. - Tessellate the the shape and return a list of vertices and face indices + Tessellate the shape and return a list of vertices and face indices diff --git a/src/Mod/Part/AttachmentEditor/Commands.py b/src/Mod/Part/AttachmentEditor/Commands.py index 088d8b55c8..c3dd394b3c 100644 --- a/src/Mod/Part/AttachmentEditor/Commands.py +++ b/src/Mod/Part/AttachmentEditor/Commands.py @@ -43,7 +43,7 @@ def editAttachment(feature = None, selection. take_selection: if True, current selection is filled into first references (but only if object to be attached doesn't have any references already) - create_transaction = if False, no undo transation operations will be done by the + create_transaction = if False, no undo transaction operations will be done by the dialog (consequently, canceling the dialog will not reset the feature to original state). callback_OK: function to be called upon OK. Invoked after writing values to feature, diff --git a/src/Mod/Part/BOPTools/JoinFeatures.py b/src/Mod/Part/BOPTools/JoinFeatures.py index 7bdd804bab..8e8fee84b0 100644 --- a/src/Mod/Part/BOPTools/JoinFeatures.py +++ b/src/Mod/Part/BOPTools/JoinFeatures.py @@ -61,7 +61,7 @@ def getParamRefine(): return FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Part/Boolean").GetBool("RefineModel") def cmdCreateJoinFeature(name, mode): - "cmdCreateJoinFeature(name, mode): generalized implementaion of GUI commands." + "cmdCreateJoinFeature(name, mode): generalized implementation of GUI commands." sel = FreeCADGui.Selection.getSelectionEx() FreeCAD.ActiveDocument.openTransaction("Create "+mode) FreeCADGui.addModule("BOPTools.JoinFeatures") diff --git a/src/Mod/Part/Gui/SoBrepEdgeSet.h b/src/Mod/Part/Gui/SoBrepEdgeSet.h index 116cc53bdf..b91732eaea 100644 --- a/src/Mod/Part/Gui/SoBrepEdgeSet.h +++ b/src/Mod/Part/Gui/SoBrepEdgeSet.h @@ -74,7 +74,7 @@ private: SbColor selectionColor; SbColor highlightColor; //#0000834: Minor preselection color bug - //To solve this we need a seprate color packer for highlighting and selection + //To solve this we need a separate color packer for highlighting and selection SoColorPacker colorpacker1; SoColorPacker colorpacker2; }; diff --git a/src/Mod/Part/Gui/ViewProvider2DObject.cpp b/src/Mod/Part/Gui/ViewProvider2DObject.cpp index f5b6a2e4b7..5cd3f131fe 100644 --- a/src/Mod/Part/Gui/ViewProvider2DObject.cpp +++ b/src/Mod/Part/Gui/ViewProvider2DObject.cpp @@ -280,7 +280,7 @@ void ViewProvider2DObject::Restore(Base::XMLReader &reader) Base::Type inputType = Base::Type::fromName(TypeName); if (prop->getTypeId().isDerivedFrom(App::PropertyFloat::getClassTypeId()) && inputType.isDerivedFrom(App::PropertyFloat::getClassTypeId())) { - // Do not directly call the property's Restore method in case the implmentation + // Do not directly call the property's Restore method in case the implementation // has changed. So, create a temporary PropertyFloat object and assign the value. App::PropertyFloat floatProp; floatProp.Restore(reader); diff --git a/src/Mod/Part/Gui/ViewProviderExt.cpp b/src/Mod/Part/Gui/ViewProviderExt.cpp index 066b94d3b2..d174781024 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.cpp +++ b/src/Mod/Part/Gui/ViewProviderExt.cpp @@ -468,7 +468,7 @@ void ViewProviderPartExt::attach(App::DocumentObject *pcFeat) pShapeHints->vertexOrdering = SoShapeHints::COUNTERCLOCKWISE; pShapeHints->shapeType = SoShapeHints::UNKNOWN_SHAPE_TYPE; - // Avoid any Z-buffer artefacts, so that the lines always appear on top of the faces + // Avoid any Z-buffer artifacts, so that the lines always appear on top of the faces // The correct order is Edges, Polygon offset, Faces. SoPolygonOffset* offset = new SoPolygonOffset(); diff --git a/src/Mod/Part/Gui/ViewProviderExt.h b/src/Mod/Part/Gui/ViewProviderExt.h index 33accd97a0..ca6df71e9c 100644 --- a/src/Mod/Part/Gui/ViewProviderExt.h +++ b/src/Mod/Part/Gui/ViewProviderExt.h @@ -111,7 +111,7 @@ public: virtual std::string getElement(const SoDetail*) const; virtual SoDetail* getDetail(const char*) const; virtual std::vector getModelPoints(const SoPickedPoint *) const; - /// return the higlight lines for a given element or the whole shape + /// return the highlight lines for a given element or the whole shape virtual std::vector getSelectionShape(const char* Element) const; //@}