diff --git a/src/Doc/BuildDocDoxyFull.cfg b/src/Doc/BuildDocDoxyFull.cfg
index 99eff7ccc6..6b5323f8b9 100644
--- a/src/Doc/BuildDocDoxyFull.cfg
+++ b/src/Doc/BuildDocDoxyFull.cfg
@@ -593,7 +593,7 @@ REFERENCES_RELATION = YES
# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
-# link to the source code. Otherwise they will link to the documentstion.
+# link to the source code. Otherwise they will link to the documentation.
REFERENCES_LINK_SOURCE = YES
diff --git a/src/Gui/Action.cpp b/src/Gui/Action.cpp
index 279447a86b..55961557ea 100644
--- a/src/Gui/Action.cpp
+++ b/src/Gui/Action.cpp
@@ -325,7 +325,7 @@ QString Action::createToolTip(QString helpText,
//
// The long winding code is to deal with the fact that Qt will auto wrap
// a rich text tooltip but the width is too short. We can escape the auto
- // wrappin using
.
+ // wrapping using
.
QString shortcut = shortCut;
if (!shortcut.isEmpty() && helpText.endsWith(shortcut)) {
diff --git a/src/Gui/CommandFeat.cpp b/src/Gui/CommandFeat.cpp
index f41237ca79..931b3b188a 100644
--- a/src/Gui/CommandFeat.cpp
+++ b/src/Gui/CommandFeat.cpp
@@ -147,7 +147,7 @@ StdCmdToggleFreeze::StdCmdToggleFreeze()
sGroup = "File";
sMenuText = QT_TR_NOOP("Toggle freeze");
static std::string toolTip = std::string("
")
- + QT_TR_NOOP("Toggles freeze sate of the selected objects. A freezed object is not recomputed when its parents change.")
+ + QT_TR_NOOP("Toggles freeze state of the selected objects. A freezed object is not recomputed when its parents change.")
+ "
";
sToolTipText = toolTip.c_str();
sStatusTip = sToolTipText;
diff --git a/src/Gui/DlgPreferencesImp.cpp b/src/Gui/DlgPreferencesImp.cpp
index b6db2e073a..cf6be8493d 100644
--- a/src/Gui/DlgPreferencesImp.cpp
+++ b/src/Gui/DlgPreferencesImp.cpp
@@ -927,7 +927,7 @@ void DlgPreferencesImp::restorePageDefaults(PreferencesPageItem* item)
page->resetSettingsToDefaults();
/**
* Let's save the restart request before the page object is deleted and replaced with
- * the newPage object (wich has restartRequired initialized to false)
+ * the newPage object (which has restartRequired initialized to false)
*/
restartRequired = restartRequired || page->isRestartRequired();
diff --git a/src/Gui/SoFCUnifiedSelection.cpp b/src/Gui/SoFCUnifiedSelection.cpp
index c853ce333b..215316b108 100644
--- a/src/Gui/SoFCUnifiedSelection.cpp
+++ b/src/Gui/SoFCUnifiedSelection.cpp
@@ -1712,7 +1712,7 @@ void SoFCPathAnnotation::GLRenderBelowPath(SoGLRenderAction * action)
if(path->getLength() != tmpPath->getLength()) {
// The auditing SoPath may be truncated due to harmless things such as
- // fliping a SoSwitch sibling node. So we keep an unauditing SoTempPath
+ // flipping a SoSwitch sibling node. So we keep an unauditing SoTempPath
// around to try to restore the path.
for(int i=path->getLength()-1;igetLength()-1;++i) {
auto children = path->getNode(i)->getChildren();
diff --git a/src/Gui/Tree.cpp b/src/Gui/Tree.cpp
index 5ef4331f5c..e4b5ba6b34 100644
--- a/src/Gui/Tree.cpp
+++ b/src/Gui/Tree.cpp
@@ -1564,7 +1564,7 @@ void TreeWidget::mousePressEvent(QMouseEvent* event)
{
QTreeWidget::mousePressEvent(event);
- // Handle the visibility icon after the normal event processing to not interfer with
+ // Handle the visibility icon after the normal event processing to not interfere with
// the selection logic.
if (isVisibilityIconEnabled()) {
QTreeWidgetItem* item = itemAt(event->pos());
diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py
index db7358e59c..91da2f5b79 100644
--- a/src/Mod/Arch/ArchBuildingPart.py
+++ b/src/Mod/Arch/ArchBuildingPart.py
@@ -883,7 +883,7 @@ class ViewProviderBuildingPart:
return True
def setEdit(self, vobj, mode):
- # mode == 1 if Transform is selected in the Tree view contex menu.
+ # mode == 1 if Transform is selected in the Tree view context menu.
# mode == 2 has been added for consistency.
if mode == 1 or mode == 2:
return None
diff --git a/src/Mod/Arch/ArchWall.py b/src/Mod/Arch/ArchWall.py
index 02490d41e1..89d8e953c6 100644
--- a/src/Mod/Arch/ArchWall.py
+++ b/src/Mod/Arch/ArchWall.py
@@ -1270,7 +1270,8 @@ class _Wall(ArchComponent.Component):
# If the object is a single edge, use that as the
# basewires.
- # TODO 2023.11.26: Need to check if it is not Sketch afterall first or use algoritm for Sketch altogher?
+ # TODO 2023.11.26: Need to check if it isn't Sketch after all first
+ # or use algorithm for Sketch altogether?
elif len(obj.Base.Shape.Edges) == 1:
self.basewires = [Part.Wire(obj.Base.Shape.Edges)]
diff --git a/src/Mod/Assembly/App/AssemblyObject.cpp b/src/Mod/Assembly/App/AssemblyObject.cpp
index b5a060560c..dead9a8c65 100644
--- a/src/Mod/Assembly/App/AssemblyObject.cpp
+++ b/src/Mod/Assembly/App/AssemblyObject.cpp
@@ -1190,7 +1190,7 @@ std::vector AssemblyObject::getDownstreamParts(App::Docume
}
AssemblyObject::setJointActivated(joint, state);
- /*if (limit > 1000) { // Inifinite loop protection
+ /*if (limit > 1000) { // Infinite loop protection
return {};
}
limit++;
@@ -1243,7 +1243,7 @@ std::vector AssemblyObject::getDownstreamParts(App::Docume
std::vector AssemblyObject::getUpstreamParts(App::DocumentObject* part,
int limit)
{
- if (limit > 1000) { // Inifinite loop protection
+ if (limit > 1000) { // Infinite loop protection
return {};
}
limit++;
diff --git a/src/Mod/CAM/App/AreaParams.h b/src/Mod/CAM/App/AreaParams.h
index 55a96ec762..6740e6efb5 100644
--- a/src/Mod/CAM/App/AreaParams.h
+++ b/src/Mod/CAM/App/AreaParams.h
@@ -68,7 +68,7 @@
"behave like wire cutting. Without exploding, 'Difference' in ClipperLib\n"\
"behave like face cutting."))\
((enum,open_mode,OpenMode,0,\
- "Specify how to handle open wires. 'None' means combin without openeration.\n"\
+ "Specify how to handle open wires. 'None' means combine without openeration.\n"\
"'Edges' means separate to edges before Union. ClipperLib seems to have an.\n"\
"urge to close open wires.",(None)(Union)(Edges)))\
AREA_PARAMS_DEFLECTION \
diff --git a/src/Mod/Fem/femobjects/constraint_tie.py b/src/Mod/Fem/femobjects/constraint_tie.py
index d6a5878c6d..9301d9fddf 100644
--- a/src/Mod/Fem/femobjects/constraint_tie.py
+++ b/src/Mod/Fem/femobjects/constraint_tie.py
@@ -105,7 +105,7 @@ class ConstraintTie(base_fempythonobject.BaseFemPythonObject):
def onDocumentRestored(self, obj):
- # update old proyect with new properties
+ # update old project with new properties
for prop in self._get_properties():
try:
obj.getPropertyByName(prop.name)
diff --git a/src/Mod/Part/App/PartFeature.cpp b/src/Mod/Part/App/PartFeature.cpp
index 2fe5d8c637..5c0fca6fb1 100644
--- a/src/Mod/Part/App/PartFeature.cpp
+++ b/src/Mod/Part/App/PartFeature.cpp
@@ -565,7 +565,7 @@ QVector Feature::getRelatedElements(App::DocumentObject* ob
for (auto rit = src.rbegin(); idx >= 0 && rit != src.rend(); ++rit, --idx) {
// TODO: shall we ignore source tag when comparing? It could cause
// matching unrelated element, but it does help dealing with feature
- // reording in PartDesign::Body.
+ // recording in PartDesign::Body.
if (rit->second != source[idx].second) {
++idx;
break;
diff --git a/src/Mod/Part/App/TopoShapeExpansion.cpp b/src/Mod/Part/App/TopoShapeExpansion.cpp
index b30c1604a9..225c114fa2 100644
--- a/src/Mod/Part/App/TopoShapeExpansion.cpp
+++ b/src/Mod/Part/App/TopoShapeExpansion.cpp
@@ -4185,7 +4185,7 @@ TopoShape& TopoShape::makeElementPrism(const TopoShape& base, const gp_Vec& vec,
// // DO NOT include uptoface for element mapping. Because OCCT
// // BRepFeat_MakePrism will report all top extruded face being
// // modified by the uptoface. If there are more than one face in
-// // the profile, this will cause uncessary duplicated element
+// // the profile, this will cause unnecessary duplicated element
// // mapped name. And will also disrupte element history tracing
// // back to the profile sketch.
// //
diff --git a/src/Mod/Sketcher/App/planegcs/Geo.h b/src/Mod/Sketcher/App/planegcs/Geo.h
index c19a5d7ebd..b021ef2e84 100644
--- a/src/Mod/Sketcher/App/planegcs/Geo.h
+++ b/src/Mod/Sketcher/App/planegcs/Geo.h
@@ -433,7 +433,7 @@ public:
DeriVector2 CalculateNormal(const double* param,
const double* derivparam = nullptr) const override;
DeriVector2 Value(double u, double du, const double* derivparam = nullptr) const override;
- // Returns value in homogenous coordinates (x*w, y*w, w) at given parameter u
+ // Returns value in homogeneous coordinates (x*w, y*w, w) at given parameter u
void valueHomogenous(const double u,
double* xw,
double* yw,
diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
index d43e3f9f7b..95ae557362 100644
--- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
+++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
@@ -1961,7 +1961,7 @@ void ViewProviderSketch::moveAngleConstraint(Sketcher::Constraint* constr, int c
if (reverse) {
obj->reverseAngleConstraintToSupplementary(constr, constNum);
- ap3 = intersection + dir1 - dir2; //- dir2 instead fo std::swap(dir1, dir2) and dir1 = -dir1
+ ap3 = intersection + dir1 - dir2; //- dir2 instead of std::swap(dir1, dir2) and dir1 = -dir1
sign1 = isLeftOfLine(p11, p12, ap3);
sign2 = isLeftOfLine(p21, p22, ap3);
}
diff --git a/tests/src/Mod/Part/App/PartFeature.cpp b/tests/src/Mod/Part/App/PartFeature.cpp
index 3d4cd037bd..8b234e5bbf 100644
--- a/tests/src/Mod/Part/App/PartFeature.cpp
+++ b/tests/src/Mod/Part/App/PartFeature.cpp
@@ -110,7 +110,7 @@ TEST_F(FeaturePartTest, create)
// the same document, the other feature will get an unique name that will still contain "Shape"
EXPECT_STREQ(_doc->getObjectName(featureNoName), "Shape001");
- // There aren't other features with name "Vertex" in _doc, therefor that name will be assigned
+ // There aren't other features with name "Vertex" in _doc, therefore that name will be assigned
// without modifications
EXPECT_STREQ(_doc->getObjectName(featureNoDoc), "Vertex");
@@ -120,12 +120,12 @@ TEST_F(FeaturePartTest, create)
// Check that the features have been created in the correct document
- // The first 3 calls to Feature::create acts on _doc, which is empty, and therefor the number of
- // features in that document is the same of the features created with Feature::create
+ // The first 3 calls to Feature::create acts on _doc, which is empty, and therefore the number
+ // of features in that document is the same of the features created with Feature::create
EXPECT_EQ(_doc->getObjects().size(), 3);
- // The last call to Feature::create acts on otherDoc, which is empty, and therefor that document
- // will have only 1 feature
+ // The last call to Feature::create acts on otherDoc, which is empty, and therefore that
+ // document will have only 1 feature
EXPECT_EQ(otherDoc->getObjects().size(), 1);
}
diff --git a/tests/src/Mod/Part/App/TopoShapeExpansion.cpp b/tests/src/Mod/Part/App/TopoShapeExpansion.cpp
index 8113dc2989..c33902795f 100644
--- a/tests/src/Mod/Part/App/TopoShapeExpansion.cpp
+++ b/tests/src/Mod/Part/App/TopoShapeExpansion.cpp
@@ -249,7 +249,8 @@ TEST_F(TopoShapeExpansionTest, MapperMakerModified)
// Check the result of the operations
EXPECT_EQ(transformMprMkr.modified(wire).size(), 1); // The Transformation acts on the Wire...
- EXPECT_EQ(transformMprMkr.modified(face).size(), 1); // ... and therefor on the created Face...
+ EXPECT_EQ(transformMprMkr.modified(face).size(),
+ 1); // ... and therefore on the created Face...
EXPECT_EQ(transformMprMkr.modified(edge).size(), 1); // ... and on the Edge added to the Face
EXPECT_EQ(splitMprMkr.modified(edge).size(), 0); // The Split doesn't modify the Edge