Welcome! Log In Create A New Profile

Advanced

Gcode Extruder Change / Placeholder Variables which are they?

Posted by funbart 
Gcode Extruder Change / Placeholder Variables which are they?
November 22, 2012 01:02PM
Hi, I'm new to this forum and trying Slic3r together with Repetier-Host.

I would like the add some Gcode regarding extruder change in Slic3R. This because of the coordinate system of the Makerbot Replicator.
After a toolchange it also has to change the coordinate system, so for T0 you have to add the line G54 and for T1 the line G55.
I managed to do that in Kisslicer, however, I always have to find and replace lines.
Because Kisslicer has placeholders like which generates the used extruder, that was easy.

I have to add lines like:
K[Tool] (search and replace K0 by G54 and K1 by G55)
M108 T[Tool] (Set tool)
M18 A B

The Layer Change Gcode of Slic3r does what it's supposed to do, only at a layer change.
Is there any way to Generate Gcode for a extruder change, or do I have to post-process (for me: search and replace...) So search for:
T1 ; change extruder
and replace it by:
T1
G55
M108 T1
M18 A B

and
T0 ; change extruder
and replace it by:
T0
G54
M108 T0
M18 A B

Just curious: what are the placeholders for "extruder" . I assume that the other placeholders are the name that are in the config file when opened with a text editor.

Hope someone can help,
Thanks!
Bart
Sorry, only registered users may post in this forum.

Click here to login