|
43 | 43 | {% set bed_mesh_enabled = printer["gcode_macro _USER_VARIABLES"].bed_mesh_enabled %} |
44 | 44 | {% set firmware_retraction_enabled = printer["gcode_macro _USER_VARIABLES"].firmware_retraction_enabled %} |
45 | 45 | {% set filter_enabled = printer["gcode_macro _USER_VARIABLES"].filter_enabled %} |
46 | | - |
| 46 | + |
47 | 47 | {% if MATERIAL not in printer["gcode_macro _USER_VARIABLES"].material_parameters %} |
48 | 48 | RESPOND MSG="Material '{MATERIAL}' is unknown!" |
49 | 49 | { action_raise_error("Add this new material to your material_parameters variable!") } |
|
59 | 59 | {% if status_leds_enabled %} |
60 | 60 | STATUS_LEDS COLOR="BUSY" |
61 | 61 | {% endif %} |
62 | | - |
| 62 | + |
63 | 63 | {% if light_enabled %} |
64 | 64 | LIGHT_ON S={light_intensity_start_print} |
65 | 65 | {% endif %} |
@@ -169,7 +169,7 @@ gcode: |
169 | 169 | {% set klippain_ercf_enabled = printer["gcode_macro _USER_VARIABLES"].klippain_ercf_enabled %} |
170 | 170 | {% set verbose = printer["gcode_macro _USER_VARIABLES"].verbose %} |
171 | 171 |
|
172 | | - {% set max_extrude_cross_section = printer.configfile.settings.extruder.max_extrude_cross_section|float %} |
| 172 | + {% set max_extrude_cross_section = printer.configfile.settings.extruder.max_extrude_cross_section|float %} |
173 | 173 | {% set Sp = (prime_line_flowrate / max_extrude_cross_section) * 60 |float %} |
174 | 174 |
|
175 | 175 | {% if klippain_ercf_enabled %} |
@@ -281,7 +281,7 @@ gcode: |
281 | 281 | {% if CHAMBER_TEMP > 0 %} |
282 | 282 | {% set chamber_sensor_name = printer["gcode_macro _USER_VARIABLES"].chamber_temperature_sensor_name %} |
283 | 283 | {% set CURRENT_TEMP = printer["temperature_sensor " ~ chamber_sensor_name].temperature|float %} |
284 | | - |
| 284 | + |
285 | 285 | # We do a first test to validate that the chamber is not already at temperature before starting the soak |
286 | 286 | {% if CURRENT_TEMP <= CHAMBER_TEMP %} |
287 | 287 | G0 X{max_x|int / 2} Y{max_y|int / 3} Z50 F{St} |
@@ -485,7 +485,7 @@ gcode: |
485 | 485 | # gcode: |
486 | 486 | # ## Your custom code here |
487 | 487 |
|
488 | | - |
| 488 | + |
489 | 489 | [gcode_macro _MODULE_CUSTOM3] |
490 | 490 | gcode: |
491 | 491 | # ---- CUSTOM Macro section |
|
0 commit comments