First of all, I've done some research to find a good starting script and/or mods to Marlin to accommodate but couldn't seem to find a good one. CMiIW
I am using two extruder aligned to allow switching via a single nozzle, much like Prometheus Bowden combiner. Both filaments are inserted close to the neck of the combiner. Thus, every 'tool change' requires retracting the filament as far as the distance from the nozzle to the neck of the combiner.
Tool Change Script :
G1 E-115 F4500 ; retract far to the neck
G92 E-115 ; the filament is 115mm behind nozzle
The problem only appears at the first layer where the Machine Profile works as a dual nozzle machine.. Generated Gcode will prime any first extruder that goes into action and retract far back to the neck to switch filaments, but I haven't figured out how to prime/extrude the second extruder as far as 115mm (first layer only) down to the nozzle because S3D 'thinks' it is already there!
I know this behavior is completely predictable, as I AM using a dual nozzle profile.
My attempt at this was inserting some logic in the Starting Script :
M82; set to absolute mode
G28; home all axes
G29;
G1 Z15.0 F{travel_speed} ;move the platform down 15mm
G92 E0 ;zero the extruded length
{IF NEWTOOL=1} T1; if print starts with Tool 1
{IF NEWTOOL=1} G1 X0.255 Y0.255 F6000;
{IF NEWTOOL=1} G1 Z0.225 F1002;
{IF NEWTOOL=1} G92 E-115 ; filament is 115mm behind
{IF NEWTOOL=1} G1 E0.0000 F1080 T1; get filament to the nozzle
{IF NEWTOOL=1} G1 X149.745 Y0.255 E7.9242 F3000; start drawing a square to prime
{IF NEWTOOL=1} G1 X149.745 Y149.745 E15.8484;
{IF NEWTOOL=1} G1 X0.255 Y149.745 E23.7727;
{IF NEWTOOL=1} G1 X0.255 Y0.255 E31.6969; square finished
{IF NEWTOOL=0}T0; if print starts with Tool 0
{IF NEWTOOL=0}G1 X0.255 Y0.255 F6000 ;
{IF NEWTOOL=0}G1 Z0.225 F1002;
{IF NEWTOOL=0}G92 E-110 ;
{IF NEWTOOL=0}G1 E0.0000 F1080 T0;
{IF NEWTOOL=0}G1 X149.745 Y0.255 E7.9242 F3000;
{IF NEWTOOL=0}G1 X149.745 Y149.745 E15.8484;
{IF NEWTOOL=0}G1 X0.255 Y149.745 E23.7727;
{IF NEWTOOL=0}G1 X0.255 Y0.255 E31.6969;
M73 P0;
M117 Printing...;
Has anyone figured this out yet?
Cheers