10
Anycubic Kobra 2 wipe functionality
(sopuli.xyz)
I'm using an Anycubic Kobra 2 printer, it has a nice rubber pad at the back of the plate, which i assume is for wiping the nozze? However the printer profile Anycubic provides for prusa slicer doesn't use it at all, and actually has a fair amount of oozing because it heats the extruder first (which it then doesn't wipe away). So i decided i would add it myself. I'm completely new 3D printing, having only had the printer for a little over a week, so my solution may be a bit rough around the edges.
################ Start G-code with nozzle wipe and purge in back-left corner ################
G90 ; use absolute coordinates
M83 ; set extruder to relative mode
M140 S[first_layer_bed_temperature] ; set bed temp
G28 ; home all axes
G1 Z2 ; raise nozzle to 2mm
G92 E0 ; reset extruder position
G1 X80 Y240 F1500 ; position nozzle right next to wipe pad
M104 S[first_layer_temperature] ; set extruder temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M109 S[first_layer_temperature] ; wait for extruder temp
G1 Z0 ; lower nozzle before wiping
G1 X90 F500 ; wipe nozzle across pad in X direction
G1 Y235 F500 ; wipe nozze in Y direction
G1 Z3 ; lift nozzle to 3mm
G1 X5 Y225 F3000 ; move nozze to back-left corner of bed for purging
G1 Z0.28 ; lower nozzle to 0.28mm
G1 X45 E25 F500 ; extrude 25mm of filament in a 40mm line
G92 E0 ; reset extruder position
G1 E-3 F3000 ; quickly retract filament 3mm
G1 X90 F4000 ; quickly move away from purge
The printer also end with the bed pulled all the way to the back, which I disliked since i would prefer it presented at the front for easy removal.
################ End G-code which presents the print for easy removal by pushing the bed fully forward ################
M104 S0 ; Extruder off
M140 S0 ; Heatbed off
G92 E0 ; reset extruder position
G1 E-5 F3000 ; quickly retract filament 5mm
G91 ; use relative positioning
G1 Z1 ; lift nozzle 1mm
G28 X0 Y0 ; home X and Y axis
G1 X0 Y240 F3000 ; move nozzle to the side and bed fully forward
M107 ; Fan off
M84 ; disable stepper motors