Advertisement
creativesamurai1982

Untitled

Apr 30th, 2024 (edited)
730
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.67 KB | None | 0 0
  1. ORCAs kobra 2 g code
  2. ----
  3.  
  4. START
  5. G28 ; home all axes
  6. G1 Z5 F5000 ; lift nozzle
  7.  
  8. END
  9. M104 S0 ; turn off temperature
  10. G28 X0  ; home X axis
  11. M84     ; disable motors
  12.  
  13.  
  14.  
  15. prusa KOBRA 2 G CODE
  16.  
  17. START CODE
  18. ----------
  19.  
  20. G90 ; use absolute coordinates
  21. M83 ; extruder relative mode
  22. M104 S[first_layer_temperature] ; set extruder temp
  23. M140 S[first_layer_bed_temperature] ; set bed temp
  24. M190 S[first_layer_bed_temperature] ; wait for bed temp
  25. M109 S[first_layer_temperature] ; wait for extruder temp
  26. G28                                        ; move X/Y/Z to min endstops
  27. G1 Z0.28                                   ; lift nozzle a bit
  28. G92 E0
  29. G1 Y3 F1800                                    ; zero the extruded length
  30. G1 X60  E25 F500                       ; Extrude 25mm of filament in a 5cm line.
  31. G92 E0                                     ; zero the extruded length again
  32. G1 E-2 F500                                ; Retract a little
  33. G1 X70 F4000                              ; Quickly wipe away from the filament line
  34. M117
  35.  
  36. END CODE
  37. --------
  38.  
  39. M104 S0                                    ; Extruder off
  40. M140 S0                                    ; Heatbed off
  41. M107                                       ; Fan off
  42. G91                                        ; relative positioning
  43. G1 E-5 F3000  
  44. G1 Z+0.3 F3000                             ; lift print head
  45. G28 X0  F3000
  46. M84  
  47.  
  48. BEFORE LAYER CHANGE CODE
  49. ------------------------
  50.  
  51. ; BEFORE_LAYER_CHANGE [layer_num] @ [layer_z]mm
  52.  
  53. AFTER LAYER CHANGE CODE
  54. -----------------------
  55. ; AFTER_LAYER_CHANGE [layer_num] @ [layer_z]mm
  56.  
  57. COLOR CHANGE CODE
  58. -----------------
  59.  
  60. M600
  61.  
  62. PAUSE PRINT CODE
  63. ----------------
  64.  
  65. M601
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement