- fixed bug in ToolCutout where creating a cutout object geometry from another external isolation geometry failed

- fixed bug in cncjob TclCommand where the gcode could not be correctly generated due of missing bounds params in obj.options dict
- fixed a hardcoded tolerance in FlatCAMGeometry.generatecncjob() and in FlatCAMGeometry.mtool_gen_cncjob() to use the parameter from Preferences
This commit is contained in:
Marius Stanciu
2019-06-07 23:14:00 +03:00
parent 2974389404
commit a5ffe475dd
5 changed files with 39 additions and 10 deletions

View File

@@ -4969,7 +4969,6 @@ class CNCjob(Geometry):
self.pp_solderpaste_name = None
# Controls if the move from Z_Toolchange to Z_Move is done fast with G0 or normally with G1
self.f_plunge = None
@@ -5817,7 +5816,7 @@ class CNCjob(Geometry):
if offset != 0.0:
offset_for_use = offset
if offset <0:
if offset < 0:
a, b, c, d = bounds_rec(geometry.solid_geometry)
# if the offset is less than half of the total length or less than half of the total width of the
# solid geometry it's obvious we can't do the offset
@@ -5929,8 +5928,6 @@ class CNCjob(Geometry):
if shape is not None: # TODO: This shouldn't have happened.
storage.insert(shape)
# self.input_geometry_bounds = geometry.bounds()
if not append:
self.gcode = ""