
Hi,all
In a CNC mill machine whit ATC (automatic tool change), usually Z axis go home then change tool after that go to the retraction area
the nc code like this:
....
G91 G28 Z0 (go to Z axis home postion)
M06 T04 (change tool)
G90 S1000 M03 (trun on spidle)
G00 X9.338 Y-66.35 M08
G43 Z1. H04 (move to retraction plane after tool change and tool length comp)
G01 Z.65 F1000.
......
I suggest move or add the line
postprocessor.py#l282
exstr += self.rap_pos_z(g.config.vars.Depth_Coordinates['axis3_retract'])
after the line
postprocessor.py#l299

but it is a problem if not change tool the retraction plane not be executed (it need to ones at least)
In a CNC mill machine whit ATC (automatic tool change), usually Z axis go home then change tool after that go to the retraction area
the nc code like this:
....
G91 G28 Z0 (go to Z axis home postion)
M06 T04 (change tool)
G90 S1000 M03 (trun on spidle)
G00 X9.338 Y-66.35 M08
G43 Z1. H04 (move to retraction plane after tool change and tool length comp)
G01 Z.65 F1000.
......
I suggest move or add the line
postprocessor.py#l282
exstr += self.rap_pos_z(g.config.vars.Depth_Coordinates['axis3_retract'])
after the line
postprocessor.py#l299

but it is a problem if not change tool the retraction plane not be executed (it need to ones at least)