Printing,driving around at the beginning

hello snappers,
im not sure if this is a prusaslicer or a common snapmaker thing.
when i start a print, my printer always drives around as shown on the screenshot, then stops after step 5, heats up to 250, extrudes a blop, moves to the next spot after step 6, then extrudes a line till the end of step 7 and then it begins with the object.
is there a way i can disable the steps 1 to 5 or if necessary all the steps?
thank you!

edit: i found that this routine is a prusaslicer thing. any idea how i can disable it?

If you go to printers → Custom G-code → Start G code section That’s where all the extra startup moves are coming from.

All you have to do is take out the commands you don’t want the printer to do at the beginning

The maintained by line web address talks about what each entry does

thank you for your answer.
im a real noob with gcode.

thats what is in the custom gcode.
what lines are the ones for driving around?
thank you very much!

; Model: Snapmaker A350
; Update: 20240428
; Maintained by GitHub - macdylan/3dp-configs: My 3DP Configs
; Printer : [printer_preset]
; Profile : [print_preset]
; Plate : [physical_printer_preset]

M201 X[machine_max_acceleration_x] Y[machine_max_acceleration_y] Z[machine_max_acceleration_z] E[machine_max_acceleration_e]
M203 X[machine_max_feedrate_x] Y[machine_max_feedrate_y] Z[machine_max_feedrate_z] E[machine_max_feedrate_e]
M204 P[machine_max_acceleration_extruding] R[machine_max_acceleration_retracting] T[machine_max_acceleration_travel]
M205 X[machine_max_jerk_x] Y[machine_max_jerk_y] Z[machine_max_jerk_z] E[machine_max_jerk_e]

T[initial_extruder]

M140 S{first_layer_bed_temperature[initial_extruder]}

; you can clean the nozzle
M104 S165
M204 S100
G28
G0 Z216 F960.0
G0 Y175.0 F3420.0
G0 X160.0

M190 R{first_layer_bed_temperature[initial_extruder]}

G28
{if 1==1}
G0 X0
G0 Z0.2 F960.0
G0 Y0 F3420.0
G0 X320
G0 Y350
G0 X0
G0 Y0
{endif}

M83
{if 1==1 && max(first_layer_bed_temperature[initial_extruder], bed_temperature[initial_extruder]) >= 90}
G0 Z0.06 ;raise z to counteract thermal expansion
G92 Z0 ;reset z
{endif}

T[initial_extruder]
M104 S{max(250, min(290, first_layer_temperature[initial_extruder] + 15))}; common flush temp
G0 Z1.6 F960.0
G0 X{if initial_extruder == 0}145.0{else}175.0{endif} F3420.0
G0 Y0 F3420.0

M109 S{max(250, min(290, first_layer_temperature[initial_extruder] + 15))} C2 W1; common flush temp
G1 E15 F80.0
G92 E0

M106 S{min(255, (max_fan_speed[initial_extruder] + 10) * 2.55)}

M104 S{first_layer_temperature[initial_extruder] + 5}

G1 E9.0 F200
G92 E0
G1 E6.0 Z4.6 F200
G92 E0

G0 Z5.6 F200
M107

G0 X{if initial_extruder == 0}100.0{else}220.0{endif} F3420.0
G0 Z0.3 F960.0
M109 S{first_layer_temperature[initial_extruder]} C3 W1
G1 E3 F200
G92 E0
G1 X{if initial_extruder == 0}0{else}320{endif} E6.23628 F3420.0
G92 E0

G1 E-{retract_length[initial_extruder]} F200
G92 E0
G0 Y20 F3420.0

; ready [physical_printer_preset]

edti: are the g0 the ones moving around?

Don’t feel bad so am I

I believe it’s this section

It sets the temperature of the nozzle and then runs around

M190 R{first_layer_bed_temperature[initial_extruder]}

G28
{if 1==1}
G0 X0
G0 Z0.2 F960.0
G0 Y0 F3420.0
G0 X320
G0 Y350
G0 X0
G0 Y0
{endif}

1 Like

I also think there’s also a typo in the flush routine

Instead of z1.6 it should be set at z216 so the head is farther away from the bed during purge

1 Like