Skip to content

Instantly share code, notes, and snippets.

@theanam
Last active January 9, 2026 22:58
Show Gist options
  • Select an option

  • Save theanam/289324c9f32010998ed944f4b2a74c8a to your computer and use it in GitHub Desktop.

Select an option

Save theanam/289324c9f32010998ed944f4b2a74c8a to your computer and use it in GitHub Desktop.

Revisions

  1. theanam revised this gist Oct 20, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crux1_start.gcode
    Original file line number Diff line number Diff line change
    @@ -25,5 +25,5 @@ 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 X17 Y40 Z0.2 F3600.0 ; Move over to finish nozzle wipe
    G1 X18 Y40 Z0.2 F3600.0 ; Move over to finish nozzle wipe
    G92 E0
  2. theanam revised this gist Oct 20, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crux1_start.gcode
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ G92 E0 ; Set Extruder position to zero
    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 X17.4 F3600.0 ; Move to side
    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
  3. theanam created this gist Oct 20, 2022.
    29 changes: 29 additions & 0 deletions crux1_start.gcode
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    ; 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 X17.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 X17 Y40 Z0.2 F3600.0 ; Move over to finish nozzle wipe
    G92 E0