Last active
September 16, 2023 06:10
-
-
Save theanam/289324c9f32010998ed944f4b2a74c8a to your computer and use it in GitHub Desktop.
Tronxy Crux 1 Start G-Code for cura
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Tronxy Crux1 Start Code | |
; Forked from the Tronxy XY 2 Pro Start code on cura | |
; Improvement: Start nozzle and bed heating together | |
; Imorovement: Fixed purge line (XY2 version was for a bigger bed and would draw out of build area) | |
; Bugfix: On glass bed Crux 1, the nozzle would bump on the retainer trying to draw the purge line. Fixed in this version. | |
; Cleanup: Removed all ABL related code since Crux 1 does not have ABL. | |
G21 ; Set units to millimeters | |
G90 ; Set all axis to Absolute | |
M82 ; Set extrusion to Absolute | |
M107 ; Disable all fans | |
; start heating up the bed and nozzle together | |
M140 S{material_bed_temperature_layer_0} ; Set bed temperature | |
M104 S{material_print_temperature_layer_0} T0 ; Set nozzle temp | |
G28 ; Home all axis | |
G1 Z5.0 ; Raise nozzle to prevent scratching of heat bed | |
G1 X0 Y0 ; Move nozzle to Home before heating | |
M190 S{material_bed_temperature_layer_0} ; Set bed temperature and wait | |
M109 S{material_print_temperature_layer_0} T0 ; Set nozzle temp and wait | |
G92 E0 ; Set Extruder position to zero | |
; Draw a purge line | |
G1 Z2.0 F3000 ; Raise Z axis | |
G1 X16.1 Y40 Z0.2 F3600.0 ; Move to purge line start position | |
G1 Y160 F1500.0 E10 ; Draw first purge line | |
G1 X16.4 F3600.0 ; Move to side | |
G1 Y40 F1500.0 E20 ; Draw second purge line | |
G92 E0 ; Reset Extruder | |
G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed | |
G1 X18 Y40 Z0.2 F3600.0 ; Move over to finish nozzle wipe | |
G92 E0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
End Gode :