Skip to content

Instantly share code, notes, and snippets.

@sabinM1
Created December 20, 2023 20:26
Show Gist options
  • Save sabinM1/888baca39b7ffd88da76c064d0de2cc2 to your computer and use it in GitHub Desktop.
Save sabinM1/888baca39b7ffd88da76c064d0de2cc2 to your computer and use it in GitHub Desktop.
start/end gcode Aquila
G4 ; wait
M140 S0 ; turn off heatbed
M107 ; turn off fan
{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} ; Move print head up
G1 X0 Y200; home X axis
G1 E10 F70 ; extrude 10mm
G1 E-65 F1500 ; -65mm, pregatire pentru un print nou / nozzle change
M104 S0 ; turn off temperature
M84 ; disable motors
G90 ; use absolute coordinates
M83 ; extruder relative mode
M140 S[first_layer_bed_temperature] ; set bed temp
M104 S[first_layer_temperature] ; set extruder temp
G92 E0 ; Reset Extruder
G28 ; Home all axes
G91 ; !!!!RELATIV!!!!
G1 Z+20 F1500 ; 20 mm in sus, pentru a lua ce s-a scurs din extruder
G90
M109 S[first_layer_temperature] ; wait for extruder temp
G1 E-5 F100 ; -5mm putin
M190 S[first_layer_bed_temperature] ; wait for bed temp
BED_MESH_CALIBRATE AREA_START={first_layer_print_min[0]},{first_layer_print_min[1]} AREA_END={first_layer_print_max[0]},{first_layer_print_max[1]} ; Auto bed leveling
M106 S650
G1 X230 Y25 Z1 F4000
G1 E95 F1000 ; +95mm
G4 P5000 ; 5 secunde, sper ca se mai intareste filamentul
G1 Z0.12
M106 S0
G1 E-2 F1500 ; -2mm putin
G1 X215 F8000
G1 X {first_layer_print_min[0]} Y {first_layer_print_min[1]} F8000
G92 E0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment