diff --git a/src/App/PropertyFile.cpp b/src/App/PropertyFile.cpp index cf34b69b06..916db26195 100644 --- a/src/App/PropertyFile.cpp +++ b/src/App/PropertyFile.cpp @@ -438,7 +438,7 @@ void PropertyFileIncluded::Restore(Base::XMLReader &reader) if (reader.hasAttribute("file")) { string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); // is in the document transient path aboutToSetValue(); diff --git a/src/App/PropertyGeo.cpp b/src/App/PropertyGeo.cpp index e92cc5a9aa..5f54bfc508 100644 --- a/src/App/PropertyGeo.cpp +++ b/src/App/PropertyGeo.cpp @@ -408,7 +408,7 @@ void PropertyVectorList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -907,7 +907,7 @@ void PropertyPlacementList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/App/PropertyStandard.cpp b/src/App/PropertyStandard.cpp index 856dadc5fc..c995e34a23 100644 --- a/src/App/PropertyStandard.cpp +++ b/src/App/PropertyStandard.cpp @@ -1370,7 +1370,7 @@ void PropertyFloatList::Restore(Base::XMLReader &reader) string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -2608,7 +2608,7 @@ void PropertyColorList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file")); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -2887,7 +2887,7 @@ void PropertyMaterialList::Restore(Base::XMLReader &reader) std::string file(reader.getAttribute("file")); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(), this); } } diff --git a/src/Gui/ToolBarManager.cpp b/src/Gui/ToolBarManager.cpp index 554bd3b980..b96167114c 100644 --- a/src/Gui/ToolBarManager.cpp +++ b/src/Gui/ToolBarManager.cpp @@ -183,7 +183,7 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems) int max_width = getMainWindow()->width(); int top_width = 0; - + ParameterGrp::handle hPref = App::GetApplication().GetUserParameter().GetGroup("BaseApp") ->GetGroup("MainWindow")->GetGroup("Toolbars"); QList items = toolBarItems->getItems(); @@ -272,8 +272,8 @@ void ToolBarManager::setup(ToolBarItem* item, QToolBar* toolbar) const // set the tool button user data if (action) action->setData(QString::fromLatin1((*it)->command().c_str())); } else { - // Note: For toolbars we do not remove and readd the actions - // because this causes flicker effects. So, it could happen that the order of + // Note: For toolbars we do not remove and re-add the actions + // because this causes flicker effects. So, it could happen that the order of // buttons doesn't match with the order of commands in the workbench. int index = actions.indexOf(action); actions.removeAt(index); diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index 0620818090..1e0924e400 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -245,7 +245,7 @@ public: } #endif - // Bug #0000607: Some mices also support horizontal scrolling which however might + // Bug #0000607: Some mice also support horizontal scrolling which however might // lead to some unwanted zooming when pressing the MMB for panning. // Thus, we filter out horizontal scrolling. if (event->type() == QEvent::Wheel) { diff --git a/src/Mod/Cam/doxygen_config b/src/Mod/Cam/doxygen_config index 3645d2455c..98c9ee8c56 100644 --- a/src/Mod/Cam/doxygen_config +++ b/src/Mod/Cam/doxygen_config @@ -4,7 +4,7 @@ # Project related configuration options #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = "FreeCAD CAM Modul" +PROJECT_NAME = "FreeCAD CAM Module" PROJECT_NUMBER = 0.1 OUTPUT_DIRECTORY = Doc CREATE_SUBDIRS = NO diff --git a/src/Mod/Draft/DraftGui.py b/src/Mod/Draft/DraftGui.py index 28032dc89e..19e53fb112 100644 --- a/src/Mod/Draft/DraftGui.py +++ b/src/Mod/Draft/DraftGui.py @@ -1585,7 +1585,7 @@ class DraftToolBar: def checkSpecialChars(self,txt): ''' - checks for special characters in the entered coords that mut be + checks for special characters in the entered coords that must be treated as shortcuts ''' diff --git a/src/Mod/Fem/App/FemMesh.cpp b/src/Mod/Fem/App/FemMesh.cpp index dfc5a51e97..c7249fdbcf 100644 --- a/src/Mod/Fem/App/FemMesh.cpp +++ b/src/Mod/Fem/App/FemMesh.cpp @@ -1656,7 +1656,7 @@ void FemMesh::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } if( reader.hasAttribute("a11")){ diff --git a/src/Mod/Fem/App/PropertyPostDataObject.cpp b/src/Mod/Fem/App/PropertyPostDataObject.cpp index 9b72771457..5d5952720c 100644 --- a/src/Mod/Fem/App/PropertyPostDataObject.cpp +++ b/src/Mod/Fem/App/PropertyPostDataObject.cpp @@ -235,7 +235,7 @@ void PropertyPostDataObject::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Inspection/App/InspectionFeature.cpp b/src/Mod/Inspection/App/InspectionFeature.cpp index 18e789f1f3..d5c5946bf6 100644 --- a/src/Mod/Inspection/App/InspectionFeature.cpp +++ b/src/Mod/Inspection/App/InspectionFeature.cpp @@ -591,7 +591,7 @@ void PropertyDistanceList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Mesh/App/Core/Degeneration.h b/src/Mod/Mesh/App/Core/Degeneration.h index a0641d4eeb..1b742bdc8c 100644 --- a/src/Mod/Mesh/App/Core/Degeneration.h +++ b/src/Mod/Mesh/App/Core/Degeneration.h @@ -367,8 +367,8 @@ private: }; /** - * The MeshFixDeformedFacets class tries to fix deformed facets by swapping the commong edge with one of their neighbours. - * @note Degenerated facets are also deformed facet but this algorithm tries to fix deformed facets that or not degenrated. + * The MeshFixDeformedFacets class tries to fix deformed facets by swapping the common edge with one of their neighbours. + * @note Degenerated facets are also deformed facet but this algorithm tries to fix deformed facets that or not degenerated. * The removal of degenerated facets is done by @ref MeshFixDegeneratedFacets. * @see MeshEvalDeformedFacets * @author Werner Mayer diff --git a/src/Mod/Mesh/App/Core/TopoAlgorithm.h b/src/Mod/Mesh/App/Core/TopoAlgorithm.h index 254037ff34..c6bc1712fc 100644 --- a/src/Mod/Mesh/App/Core/TopoAlgorithm.h +++ b/src/Mod/Mesh/App/Core/TopoAlgorithm.h @@ -77,9 +77,9 @@ public: float fMaxAngle); /** * Swaps the common edge of two adjacent facets even if the operation might - * be illegal. To be sure that this operation is legal check either with + * be illegal. To be sure that this operation is legal, check either with * IsSwapEdgeLegal() or ShouldSwapEdge() before. - * An illegel swap edge operation can produce non-manifolds, degenrated + * An illegel swap edge operation can produce non-manifolds, degenerated * facets or it might create a fold on the surface, i.e. geometric overlaps * of several triangles. */ @@ -200,7 +200,7 @@ public: */ bool SnapVertex(unsigned long ulFacetPos, const Base::Vector3f& rP); /** - * Checks whether a swap edge operation is legel that is fulfilled if the + * Checks whether a swap edge operation is legal, that is fulfilled if the * two adjacent facets builds a convex polygon. If this operation is legal * true is returned, false is returned if this operation is illegal or if * \a ulFacetPos and \a ulNeighbour are not adjacent facets. diff --git a/src/Mod/Mesh/App/MeshProperties.cpp b/src/Mod/Mesh/App/MeshProperties.cpp index 3af72ca4e9..5554ef1cca 100644 --- a/src/Mod/Mesh/App/MeshProperties.cpp +++ b/src/Mod/Mesh/App/MeshProperties.cpp @@ -146,7 +146,7 @@ void PropertyNormalList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -349,7 +349,7 @@ void PropertyCurvatureList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -606,7 +606,7 @@ void PropertyMeshKernel::Restore(Base::XMLReader &reader) hasSetValue(); } else { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Part/App/PropertyTopoShape.cpp b/src/Mod/Part/App/PropertyTopoShape.cpp index 9eb4c5445f..eb8d1f2bae 100644 --- a/src/Mod/Part/App/PropertyTopoShape.cpp +++ b/src/Mod/Part/App/PropertyTopoShape.cpp @@ -263,7 +263,7 @@ void PropertyPartShape::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -591,7 +591,7 @@ void PropertyFilletEdges::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index a6d6e148a0..171b2670e2 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -2415,8 +2415,8 @@ struct ShapeInfo{ if(myWires.empty()) foreachSubshape(myShape,GetWires(myWires,myRTree,myParams),TopAbs_WIRE); - // Now find the ture nearest point among the wires returned. Currently - // only closed wire has a ture nearest point, using OCC's + // Now find the true nearest point among the wires returned. Currently + // only closed wire has a true nearest point, using OCC's // BRepExtrema_DistShapeShape. We don't do this on open wires, because // we haven't implemented wire breaking on open wire yet, and I doubt // its usefulness. diff --git a/src/Mod/Path/App/Path.cpp b/src/Mod/Path/App/Path.cpp index 58a1f4c574..25665f430a 100644 --- a/src/Mod/Path/App/Path.cpp +++ b/src/Mod/Path/App/Path.cpp @@ -338,7 +338,7 @@ void Toolpath::Restore(XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Path/App/PropertyPath.cpp b/src/Mod/Path/App/PropertyPath.cpp index f0360b07cf..05b5ce8536 100644 --- a/src/Mod/Path/App/PropertyPath.cpp +++ b/src/Mod/Path/App/PropertyPath.cpp @@ -114,7 +114,7 @@ void PropertyPath::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } diff --git a/src/Mod/Points/App/Points.cpp b/src/Mod/Points/App/Points.cpp index 111d864df8..04ca6471ab 100644 --- a/src/Mod/Points/App/Points.cpp +++ b/src/Mod/Points/App/Points.cpp @@ -176,7 +176,7 @@ void PointKernel::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } if (reader.DocumentSchema > 3) { diff --git a/src/Mod/Points/App/Properties.cpp b/src/Mod/Points/App/Properties.cpp index 0d99158a32..a56464facf 100644 --- a/src/Mod/Points/App/Properties.cpp +++ b/src/Mod/Points/App/Properties.cpp @@ -144,7 +144,7 @@ void PropertyGreyValueList::Restore(Base::XMLReader &reader) string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -318,7 +318,7 @@ void PropertyNormalList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } @@ -578,7 +578,7 @@ void PropertyCurvatureList::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } } diff --git a/src/Mod/Points/App/PropertyPointKernel.cpp b/src/Mod/Points/App/PropertyPointKernel.cpp index 6a1d659b6f..1feee5f860 100644 --- a/src/Mod/Points/App/PropertyPointKernel.cpp +++ b/src/Mod/Points/App/PropertyPointKernel.cpp @@ -104,7 +104,7 @@ void PropertyPointKernel::Restore(Base::XMLReader &reader) std::string file (reader.getAttribute("file") ); if (!file.empty()) { - // initate a file read + // initiate a file read reader.addFile(file.c_str(),this); } if(reader.DocumentSchema > 3) diff --git a/src/Mod/Robot/App/kdl_cp/path_line.hpp b/src/Mod/Robot/App/kdl_cp/path_line.hpp index 548aaf4aa1..7f27ba9062 100644 --- a/src/Mod/Robot/App/kdl_cp/path_line.hpp +++ b/src/Mod/Robot/App/kdl_cp/path_line.hpp @@ -98,7 +98,7 @@ class Path_Line : public Path * of the frame in which you express your path. * Other implementations for RotationalInterpolations COULD be * (not implemented) (yet) : - * 1) quaternion interpolation : but this is more difficult for the human to interprete + * 1) quaternion interpolation : but this is more difficult for the human to interpret * 2) 3-axis interpolation : express the orientation of the frame in e.g. * euler zyx angles alfa,beta, gamma and interpolate these parameters. * But this is dependent of the frame you choose as a reference and diff --git a/src/Mod/Robot/App/kdl_cp/utilities/error_stack.cxx b/src/Mod/Robot/App/kdl_cp/utilities/error_stack.cxx index 939421042a..547e7005b9 100644 --- a/src/Mod/Robot/App/kdl_cp/utilities/error_stack.cxx +++ b/src/Mod/Robot/App/kdl_cp/utilities/error_stack.cxx @@ -23,7 +23,7 @@ namespace KDL { // Trace of the call stack of the I/O routines to help user -// interprete error messages from I/O +// interpret error messages from I/O typedef std::stack ErrorStack; // should be in Thread Local Storage if this gets multithreaded one day... diff --git a/src/Mod/Show/TempoVis.py b/src/Mod/Show/TempoVis.py index c2e74b2b79..999f8fdc5d 100644 --- a/src/Mod/Show/TempoVis.py +++ b/src/Mod/Show/TempoVis.py @@ -319,7 +319,7 @@ class TempoVis(FrozenClass): def _enableClipPlane(self, obj, enable, placement = None, offset = 0.0): """Enables or disables clipping for an object. Placement specifies the plane (plane is placement's XY plane), and should be in global CS. - Offest shifts the plane; positive offset reveals more material, negative offset + Offset shifts the plane; positive offset reveals more material, negative offset hides more material.""" if not hasattr(obj, 'getGlobalPlacement'): print(" {obj} has no attribute 'getGlobalPlacement'".format(obj= obj.Name)) diff --git a/src/Tools/fcbt/DistBin.py b/src/Tools/fcbt/DistBin.py index df1e64091e..be6c84eb5e 100644 --- a/src/Tools/fcbt/DistBin.py +++ b/src/Tools/fcbt/DistBin.py @@ -41,7 +41,7 @@ FileTools.cpallWithFilter('../../lib',DistDir+DistBin+'/lib',FileTools.SetUpFilt #==================================================================== # copy Modules -sys.stdout.write( 'Copy modul Tree ...\n') +sys.stdout.write( 'Copy module Tree ...\n') DistTools.EnsureDir(DistDir+DistBin+'/Mod') FileTools.cpallWithFilter('../../src/Mod',DistDir+DistBin+'/Mod',FileTools.SetUpFilter(DistTools.ModFilter))