How to raise print head between parts for sequential printing?
 
Notifications
Clear all

[Solved] How to raise print head between parts for sequential printing?  

  RSS
Robin
(@robin-2)
Trusted Member
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

Posted : 31/05/2022 3:37 pm
Robin
(@robin-2)
Trusted Member
Topic starter answered:
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!

Posted : 31/05/2022 5:46 pm
Neophyl
(@neophyl)
Illustrious Member
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. 

Posted : 31/05/2022 6:58 pm
Robin liked
Swiss_Cheese
(@swiss_cheese)
Noble Member
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

Posted : 31/05/2022 9:01 pm
Robin liked
Robin
(@robin-2)
Trusted Member
Topic starter answered:
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!

Posted : 01/06/2022 2:08 am
Swiss_Cheese
(@swiss_cheese)
Noble Member
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

Posted : 01/06/2022 2:40 am
Robin
(@robin-2)
Trusted Member
Topic starter answered:
RE: How to raise print head between parts for sequential printing?

thanks!

Posted : 01/06/2022 2:42 pm
Share: