source typo fixes pt1 (only on py3 merged code)
issue 0002914
This commit is contained in:
@@ -42,7 +42,7 @@ class Creator(recreator.Redirector):
|
||||
path.append(ocl.Line(ocl.Point(self.x, self.y, self.z), ocl.Point(self.x, self.y, self.z)))
|
||||
self.setPdcfIfNotSet()
|
||||
if (self.z>self.minz):
|
||||
self.pdcf.setZ(self.z) # Adjust Z if we have gotten a higher limit (Fix pocketing loosing steps when using attach?)
|
||||
self.pdcf.setZ(self.z) # Adjust Z if we have gotten a higher limit (Fix pocketing losing steps when using attach?)
|
||||
else:
|
||||
self.pdcf.setZ(self.minz/units) # Else use minz
|
||||
self.pdcf.setPath(path)
|
||||
@@ -56,7 +56,7 @@ class Creator(recreator.Redirector):
|
||||
self.setPdcfIfNotSet()
|
||||
|
||||
if (self.z>self.minz):
|
||||
self.pdcf.setZ(self.z) # Adjust Z if we have gotten a higher limit (Fix pocketing loosing steps when using attach?)
|
||||
self.pdcf.setZ(self.z) # Adjust Z if we have gotten a higher limit (Fix pocketing losing steps when using attach?)
|
||||
else:
|
||||
self.pdcf.setZ(self.minz/units) # Else use minz
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ class CreatorEMC2tap(emc2.CreatorEMC2):
|
||||
def tap(self, x=None, y=None, z=None, zretract=None, depth=None, standoff=None, dwell_bottom=None, pitch=None, stoppos=None, spin_in=None, spin_out=None, tap_mode=None, direction=None):
|
||||
# mystery parameters:
|
||||
# zretract=None, dwell_bottom=None,pitch=None, stoppos=None, spin_in=None, spin_out=None):
|
||||
# I dont see how to map these to EMC Gcode
|
||||
# I don't see how to map these to EMC Gcode
|
||||
|
||||
if (standoff == None):
|
||||
# This is a bad thing. All the drilling cycles need a retraction (and starting) height.
|
||||
|
||||
@@ -855,7 +855,7 @@ class Creator(nc.Creator):
|
||||
def tap(self, x=None, y=None, z=None, zretract=None, depth=None, standoff=None, dwell_bottom=None, pitch=None, stoppos=None, spin_in=None, spin_out=None, tap_mode=None, direction=None):
|
||||
# mystery parameters:
|
||||
# zretract=None, dwell_bottom=None,pitch=None, stoppos=None, spin_in=None, spin_out=None):
|
||||
# I dont see how to map these to EMC Gcode
|
||||
# I don't see how to map these to EMC Gcode
|
||||
|
||||
if (standoff == None):
|
||||
# This is a bad thing. All the drilling cycles need a retraction (and starting) height.
|
||||
|
||||
Reference in New Issue
Block a user