- solved issue #381 where there was an error when trying to generate CNCJob out of an Excellon file that have a tool with only slots and no drills
- solved some issues in the preprocessors regarding the newly introduced feature that allow control of the final move X,Y positions
This commit is contained in:
@@ -220,7 +220,7 @@ G00 Z{z_toolchange}
|
||||
end_coords_xy = p['xy_end']
|
||||
gcode = ('G00 Z' + self.feedrate_format % (p.fr_decimals, p.z_end) + "\n")
|
||||
|
||||
if end_coords_xy != '':
|
||||
if end_coords_xy and end_coords_xy != '':
|
||||
gcode += 'G00 X{x} Y{y}'.format(x=end_coords_xy[0], y=end_coords_xy[1]) + "\n"
|
||||
return gcode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user