Advertisement
napland

start gcode moves to center

Sep 3rd, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. G21 ;metric values
  2. G90 ;absolute positioning
  3. M82 ;set extruder to absolute mode
  4. M107 ;start with the fan off
  5. G28 X0 Y0 ;move X/Y to min endstops
  6. G28 Z0 ;move Z to min endstops
  7. G92 E0 ; reset extruder
  8. G1 X10 Z2 E3 ; move z up and x in and a little extrude avoid print bed edge
  9. G1 Z0 ;
  10. G1 X100 E50 F500 ; Draw a line
  11. G1 Y1 ; WHY DOES THIS GO TO CENTER?
  12. G1 X10 E50 F500 ;
  13. G1 Y2 ;
  14. G1 X100 E25 F500 ;
  15. G1 Y3 ;
  16. G1 X10 E10 F500 ; G1 Z15.0 F4800 ;move the platform down 15mm
  17. G92 E0 ;zero the extruded length
  18. ; G1 F200 E3 ;extrude 3mm of feed stock
  19. ; G92 E0 ;zero the extruded length again
  20. G1 F4800
  21. ;Put printing message on LCD screen
  22. M117 Printing...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement