- more messages
This commit is contained in:
@@ -4785,7 +4785,9 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
|
||||
else:
|
||||
dia_cnc_dict['gcode'] = res
|
||||
|
||||
self.app.inform.emit('[success] %s' % _("G-Code parsing in progress..."))
|
||||
dia_cnc_dict['gcode_parsed'] = job_obj.gcode_parse()
|
||||
self.app.inform.emit('[success] %s' % _("G-Code parsing finished..."))
|
||||
|
||||
# TODO this serve for bounding box creation only; should be optimized
|
||||
# commented this; there is no need for the actual GCode geometry - the original one will serve as well
|
||||
@@ -4794,10 +4796,10 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
|
||||
# geo['geom'] for geo in dia_cnc_dict['gcode_parsed'] if geo['geom'].is_valid is True
|
||||
# ])
|
||||
try:
|
||||
dia_cnc_dict['solid_geometry'] = cascaded_union(tool_solid_geometry)
|
||||
self.app.inform.emit(_("[success] Finished G-Code processing..."))
|
||||
dia_cnc_dict['solid_geometry'] = tool_solid_geometry
|
||||
self.app.inform.emit('[success] %s' % _("Finished G-Code processing..."))
|
||||
except Exception as e:
|
||||
self.app.inform.emit(_("[ERROR] G-Code processing failed with error: %s") % str(e))
|
||||
self.app.inform.emit('[ERROR] %s' % _("G-Code processing failed with error: %s") % str(e))
|
||||
|
||||
# tell gcode_parse from which point to start drawing the lines depending on what kind of
|
||||
# object is the source of gcode
|
||||
|
||||
Reference in New Issue
Block a user