- fixed the GRBL_laser preprocessor such that it does not have a Z move at the end of the job due of the fact that this preprocessor has moves only in the X-Y plane

- in Milling Plugin made sure the preprocessors that have the `laser_z` in the name (case insensitive) have the ability to change the Z height at the end of the job (through End_Z parameter)
This commit is contained in:
Marius Stanciu
2022-01-22 21:39:19 +02:00
committed by Marius
parent 90165ce0ac
commit 2bda71bcfe
3 changed files with 10 additions and 4 deletions

View File

@@ -3512,8 +3512,12 @@ class ToolMilling(AppTool, Excellon):
self.ui.cutzlabel.hide()
self.ui.cutz_entry.hide()
self.ui.endz_label.hide()
self.ui.endz_entry.hide()
if 'laser_z' not in current_pp.lower():
self.ui.endz_label.hide()
self.ui.endz_entry.hide()
else:
self.ui.endz_label.show()
self.ui.endz_entry.show()
self.ui.travelzlabel.hide()
self.ui.travelz_entry.hide()