Skip to content

Commit

Permalink
update snapmaker config standby to cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
meiliang1123 committed Aug 15, 2024
1 parent adec909 commit 84fac16
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "168223792",
"inherits": "fdm_filament_abs",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp": [
"110"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1247172706",
"inherits": "fdm_filament_asa",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp": [
"110"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "3493177425",
"inherits": "fdm_filament_pa",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp": [
"100"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "2128577941",
"inherits": "fdm_filament_pet",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"overhang_fan_speed": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "2209001062",
"inherits": "fdm_filament_petg",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"overhang_fan_speed": [
"25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1042511226",
"inherits": "fdm_filament_petg",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"required_nozzle_HRC": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1417031127",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_retraction_length": [
"nil"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "200803790",
"inherits": "fdm_filament_pla_eco",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_density": [
"1.26"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "3503790988",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_density": [
"1.32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "2029994346",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_cost": [
"90"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1181363872",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp_initial_layer": [
"65"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1702147325",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"required_nozzle_HRC": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "3104636980",
"inherits": "fdm_filament_pva",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_loading_speed_start": [
"35"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "2971656290",
"inherits": "fdm_filament_tpu",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_loading_speed_start": [
"35"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1223824394",
"inherits": "fdm_filament_abs",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp": [
"110"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1210173120",
"inherits": "fdm_filament_pa",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"overhang_fan_speed": [
"55"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1009481135",
"inherits": "fdm_filament_pet",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"overhang_fan_speed": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1172603684",
"inherits": "fdm_filament_petg",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"overhang_fan_speed": [
"35"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "4235401834",
"inherits": "fdm_filament_petg",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"required_nozzle_HRC": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "377675245",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_retraction_length": [
"nil"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "3383257822",
"inherits": "fdm_filament_pla_eco",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_density": [
"1.26"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1192769348",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_density": [
"1.32"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "4012961186",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"filament_cost": [
"90"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "1528786603",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"hot_plate_temp_initial_layer": [
"65"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "3806593857",
"inherits": "fdm_filament_pla",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"required_nozzle_HRC": [
"40"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"filament_id": "4227461134",
"inherits": "fdm_filament_pva",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
],
"slow_down_layer_time": [
"8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"filament_id": "4092268632",
"inherits": "fdm_filament_tpu",
"filament_end_gcode": [
"M104 S{temperature_vitrification[current_extruder]} ;standby T{current_extruder}"
"M104 S{temperature_vitrification[current_extruder]} ;cooldown T{current_extruder}"
]
}
2 changes: 1 addition & 1 deletion resources/profiles/Snapmaker/machine/fdm_a250_dual.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
],
"machine_start_gcode": "; Model: Snapmaker A250 Dual ({nozzle_diameter[0]}/{nozzle_diameter[1]})\n; Update: 20240428\n; Maintained by https://github.com/macdylan/3dp-configs\n; Printer : [printer_preset]\n; Profile : [print_preset]\n; Plate : [plate_name]\n; --- initial_extruder: [initial_extruder]\n; --- has_wipe_tower: [has_wipe_tower]\n; --- total_toolchanges: [total_toolchanges]\n; --- T0: {is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - 1, 0))]}\n; --- T1: {is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - 0, 0))]}\n\nT[initial_extruder]\n\nM140 S{first_layer_bed_temperature[initial_extruder]}\n\n; you can clean the nozzle\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))]}\n M104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))} S165\n {endif}\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))]}\n M104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))} S165\n {endif}\nM204 S100\nG28\nG0 Z126 F960.0\nG0 Y125.0 F3420.0\nG0 X115.0\n\nM190 R{first_layer_bed_temperature[initial_extruder]}\n\nG28\n{if 1==1}\n G0 X0\n G0 Z0.2 F960.0\n G0 Y0 F3420.0\n G0 X230\n G0 Y250\n G0 X0\n G0 Y0\n{endif}\n\nM83\n{if 1==1 && max(hot_plate_temp_initial_layer[initial_extruder], hot_plate_temp[initial_extruder]) >= 90}\nG0 Z0.06\nG92 Z0 ;reset z\n{endif}\n\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))]}\n; preheat 0\nM104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))} S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] + 15))}\n {endif}\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))]}\n; preheat 1\nM104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))} S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] + 15))}\n {endif}\n\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] and (initial_extruder % 2) != 0}\n; flush nozzle 0\nT{(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))}\nM104 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] + 15))}; common flush temp\nG0 Z1.6 F960.0\nG0 X{( 0 % 2 == 0 ? 100.0 : 130.0 )} F3420.0\nG0 Y0 F3420.0\n\nM109 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] + 15))} C2 W1\nG1 E20 F80.0\nG92 E0\n\nM106 S{min(255, (fan_max_speed[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] + 10) * 2.55)}\n\nM104 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))] + 5}\n\nG1 E12.0 F200\nG92 E0\nG1 E8.0 Z4.6 F200\nG92 E0\n\nG0 Z5.6 F200\nM107\n\nG0 X{( 0 % 2 == 0 ? 55.0 : 175.0 )} F3420.0\nG0 Z0.3 F960.0\nM109 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))]} C3 W1\nG1 E3 F200\nG92 E0\nG1 X{( 0 % 2 == 0 ? 0 : 230 )} E3.42995 F3420.0\nG92 E0\n\nG1 E-{retract_length_toolchange[0]} F200\nG92 E0\nG0 Y20 F3420.0\nM104 S{temperature_vitrification[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))]}\n {endif}\n\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] and (initial_extruder % 2) != 1}\n; flush nozzle 1\nT{(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))}\nM104 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] + 15))}; common flush temp\nG0 Z1.6 F960.0\nG0 X{( 1 % 2 == 0 ? 100.0 : 130.0 )} F3420.0\nG0 Y0 F3420.0\n\nM109 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] + 15))} C2 W1\nG1 E20 F80.0\nG92 E0\n\nM106 S{min(255, (fan_max_speed[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] + 10) * 2.55)}\n\nM104 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))] + 5}\n\nG1 E12.0 F200\nG92 E0\nG1 E8.0 Z4.6 F200\nG92 E0\n\nG0 Z5.6 F200\nM107\n\nG0 X{( 1 % 2 == 0 ? 55.0 : 175.0 )} F3420.0\nG0 Z0.3 F960.0\nM109 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))]} C3 W1\nG1 E3 F200\nG92 E0\nG1 X{( 1 % 2 == 0 ? 0 : 230 )} E3.42995 F3420.0\nG92 E0\n\nG1 E-{retract_length_toolchange[1]} F200\nG92 E0\nG0 Y20 F3420.0\nM104 S{temperature_vitrification[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))]}\n {endif}\n\n; flush initial nozzle\nT[initial_extruder]\nM104 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + initial_extruder, 63) : max(initial_extruder - (1-initial_extruder), 0))] + 15))}; common flush temp\nG0 Z1.6 F960.0\nG0 X{( initial_extruder % 2 == 0 ? 100.0 : 130.0 )} F3420.0\nG0 Y0 F3420.0\n\nM109 S{max(250, min(290, nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + initial_extruder, 63) : max(initial_extruder - (1-initial_extruder), 0))] + 15))} C2 W1\nG1 E20 F80.0\nG92 E0\n\nM106 S{min(255, (fan_max_speed[(initial_extruder % 2 == 0 ? min(initial_extruder + initial_extruder, 63) : max(initial_extruder - (1-initial_extruder), 0))] + 10) * 2.55)}\n\nM104 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + initial_extruder, 63) : max(initial_extruder - (1-initial_extruder), 0))] + 5}\n\nG1 E12.0 F200\nG92 E0\nG1 E8.0 Z4.6 F200\nG92 E0\n\nG0 Z5.6 F200\nM107\n\nG0 X{( initial_extruder % 2 == 0 ? 55.0 : 175.0 )} F3420.0\nG0 Z0.3 F960.0\nM109 S{nozzle_temperature_initial_layer[(initial_extruder % 2 == 0 ? min(initial_extruder + initial_extruder, 63) : max(initial_extruder - (1-initial_extruder), 0))]} C3 W1\nG1 E3 F200\nG92 E0\nG1 X{( initial_extruder % 2 == 0 ? 0 : 230 )} E3.42995 F3420.0\nG92 E0\n\nG1 E-{retraction_length[initial_extruder]} F200\nG92 E0\nG0 Y20 F3420.0\n\n; ready [plate_name]",
"machine_end_gcode": "G92 E0\n\nG0 Z{max_layer_z + 2.0} F600\n; retract the filament to make it easier to replace\nG0 E-10 F200\nG28\n\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))]}\nM104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 0, 63) : max(initial_extruder - (1-0), 0))} S0\n {endif}\n{if is_extruder_used[(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))]}\nM104 T{(initial_extruder % 2 == 0 ? min(initial_extruder + 1, 63) : max(initial_extruder - (1-1), 0))} S0\n {endif}\nM140 S0\nM107\nM220 S100\nM84\n\n;\n; DON'T REMOVE these lines if you're using the smfix (https://github.com/macdylan/SMFix)\n; min_x = [first_layer_print_min_0]\n; min_y = [first_layer_print_min_1]\n; max_x = [first_layer_print_max_0]\n; max_y = [first_layer_print_max_1]\n; max_z = [max_layer_z]\n; total_layer_number = [layer_num]\n;",
"change_filament_gcode": ";***** Update: 20230923\n{if current_extruder != next_extruder}\n; Change T[current_extruder] -> T[next_extruder] (layer [layer_num]\n; layer\nT{next_extruder}\n\nM107 P[current_extruder] ;fan off T[current_extruder]\nM104 T[current_extruder] S{temperature_vitrification[current_extruder]} ;standby T[current_extruder]\n\n{if layer_num == 1 &&\n ((filament_type[current_extruder] == \"PLA\" || filament_type[current_extruder] == \"TPU\")\n || (filament_type[next_extruder] == \"PLA\" || filament_type[next_extruder] == \"TPU\"))\n}\n ; set bed temp: {filament_type[current_extruder]}({bed_temperature[current_extruder]}) -> {filament_type[next_extruder]}({bed_temperature[next_extruder]})\n M140 S{min(bed_temperature[current_extruder], bed_temperature[next_extruder])}\n{endif}\n\nM109 T[next_extruder] S{if layer_num < 1}[nozzle_temperature_initial_layer]{else}[nozzle_temperature]{endif} C3 W1 ;wait T[next_extruder]\n{if layer_num == 1}\n G1 E{retraction_length[next_extruder]} F200;deretract\n{endif}\n\n{if layer_z > first_layer_height && layer_num >= close_fan_the_first_x_layers[next_extruder]}\n; M106 P[next_extruder] S{fan_min_speed[next_extruder] * 255.0 / 100.0} ;restore fan speed for T[next_extruder]\n{endif}\n; End Toolchange\n{endif}",
"change_filament_gcode": ";***** Update: 20230923\n{if current_extruder != next_extruder}\n; Change T[current_extruder] -> T[next_extruder] (layer [layer_num]\n; layer\nT{next_extruder}\n\nM107 P[current_extruder] ;fan off T[current_extruder]\nM104 T[current_extruder] S{temperature_vitrification[current_extruder]} ;cooldown T[current_extruder]\n\n{if layer_num == 1 &&\n ((filament_type[current_extruder] == \"PLA\" || filament_type[current_extruder] == \"TPU\")\n || (filament_type[next_extruder] == \"PLA\" || filament_type[next_extruder] == \"TPU\"))\n}\n ; set bed temp: {filament_type[current_extruder]}({bed_temperature[current_extruder]}) -> {filament_type[next_extruder]}({bed_temperature[next_extruder]})\n M140 S{min(bed_temperature[current_extruder], bed_temperature[next_extruder])}\n{endif}\n\nM109 T[next_extruder] S{if layer_num < 1}[nozzle_temperature_initial_layer]{else}[nozzle_temperature]{endif} C3 W1 ;wait T[next_extruder]\n{if layer_num == 1}\n G1 E{retraction_length[next_extruder]} F200;deretract\n{endif}\n\n{if layer_z > first_layer_height && layer_num >= close_fan_the_first_x_layers[next_extruder]}\n; M106 P[next_extruder] S{fan_min_speed[next_extruder] * 255.0 / 100.0} ;restore fan speed for T[next_extruder]\n{endif}\n; End Toolchange\n{endif}",
"before_layer_change_gcode": "; layer_num: [layer_num]\nG92 E0"
}
Loading

0 comments on commit 84fac16

Please sign in to comment.