- fixed the HPGL code geometry rendering when travel

- fixed the message box layout when asking to save the current work
- made sure that whenever the HPGL postprocessor is selected the Toolchange is always ON and the MultiDepth is OFF
- the HPGL postprocessor entry is not allowed in Excellon Object postprocessor selection combobox as it is only applicable for Geometry
This commit is contained in:
Marius Stanciu
2019-01-20 02:46:42 +02:00
committed by Marius S
parent b9cbe97f4d
commit 7ea6ee4a85
5 changed files with 56 additions and 14 deletions

View File

@@ -5218,6 +5218,14 @@ class CNCjob(Geometry):
command['G'] = 0
command['X'] = float(match_pa.group(1).replace(" ", ""))
command['Y'] = float(match_pa.group(2).replace(" ", ""))
match_pen = re.search(r"^(P[U|D])", gline)
if match_pen:
if match_pen.group(1) == 'PU':
# the value does not matter, only that it is positive so the gcode_parse() know it is > 0,
# therefore the move is of kind T (travel)
command['Z'] = 1
else:
command['Z'] = 0
else:
match = re.search(r'^\s*([A-Z])\s*([\+\-\.\d\s]+)', gline)