After several failed attempts, i believe I've got a dual-extruder print to work on the cube pro!
@loffler got me on the right track, but i still couldn't get it right until now.
The profiles do a huge amount of post processing, but the way tool changes work in the slicer and the way they work in the post-processor are quite different.
Long story short, I've had to insert "REAL G-CODE" tool changes into the tool change script and let the post-processor strip them back out. This way, the {tool1replace} commands in the post processor work properly. The order of operations is also vital. In order for these scripts to work properly, you also need to duplicate my firmware configuration (Tools menu)
The scripts below work great for me with PLA (at 220)and ABS(at 250). Speed (on OTHER tab) should be 2500 mm/min with all underspeeds at 100% since the cube pro's extrusion speed is hard-coded.
If your loaded cartridges are different, you'll have to change the material codes in the Starting G-code tab.
You will need temp controllers for the extruders AND for a heated bed--the heated bed temp is used for the chamber--set it at 40 for ABS or 0 for PLA. (or 40 for either)
Here are the Firmware Configuration Changes:
The first 5 lines (Temperature controls) in the FFF tab should read:
M#04 S$ P1
M404 S$ P1
M#04 S$
M404 S$
M105
The Fan Speed Control lines should be:
M106 P%
M107
My Starting G-Code Script is:
Code: Select all
^Firmware:V1.10
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:214
^MaterialCodeE2:259
^MaterialCodeE3:-1
^MaterialLengthE1: .01
^MaterialLengthE2: .01
^MaterialLengthE3: 0.000
^ModelHeight: 14.700
^LayerCount: 49
^LayerHeight:0.3
^Supports:-1
^Raft:-1
^Sidewalks:-1
^Density:Solid
^Pattern:Lines
^Version:891
^Time: 000
M227 P400 S400 G800 F800
M228 P0 S400
M231 P0 S0
M232 P1200 S1200
M233 P1850
M106 P100
G4 P2
M601 P2 S30 F5
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S2000
M404 S[bed0_temperature] P1
M204 S[extruder0_temperature] P1
M004 S[extruder0_temperature] P1
G1 X108.000 Y136.000 Z5.1000 F9000.0
G1 X108.000 Y161.000 Z5.1000 F9000.0
G1 X108.000 Y157.000 Z5.1000 F9000.0
M004 S[extruder0_temperature]
G4 P2
M551 P1500 S50
G4 P2
G1 X108.000 Y136.000 Z5.1000 F9000.0
G1 X108.000 Y161.000 Z5.1000 F9000.0
G1 X108.000 Y136.000 Z5.1000 F9000.0
G1 X108.000 Y161.000 Z5.1000 F9000.0
M204 S[extruder1_temperature]
G4 P2
M552 P1500 S50
G4 P2
G1 X108.000 Y136.000 Z5.1000 F9000.0
G1 X108.000 Y161.000 Z5.1000 F9000.0
G1 X108.000 Y136.000 Z5.1000 F9000.0
G1 X108.000 Y161.000 Z5.1000 F9000.0
M004 S[extruder0_temperature]
M104 S[extruder1_temperature]
M601 P2 S30 F5
M107
^InitComplete
M103
^LayerTime:
M106 P100
#Vector T22
M004 S[extruder0_temperature] P1
M228 P0 S400
M227 P400 S400 G800 F800
M103
M108 S14
My Tool Change G-Code Script is:
Code: Select all
{IF NEWTOOL=0}T0
{IF NEWTOOL=1}T1
G1 X108.000 Y136.000 Z[current_Z_position] F8000.0
G1 X108.000 Y161.000 Z[current_Z_position] F8000.0
{IF NEWTOOL=0}M101REV
{IF NEWTOOL=1}M201REV
G1 X109.000 Y161.000 Z[current_Z_position] F8000.0
G4 P5
M103
G1 X108.000 Y136.000 Z[current_Z_position] F8000.0
G1 X108.000 Y161.000 Z[current_Z_position] F8000.0
and my Post Processing Script is:
Code: Select all
{STRIP ";"}
{STRIP "G90"}
{STRIP "M82"}
{REPLACE "M102" "M103"}
{REPLACE "M104" "M204"}
{REPLACE "M004" "M104"}
{TOOL1REPLACE "M101" "M201"}
{REPLACE "M101REV" "M101"}
{REPLACE "M201REV" "M201"}
{STRIP "T0"}
{STRIP "T1"}
{STRIP "T2"}
{STRIP ";"}
{EXTENSION "bfb"}