- fixed errors in the Roland preprocessors

- fixed CNCJob plot scaling when using Roland preprocessors
- in Roland preprocessors added the use of spindlespeed
- made sure that the preprocessors that don't use the gcode_header still use the start gcode
This commit is contained in:
Marius Stanciu
2021-07-23 23:39:25 +03:00
committed by Marius
parent db2c70a0a2
commit 4d60e5c197
5 changed files with 47 additions and 26 deletions

View File

@@ -6324,8 +6324,8 @@ class CNCjob(Geometry):
match_z = re.search(r"^Z(\s*-?\d+\.\d+?),(\s*\s*-?\d+\.\d+?),(\s*\s*-?\d+\.\d+?)*;$", gline)
if match_z:
command['G'] = 0
command['X'] = float(match_z.group(1).replace(" ", "")) * 0.025
command['Y'] = float(match_z.group(2).replace(" ", "")) * 0.025
command['X'] = float(match_z.group(1).replace(" ", "")) * 0.01
command['Y'] = float(match_z.group(2).replace(" ", "")) * 0.01
command['Z'] = float(match_z.group(3).replace(" ", "")) * 0.025
elif 'hpgl' in self.pp_excellon_name or 'hpgl' in self.pp_geometry_name: