custom g-code and extruder change
Hi all,
i am printing with 2 virtual extruder. The first one is printing TPu and the 2nd one PETG. My 1st layer is TPU and th seccond one is PETG. So on layer 2 i add "extruder change" and selct the n°2.
I would like to add a M220 S25 to slow down the printing so the petg will stick well to th TPU. But if i add the extruder change first I have no longer access to "add custom G-code". So i add the custom g-code first and then the extruder change. But if i Check the generated g-code the M220 is skipped...
I know that I could add it manually but if there is a automatic way to do it is much appreciable.
any idea ?
RE: custom g-code and extruder change
I'm not sure of the best solution to your issue, but one thing that you could do is generate the g-code with just the tool change. Then in a text editor load the g-code (make sure you didn't slice to bg-code as that is binary) and find the layer change to locate the tool-change g-code. Copy that g-code to your clipboard, and then back in PrusaSlicer change the layer-based tool change to a layer-based custom g-code, paste the tool-change g-code in the clipboard and add your additional g-code, your M220 line in this case.
You could probably copy and paste the tool change custom g-code from the Printer profile settings, but doing it this way should help avoid forgetting to change the variables in the profile custom g-code to actual values needed at this point.
See my (limited) designs on:
Printables - https://www.printables.com/@Sembazuru
Thingiverse - https://www.thingiverse.com/Sembazuru/designs