Fix various typos

Found via codespell
This commit is contained in:
luzpaz
2025-09-07 22:04:55 -04:00
committed by Chris Hennes
parent 38f34894d4
commit ee78a6c536
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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
};

View File

@@ -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
"""
...