diff --git a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py index 7eca7130d8..ee6889518f 100644 --- a/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py +++ b/src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py @@ -781,7 +781,7 @@ class ObjectDressup: else: lead[-1].param["Z"] = op.StartDepth.Value - # append travel moves to cleareance height after finish all profiles + # append travel moves to clearance height after finish all profiles if last and obj.StyleOut != "No Retract": lead += self.getTravelEnd(obj) @@ -857,7 +857,7 @@ class ObjectDressup: return None - # Increse travel length from end + # Increase travel length from end def getOvertravelOut(self, obj, source, length, start, end): startPoint = source[start].positionBegin() endPoint = source[end].positionEnd() @@ -987,7 +987,7 @@ class ObjectDressup: # we just use a flag and set it to false afterwards. To find the last # cutting move we need to search the list in reverse order. - first = True # prepare first move at cleareance height + first = True # prepare first move at clearance height firstMillIndex = None # Index start mill instruction for one profile lastCuttingMoveIndex = self.findLastCuttingMoveIndex(source) inInstrPrev = None diff --git a/src/Mod/Draft/draftutils/gui_utils.py b/src/Mod/Draft/draftutils/gui_utils.py index cf67c8df92..34137815fb 100644 --- a/src/Mod/Draft/draftutils/gui_utils.py +++ b/src/Mod/Draft/draftutils/gui_utils.py @@ -123,7 +123,7 @@ def autogroup(obj): if Gui.draftToolBar.autogroup is not None: active_group = App.ActiveDocument.getObject(Gui.draftToolBar.autogroup) if active_group is None: - # Layer/group does not exixt (anymore) + # Layer/group does not exist (anymore) Gui.draftToolBar.setAutoGroup() # Change active layer/group in Tray to None. return if obj in active_group.InListRecursive: diff --git a/src/Mod/Sketcher/App/SketchObject.h b/src/Mod/Sketcher/App/SketchObject.h index 6d1ca2a0a2..d7dcb6dfc1 100644 --- a/src/Mod/Sketcher/App/SketchObject.h +++ b/src/Mod/Sketcher/App/SketchObject.h @@ -50,7 +50,7 @@ enum class DeleteOption NoFlag = 0, IncludeInternalGeometry = 1, // Only makes sense when deleting a geometry - (default for deleting a single geometry) - UpdateGeometry = 2, // Should the solver update the geomtries ? (default) - has no effect if + UpdateGeometry = 2, // Should the solver update the geometries ? (default) - has no effect if // noRecompute is false NoSolve = 4, // Can be useful if the call will do many operations and a single solve }; diff --git a/src/Mod/Sketcher/App/SketchObject.pyi b/src/Mod/Sketcher/App/SketchObject.pyi index 93db13d14e..be0a4b938d 100644 --- a/src/Mod/Sketcher/App/SketchObject.pyi +++ b/src/Mod/Sketcher/App/SketchObject.pyi @@ -265,7 +265,7 @@ class SketchObject(Part2DObject): Args: constraintIndices: The zero-based indices of the constraints to delete - updateGeometry: Wheter to update the geometry after solve + updateGeometry: Whether to update the geometry after solve """ ...