3D printer

... from far east

I recently bought a kit from China of a Prusa i3 Pro B

The software did not have a interactive way for leveling the bed... so here's the gcode for it! ;) Just levels the bed and starts heating... getting ready for printing.

;G0 rapid linear move
;G1 linear move

M104 S0                     ;extruder heater off
M140 S0

G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
M107       ;start with the fan off
G28 X0 Y0  ;move X/Y to min endstops
G28 Z0     ;move Z to min endstops


;Put printing message on LCD screen
M117 Leveling bed...
M0

G1 X0 Y0 Z1
G1 X20 Y20 Z1
G1 X20 Y20 Z0
M117 Press button when finish...
M0
G1 X20 Y20 Z1

G1 X20 Y180 Z1
G1 X20 Y180 Z0
M117 Press button when finish...
M0
G1 X20 Y180 Z1


G1 X180 Y180 Z1
G1 X180 Y180 Z0
M117 Press button when finish...
M0
G1 X180 Y180 Z1

G1 X180 Y20 Z1
G1 X180 Y20 Z0
M117 Press button when finish...
M0
G1 X180 Y20 Z1

G1 X90 Y90 Z1
G1 X90 Y90 Z0
M117 Done!
M0

G1 X90 Y90 Z1

G28 X0 Y0  ;move X/Y to min endstops
G28 Z0     ;move Z to min endstops


M84                         ;steppers off
G90                         ;absolute positioning

M117 Prepare for printing...
M190 S70  ;set bed temperature
M109 S215 ;set nozzle temperature

Happy hacking!

P.S.

One more


M104 S0    ;extruder heater off
M140 S0

G21        ;metric values
G90        ;absolute positioning
M82        ;set extruder to absolute mode
M107       ;start with the fan off
G28 X0 Y0 Z0  ;move X/Y/Z to min endstops
G1 X0 Y0 Z10  ;move 10mm up

M109 S215 ;Wait for nozzle temperature to reach target temp
G1 X0 Y0 Z50 ;move 40mm up
G1 X0 Y0 Z20 E30 ;extrudes 30mm of filament

M190 S70  ;Wait for bed temperature to reach target temp

M117 Ready for printing.
Palavras chave/keywords: 3d, printer, china, pla, abs, gcode

Criado/Created: 23-05-2016 [10:02]

Última actualização/Last updated: 10-10-2022 [14:26]


Voltar à página inicial.


GNU/Emacs Creative Commons License

(c) Tiago Charters de Azevedo