- fixed postprocessor files to work with toolchange_xy parameter value = None (no values in Edit - Preferences fields) - actual fix
- fixed Tcl commands CncJob and DrillCncJob to work with toolchange
This commit is contained in:
@@ -80,8 +80,12 @@ class line_xyz(FlatCAMPostProc):
|
||||
toolchangex = toolchangexy[0]
|
||||
toolchangey = toolchangexy[1]
|
||||
else:
|
||||
toolchangex = p.x
|
||||
toolchangey = p.y
|
||||
if str(p['options']['type']) == 'Excellon':
|
||||
toolchangex = p.oldx
|
||||
toolchangey = p.oldy
|
||||
else:
|
||||
toolchangex = p.x
|
||||
toolchangey = p.y
|
||||
|
||||
no_drills = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user