Hid offset and scale tools from CNCJob GUI. Such features are not implemented for CNCJob objects.

This commit is contained in:
Juan Pablo Caram
2015-01-19 11:53:28 -05:00
parent 670dd48127
commit d002b6c5c6
2 changed files with 37 additions and 13 deletions

View File

@@ -770,9 +770,12 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
def __init__(self, name, units="in", kind="generic", z_move=0.1,
feedrate=3.0, z_cut=-0.002, tooldia=0.0):
FlatCAMApp.App.log.debug("Creating CNCJob object...")
CNCjob.__init__(self, units=units, kind=kind, z_move=z_move,
feedrate=feedrate, z_cut=z_cut, tooldia=tooldia)
FlatCAMObj.__init__(self, name)
self.kind = "cncjob"