- in Milling Plugin added a property that allows to segment the resulting GCode threfore allowing autolevelling

- in Levelling Plugin added a check that allow levelling only for CNC Job objects resulted from Geometry
- some minor changes
This commit is contained in:
Marius Stanciu
2021-09-09 03:01:06 +03:00
committed by Marius
parent 8266b5c988
commit 509f4087e1
5 changed files with 80 additions and 16 deletions

View File

@@ -2785,8 +2785,11 @@ class CNCjob(Geometry):
self.dwell = dwell
self.dwelltime = dwelltime
# For Autolevelling
self.segx = float(segx) if segx is not None else 0.0
self.segy = float(segy) if segy is not None else 0.0
# tells if the generated Gcode is segmented for autolevelling
self.is_segmented_gcode = False
self.input_geometry_bounds = None
@@ -2814,9 +2817,6 @@ class CNCjob(Geometry):
# search for toolchange code: M6
self.re_toolchange = re.compile(r'^\s*(M6)$')
# tells if the generated Gcode is segmented for autolevelling
self.is_segmented_gcode = False
# Attributes to be included in serialization
# Always append to it because it carries contents
# from Geometry.