Fix typos [skip ci]

Found via `codespell v2.1.dev0`
This commit is contained in:
luz paz
2020-12-22 22:12:39 -05:00
parent 5cc43c0306
commit 439bf8960d
5 changed files with 10 additions and 10 deletions

View File

@@ -792,7 +792,7 @@ class ObjectSlot(PathOp.ObjectOp):
flag = 1
eCnt = len(shape.Edges)
lstE = eCnt - 1
for i in range(0, eCnt): # populate empty parrallel edge flag list
for i in range(0, eCnt): # populate empty parallel edge flag list
parallel_edge_flags.append(0)
for i in range(0, eCnt): # Cycle through edges to identify parallel pairs
if i < lstE:
@@ -1075,7 +1075,7 @@ class ObjectSlot(PathOp.ObjectOp):
def _normalizeVector(self, v):
"""_normalizeVector(v)...
Returns a copy of the vector recieved with values rounded to 10 decimal places."""
Returns a copy of the vector received with values rounded to 10 decimal places."""
posTol = 0.0000000001
negTol = -1 * posTol
V = FreeCAD.Vector(v.x, v.y, v.z)
@@ -1220,7 +1220,7 @@ class ObjectSlot(PathOp.ObjectOp):
def _extendArcSlot(self, p1, p2, cent, begExt, endExt):
"""_extendArcSlot(p1, p2, cent, begExt, endExt)...
This function extends an arc defined by two end points, p1 and p2, and the center.
The arc is extended along the circumferance with begExt and endExt values.
The arc is extended along the circumference with begExt and endExt values.
The function returns the new end points as tuple (n1, n2) to replace p1 and p2."""
cancel = True
n1 = p1

View File

@@ -490,8 +490,8 @@ def HEIDEN_End(ActualJob): #use Label for program name
program_id = "NEW"
return "END PGM " + program_id + " " + UNITS
#def HEIDEN_ToolDef(tool_id, tool_lenght, tool_radius): # old machines don't have tool table, need tooldef list
# return "TOOL DEF " + tool_id + " R" + "{:.3f}".format(tool_lenght) + " L" + "{:.3f}".format(tool_radius)
#def HEIDEN_ToolDef(tool_id, tool_length, tool_radius): # old machines don't have tool table, need tooldef list
# return "TOOL DEF " + tool_id + " R" + "{:.3f}".format(tool_length) + " L" + "{:.3f}".format(tool_radius)
def HEIDEN_ToolCall(tool_Params):
global MACHINE_SPINDLE_DIRECTION