You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[gcode_macro ACTIVATE_EXTRUDER]
description: Replaces built-in macro for a X-in, 1-out extruder configuration SuperSlicer fix
rename_existing: ACTIVATE_EXTRUDER_BASE
gcode:
{% if 'EXTRUDER' in params %}
{% set ext = params.EXTRUDER|default(EXTRUDER) %}
{% if ext == "extruder"%}
{action_respond_info("Switching to extruder.")}
T0
{% elif ext == "extruder1" %}
{action_respond_info("Switching to second_extruder.")}
T1
{% else %}
{action_respond_info("EXTRUDER value being passed.")}
ACTIVATE_EXTRUDER_BASE EXTRUDER={ext}
{% endif %}
{% endif %}
[delayed_gcode activate_default_extruder]
initial_duration: 1
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruderOrca Slicer also transmits the corresponding extruder_PRINT_START_PHASE_INIT EXTRUDER=210 BED=55 MESH_MIN=180,165 MESH_MAX=209,194 LAYERS=1 NOZZLE_SIZE=0.4 TOOL=1in the clipper macro start_end.cfg I have under _print_start_phase_init following insert:{% set TOOL = params.TOOL|default(0)|int %} ; Get tool from slicer
Activate the correct tool/extruder 0|1
T{TOOL} A debug statement also shows me this correctly. M118 TOOL Value : {params.TOOL}`
But when purging, the extruder T0 is always used
Where could I correct that. I am grateful for any help
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I use two macros for the extruder change.
`[gcode_macro T0]
gcode:
# Deactivate stepper in my_extruder_stepper
SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE=
# Activate stepper in extruder
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=extruder
#SET_PRESSURE_ADVANCE ADVANCE=0.3 EXTRUDER=extruder
SET_PRESSURE_ADVANCE ADVANCE=0.42 EXTRUDER=extruder
#SET_PRESSURE_ADVANCE ADVANCE=0.62 EXTRUDER=extruder
#SET_PRESSURE_ADVANCE ADVANCE=0.75 EXTRUDER=extruder
[gcode_macro T1]
gcode:
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=
# Activate stepper in my_extruder_stepper
SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE=extruder
#SET_PRESSURE_ADVANCE ADVANCE=0.3 EXTRUDER=extruder1
SET_PRESSURE_ADVANCE ADVANCE=0.42 EXTRUDER=extruder1
#SET_PRESSURE_ADVANCE ADVANCE=0.62 EXTRUDER=extruder1
#SET_PRESSURE_ADVANCE ADVANCE=0.75 EXTRUDER=extruder1
[gcode_macro ACTIVATE_EXTRUDER]
description: Replaces built-in macro for a X-in, 1-out extruder configuration SuperSlicer fix
rename_existing: ACTIVATE_EXTRUDER_BASE
gcode:
{% if 'EXTRUDER' in params %}
{% set ext = params.EXTRUDER|default(EXTRUDER) %}
{% if ext == "extruder"%}
{action_respond_info("Switching to extruder.")}
T0
{% elif ext == "extruder1" %}
{action_respond_info("Switching to second_extruder.")}
T1
{% else %}
{action_respond_info("EXTRUDER value being passed.")}
ACTIVATE_EXTRUDER_BASE EXTRUDER={ext}
{% endif %}
{% endif %}
[delayed_gcode activate_default_extruder]
initial_duration: 1
gcode:
ACTIVATE_EXTRUDER EXTRUDER=extruder
Orca Slicer also transmits the corresponding extruder_PRINT_START_PHASE_INIT EXTRUDER=210 BED=55 MESH_MIN=180,165 MESH_MAX=209,194 LAYERS=1 NOZZLE_SIZE=0.4 TOOL=1in the clipper macro start_end.cfg I have under _print_start_phase_init following insert:{% set TOOL = params.TOOL|default(0)|int %} ; Get tool from slicerActivate the correct tool/extruder 0|1
T{TOOL}
A debug statement also shows me this correctly.M118 TOOL Value : {params.TOOL}`But when purging, the extruder T0 is always used
Where could I correct that. I am grateful for any help
All reactions