- added a new preprocessor file for using laser on a Marlin motion controller but with the laser connected to one of the FAN pins, named 'Marlin_laser_use_FAN_pin'

This commit is contained in:
Marius Stanciu
2020-02-08 20:38:51 +02:00
committed by Marius
parent 9911402c95
commit 48029da52b
17 changed files with 256 additions and 91 deletions

View File

@@ -4067,6 +4067,13 @@ class CNCjob(Geometry):
command['Z'] = 1
else:
command['Z'] = 0
match_lsr_pos_2 = re.search(r"^(M10[6|7])", gline)
if match_lsr_pos_2:
if 'M107' in match_lsr_pos_2.group(1):
command['Z'] = 1
else:
command['Z'] = 0
elif self.pp_solderpaste_name is not None:
if 'Paste' in self.pp_solderpaste_name:
match_paste = re.search(r"X([\+-]?\d+.[\+-]?\d+)\s*Y([\+-]?\d+.[\+-]?\d+)", gline)