Setting up tool change in gcodetools? July 07, 2019 05:26AM |
Admin Registered: 11 years ago Posts: 3,096 |
M400 M280 P0 S40 ; pen up for tool change M400 G1 X0 ; carriage into safe zone for tool change to happen G1 Y230 ; move carriage to center of last TOOL G1 X-25 ; move the carriage into the tool bay M400 M280 P0 S70 ; lower pen into tool bay G1 X0 ; pull carriage back into safe zone for the tool to disconnect G1 Y" + tool["tool change gcode"] + " ; move carriage to center of next TOOL G1 X-25 ; move the carriage into the tool bay M400 M280 P0 S40 ; move pen mount up to lift up the next tool and continue print M400 G1 X30
Re: Setting up tool change in gcodetools? July 07, 2019 07:05AM |
Admin Registered: 16 years ago Posts: 13,886 |
Re: Setting up tool change in gcodetools? July 07, 2019 07:46AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Setting up tool change in gcodetools? July 09, 2019 05:02AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Setting up tool change in gcodetools? July 10, 2019 06:16AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Setting up tool change in gcodetools? February 06, 2020 10:53PM |
Registered: 7 years ago Posts: 7 |
Re: Setting up tool change in gcodetools? February 29, 2020 09:49PM |
Registered: 7 years ago Posts: 7 |
self.last_used_tool = tool
if tool != self.last_used_tool : g += ( "(Change tool to %s)\n" % re.sub("\"'\(\)\\\\"," ",tool["name"]) ) + tool["tool change gcode"] + "\n" self.last_used_tool = tool