- fixed an issue when importing GCode which made the loaded GCode object un-plotable

This commit is contained in:
Marius Stanciu
2022-03-10 16:11:56 +02:00
committed by Marius
parent 311f2d3531
commit bcadbf272c
2 changed files with 17 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ CHANGELOG for FlatCAM beta
- remade the Film Plugin such that the `skew` feature is now done in length units as opposed with the previous usage of angles
- refactored some big methods from the Film Plugin
- `skew` feature in Film Plugin now have multiple options. `skew` can be done by length, by angle and by ratio (factor)
- fixed an issue when importing GCode which made the loaded GCode object un-plotable
9.03.2022

View File

@@ -64,6 +64,22 @@ class CNCJobObject(FlatCAMObj, CNCjob):
"dwell": False,
"dwelltime": 1,
"type": 'Geometry',
"cncjob_tooldia": self.app.options["cncjob_tooldia"],
"cncjob_coords_type": self.app.options["cncjob_coords_type"],
"cncjob_coords_decimals": self.app.options["cncjob_coords_decimals"],
"cncjob_fr_decimals": self.app.options["cncjob_fr_decimals"],
# bed square compensation
"cncjob_bed_max_x": self.app.options["cncjob_bed_max_x"],
"cncjob_bed_max_y": self.app.options["cncjob_bed_max_y"],
"cncjob_bed_offset_x": self.app.options["cncjob_bed_offset_x"],
"cncjob_bed_offset_y": self.app.options["cncjob_bed_offset_y"],
"cncjob_bed_skew_x": self.app.options["cncjob_bed_skew_x"],
"cncjob_bed_skew_y": self.app.options["cncjob_bed_skew_y"],
"cncjob_steps_per_circle": 16,
# "toolchange_macro": '',
# "toolchange_macro_enable": False
"tools_al_travelz": self.app.options["tools_al_travelz"],