Hello! I wanted to get started with my Witbox, I also want the nozzle to move to the front left so I can access the PLA that extrudes before it starts the print, thus stopping it taking it with it and dislodging the print. Could anyone share or recommend a place to find the ultimate start/end G-Code for the Witbox 1. Here is the code I currently use that works but could be improved I think:
G21
G28 ;home all axis
M104 S215 ;set extruder temp and start heating
G90 ;set absolute coordinates
G1 Z50 F300 ;move platform down 50mm
G1 X20 Y20 F3000 ;move to front left corner
M109 S215 ;wait for extruder temp to be reached
;G1 F200 E20 ;extrude 20mm of feed stock
;G4 P3000 ;wait 3 seconds to grab filament
G1 Z0.3 F200 ;move platform close to nozzle
G92 E0 ;reset extrusion distance
G1 E7 ;extrude anchor
; – END GCODE –
M104 S0 ;extruder heater off
G91 ;relative positioning
G1 E-20 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G90 ;absolute positioning
G1 Z200 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
; – end of END GCODE –
Thanks!
1 Like