Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ORCAs kobra 2 g code
- ----
- START
- G28 ; home all axes
- G1 Z5 F5000 ; lift nozzle
- END
- M104 S0 ; turn off temperature
- G28 X0 ; home X axis
- M84 ; disable motors
- prusa KOBRA 2 G CODE
- START CODE
- ----------
- G90 ; use absolute coordinates
- M83 ; extruder relative mode
- M104 S[first_layer_temperature] ; set extruder temp
- M140 S[first_layer_bed_temperature] ; set bed temp
- M190 S[first_layer_bed_temperature] ; wait for bed temp
- M109 S[first_layer_temperature] ; wait for extruder temp
- G28 ; move X/Y/Z to min endstops
- G1 Z0.28 ; lift nozzle a bit
- G92 E0
- G1 Y3 F1800 ; zero the extruded length
- G1 X60 E25 F500 ; Extrude 25mm of filament in a 5cm line.
- G92 E0 ; zero the extruded length again
- G1 E-2 F500 ; Retract a little
- G1 X70 F4000 ; Quickly wipe away from the filament line
- M117
- END CODE
- --------
- M104 S0 ; Extruder off
- M140 S0 ; Heatbed off
- M107 ; Fan off
- G91 ; relative positioning
- G1 E-5 F3000
- G1 Z+0.3 F3000 ; lift print head
- G28 X0 F3000
- M84
- BEFORE LAYER CHANGE CODE
- ------------------------
- ; BEFORE_LAYER_CHANGE [layer_num] @ [layer_z]mm
- AFTER LAYER CHANGE CODE
- -----------------------
- ; AFTER_LAYER_CHANGE [layer_num] @ [layer_z]mm
- COLOR CHANGE CODE
- -----------------
- M600
- PAUSE PRINT CODE
- ----------------
- M601
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement