How to raise print head between parts for sequential printing?
Hello,
I have several small parts which have a narrow base and wide top and print fine on their own (using brim). I have tried printing a few sequentially and from time to time, the print head catches the part when moving in the x-y direction to begin the next part. I'd like to add an instruction to raise the print head 5mm on z-axis when a part is done, then move to the next part, but can't find how this might be done in Prusa Slicer?
Possible?
Best Answer by Swiss_Cheese:
@robin-2
There are at least 3 ways to do this that I know of, and you found one, nice work, that's the oldest working way. and Neophyl mentioned another,
Printer settings/Custom G-code [Between objects G-code (for sequential printing)] . your all set
Enjoy
Swiss_Cheese
RE:
I haven't found a way to do this in Prusa Slicer, however I did manage to do it with Notepad++.
My instances were all copies of each other (identical parts) and the gcode begins each instance with a note:
; printing object FILE_NAME.stl id:0 copy 0
The copy increases for each instance. So I searched for each instance for "copy 1" "copy 2"...and so one, and updated the Gcode for the last z prior to a large x-y move prior to that copy beginning, by adding 5 to it (to increase 5mm).
For example, changed from this:
;WIPE_END G1 E-.05 F2100 G1 Z10.14 F720 G1 X128.733 Y174.699 F10800 M140 S85 ; set bed temperature M104 S240 ; set temperature M107 ;LAYER_CHANGE ;Z:0.2 ;HEIGHT:0.2 ;BEFORE_LAYER_CHANGE G92 E0.0 ;0.2 G1 Z.2 F720 ;AFTER_LAYER_CHANGE ;0.2 ; printing object File_Name.stl id:0 copy 1
To this (Only changed on second line, but needed to look back a bit from the searched "copy 1"):
;WIPE_END G1 E-.05 F2100 G1 Z15.14 F720 G1 X128.733 Y174.699 F10800 M140 S85 ; set bed temperature M104 S240 ; set temperature M107 ;LAYER_CHANGE ;Z:0.2 ;HEIGHT:0.2 ;BEFORE_LAYER_CHANGE G92 E0.0 ;0.2 G1 Z.2 F720 ;AFTER_LAYER_CHANGE ;0.2 ; printing object File_Name.stl id:0 copy 1
Hope this helps someone!
RE: How to raise print head between parts for sequential printing?
There’s a section for custom gcode between objects that you can add it to in the printer >custom gcode section.
RE: How to raise print head between parts for sequential printing?
@robin-2
There are at least 3 ways to do this that I know of, and you found one, nice work, that's the oldest working way. and Neophyl mentioned another,
Printer settings/Custom G-code [Between objects G-code (for sequential printing)] . your all set
Enjoy
Swiss_Cheese
The Filament Whisperer
RE: How to raise print head between parts for sequential printing?
Thanks! Wish I had known this, buuuuut at least I learned about notepad++ which was new for me today. Cheers!
RE: How to raise print head between parts for sequential printing?
@robin-2
I found this .xml very useful with Notepad++ it colors the different parts of the code easier on the eyes , thought you might like to take a look at it.
https://www.reddit.com/r/3Dprinting/comments/ffe4tn/gcode_in_notepad_syntax_highlighting_for/
Enjoy
Swiss_Cheese
The Filament Whisperer
RE: How to raise print head between parts for sequential printing?
thanks!