Merged in sopak/flatcam/cncjob-multidepth (pull request #30)

Add parameters to cncjob tcl shell command
This commit is contained in:
jpcgt
2016-02-25 13:12:28 -05:00

View File

@@ -2648,7 +2648,9 @@ class App(QtCore.QObject):
'feedrate': float,
'tooldia': float,
'outname': str,
'spindlespeed': int
'spindlespeed': int,
'multidepth' : bool,
'depthperpass' : float
}
for key in kwa:
@@ -3219,13 +3221,15 @@ class App(QtCore.QObject):
'cncjob': {
'fcn': cncjob,
'help': 'Generates a CNC Job from a Geometry Object.\n' +
'> cncjob <name> [-z_cut <c>] [-z_move <m>] [-feedrate <f>] [-tooldia <t>] [-spindlespeed (int)] [-outname <n>]\n' +
'> cncjob <name> [-z_cut <c>] [-z_move <float>] [-feedrate <float>] [-tooldia <float>] [-spindlespeed <int>] [-multidepth <bool>] [-depthperpass <float>] [-outname <str>]\n' +
' name: Name of the source object\n' +
' z_cut: Z-axis cutting position\n' +
' z_move: Z-axis moving position\n' +
' feedrate: Moving speed when cutting\n' +
' tooldia: Tool diameter to show on screen\n' +
' spindlespeed: Speed of the spindle in rpm (example: 4000)\n' +
' multidepth: Use or not multidepth cnccut\n'+
' depthperpass: Height of one layer for multidepth\n'+
' outname: Name of the output object'
},
'write_gcode': {