Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #START G_CODE
- M190 S[first_layer_temperature] ; set bed temp
- M104 S180 ; set extruder temp
- M107 ;start with the fan off
- M104 S[first_layer_temperature] ; set extruder temp
- G28 ;move X/Y/Z to min endstops
- G1 Z5.0 F2040 ;move the platform down 5mm
- M109 S[first_layer_temperature] ; wait for extruder temp
- G92 E-5 F500
- BED_MESH_PROFILE LOAD="default"
- G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
- G1 X2 Y1 Z5 F5000.0 ; Move to start position
- G1 X150 Z[first_layer_height] F1500.0 E30 ; Draw the first line
- G1 Y2 F3000 ; natuke kõrvale
- G1 X2 F1500.0 E30 ; Draw the second line
- G92 E0 ; Reset Extruder
- G1 E-1 F500 ; Retract filiment by 1 mm
- G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed
- G92 E0 ; Reset Extruder
- SET_PIN PIN=LED VALUE=1.00
- #END G_CODE
- M104 S0 ; turn off extruder
- M107 ; Fan off
- M140 S0 ; turn off bed
- G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
- G92 Z5 E-5 F240 ;move Z up a bit and retract filament even more
- G28 X ;move X to min endstops, so the head is out of the way
- G90 ;Absolute positionning
- G1 Y200 F3000 ;Present print
- M84 ;steppers off
- SET_PIN PIN=LED VALUE=0.00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement