Advertisement
Guest User

Start G-Code for 3D Chameleon

a guest
Aug 16th, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1.  
  2. G90 ; use absolute coordinates
  3.  
  4. M83 ; extruder relative mode
  5.  
  6. M104 S180 ; set temporary nozzle temp to prevent oozing during homing
  7.  
  8. M140 S{first_layer_bed_temperature[0]} ; set final bed temp
  9.  
  10. G4 S30 ; allow partial nozzle warmup
  11.  
  12. G28 ; home all axis and restore leveling
  13.  
  14. G1 Z50 F240
  15.  
  16. G1 X2.0 Y10 F3000
  17.  
  18. M104 S{first_layer_temperature[0]} ; set final nozzle temp
  19.  
  20. M190 S{first_layer_bed_temperature[0]} ; wait for bed temp to stabilize
  21.  
  22. M109 S{first_layer_temperature[0]} ; wait for nozzle temp to stabilize
  23.  
  24. G1 Z0.28 F240
  25.  
  26. G92 E0
  27.  
  28. G90
  29.  
  30. M83
  31.  
  32. ;<<<<<hit button 3 times then another for 7 pulses to zero chameleon>>>>>>>>>>>
  33.  
  34. G92 E0
  35.  
  36. G0 X0 Y427 F2000 ;moved to button
  37.  
  38. G0 X0 Y430 F2000 ;pressed button
  39.  
  40. G4 P100 ;wait 100ms
  41.  
  42. G0 X0 Y427 F2000 ;moved to button
  43.  
  44. G4 P200 ;wait 200ms
  45.  
  46. G0 X0 Y430 F2000 ;pressed button
  47.  
  48. G4 P100 ;wait 100ms
  49.  
  50. G0 X0 Y427 F2000 ;moved to button
  51.  
  52. G4 P200 ;wait 200ms
  53.  
  54. G0 X0 Y430 F2000 ;pressed button
  55.  
  56. G4 P100 ;wait 100ms
  57.  
  58. G0 X0 Y427 F2000 ;moved to button
  59.  
  60. G4 P200 ;wait 200ms
  61.  
  62. G0 X0 Y430 F2000 ;pressed button
  63.  
  64. G4 P3600 ;wait 7 pulses
  65.  
  66. G0 X0 Y427 F2000 ;moved to button
  67.  
  68. G4 P5000 ;wait seconds to home
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement