Misc. typo fixes
Found via `codespell -q 2`
This commit is contained in:
@@ -351,7 +351,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
(self.xRotRad, self.yRotRad, self.zRotRad) = opHeights[0] # pylint: disable=attribute-defined-outside-init
|
||||
(self.clrOfset, self.safOfst) = opHeights[1] # pylint: disable=attribute-defined-outside-init
|
||||
|
||||
# Set clearnance and safe heights based upon rotation radii
|
||||
# Set clearance and safe heights based upon rotation radii
|
||||
if obj.EnableRotation == 'A(x)':
|
||||
strDep = self.xRotRad
|
||||
elif obj.EnableRotation == 'B(y)':
|
||||
|
||||
@@ -216,7 +216,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
PathLog.debug("Exec. opHeights[0]: " + str(opHeights[0]))
|
||||
PathLog.debug("Exec. opHeights[1]: " + str(opHeights[1]))
|
||||
|
||||
# Set clearnance and safe heights based upon rotation radii
|
||||
# Set clearance and safe heights based upon rotation radii
|
||||
if obj.EnableRotation == 'A(x)':
|
||||
strDep = self.xRotRad
|
||||
elif obj.EnableRotation == 'B(y)':
|
||||
@@ -228,7 +228,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
obj.ClearanceHeight.Value = strDep + clrOfset
|
||||
obj.SafeHeight.Value = strDep + safOfst
|
||||
|
||||
# Create visual axises when debugging.
|
||||
# Create visual axes when debugging.
|
||||
if PathLog.getLevel(PathLog.thisModule()) == 4:
|
||||
self.visualAxis()
|
||||
|
||||
@@ -255,7 +255,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
if rtn is True:
|
||||
(clnBase, angle, clnStock, tag) = self.applyRotationalAnalysis(obj, base, angle, axis, subCount)
|
||||
# Verify faces are correctly oriented - InverseAngle might be necessary
|
||||
PathLog.debug("Verifing {} orientation: running faceRotationAnalysis() again.".format(sub))
|
||||
PathLog.debug("Verifying {} orientation: running faceRotationAnalysis() again.".format(sub))
|
||||
faceIA = getattr(clnBase.Shape, sub)
|
||||
(norm, surf) = self.getFaceNormAndSurf(faceIA)
|
||||
(rtn, praAngle, praAxis, praInfo) = self.faceRotationAnalysis(obj, norm, surf) # pylint: disable=unused-variable
|
||||
@@ -269,7 +269,7 @@ class ObjectOp(PathOp.ObjectOp):
|
||||
if len(subsList) == 1:
|
||||
msg += translate("Path", "Consider toggling the 'InverseAngle' property and recomputing.")
|
||||
else:
|
||||
msg += translate("Path", "Consider transfering '{}' to independent operation.".format(sub))
|
||||
msg += translate("Path", "Consider transferring '{}' to independent operation.".format(sub))
|
||||
PathLog.warning(msg)
|
||||
# title = translate("Path", 'Rotation Warning')
|
||||
# self.guiMessage(title, msg, False)
|
||||
|
||||
Reference in New Issue
Block a user