Cubepro gcode

Post Reply
Lsutehall
Posts: 8
Joined: 18 Dec 2014, 11:44

Re: Cubepro gcode

Post by Lsutehall »

Ok, so after lots of studying and writing code, i tried it - and failed.

I sliced a cube with kisslicer (see settings attached) and then recoded with codex. The printer accepted the file, and seemed to work ok up to a point. it moved to the wipe position, heated up the chamber, and then promptly DIDN'T heat the extruder - then failed with a filament feed error. Not sure whats going on here.

loffler, have you tried "M404 S40 P1" - I believe that "P1" causes the machine to pause until the chamber temperature is reached.

Here are the settings I used:

Material.ini:

Code: Select all

[sample material]
g_code_matl=3B204D617962652073657420736F6D65206D6174657269616C2D737065636966696320472D636F64653F
fan_Z_mm=0
fan_loops_percent=100
fan_inside_percent=0
fan_cool_percent=100
temperature_C=250
keep_warm_C=180
first_layer_C=255
bed_C=80
sec_per_C_per_C=0
flow_min_mm3_per_s=0.01
flow_max_mm3_per_s=10
destring_suck=1.25
destring_prime=1.25
destring_min_mm=1
destring_trigger_mm=100
destring_speed_mm_per_s=15
Z_lift_mm=0
min_layer_time_s=10
wipe_mm=10
cost_per_cm3=0
flowrate_tweak=1
fiber_dia_mm=3
color=0

[ABS white]
g_code_matl=3B204D617962652073657420736F6D65206D6174657269616C2D737065636966696320472D636F64653F0A4D3234302053313430300A4D3C4558542B313E3038205331382E30
fan_Z_mm=0
fan_loops_percent=100
fan_inside_percent=0
fan_cool_percent=100
temperature_C=260
keep_warm_C=220
first_layer_C=265
bed_C=60
sec_per_C_per_C=0.00549771
flow_min_mm3_per_s=0.01
flow_max_mm3_per_s=10
destring_suck=1.25
destring_prime=1.25
destring_min_mm=1
destring_trigger_mm=100
destring_speed_mm_per_s=15
Z_lift_mm=0
min_layer_time_s=10
wipe_mm=10
cost_per_cm3=0
flowrate_tweak=1
fiber_dia_mm=1.65
color=4294967040

[PLA blue]
g_code_matl=3B204D617962652073657420736F6D65206D6174657269616C2D737065636966696320472D636F64653F0A4D3234302053323030300A4D3C4558542B313E3038205332332E30
fan_Z_mm=0
fan_loops_percent=100
fan_inside_percent=0
fan_cool_percent=100
temperature_C=215
keep_warm_C=170
first_layer_C=255
bed_C=40
sec_per_C_per_C=0.00549771
flow_min_mm3_per_s=0.01
flow_max_mm3_per_s=10
destring_suck=1.25
destring_prime=1.25
destring_min_mm=1
destring_trigger_mm=100
destring_speed_mm_per_s=15
Z_lift_mm=0
min_layer_time_s=10
wipe_mm=10
cost_per_cm3=0
flowrate_tweak=1
fiber_dia_mm=1.65
color=2031360
Printers.ini

Code: Select all

[sample printer]
bed_STL_filename=C:\Program Files (x86)\3D Systems\CubePro\BedCubeX.stl
extension=gcode
cost_per_hour=0
g_code_prefix=3B205B6D6D5D206D6F64650A4732310A3B206162736F6C757465206D6F64650A4739300A
g_code_warm=3B2053656C6563742065787472756465722C207761726D2C2070757267650A0A3B204266422D7374796C650A4D3C4558542B313E303420533C54454D503E0A4D3534320A4D35353C4558542B313E2050333230303020533930300A4D3534330A0A3B2035442D7374796C650A543C4558542B303E0A4D31303920533C54454D503E0A
g_code_cool=3B2047756172616E746565642073616D652065787472756465722C20636F6F6C696E6720646F776E0A0A3B204266422D7374796C650A4D3C4558542B313E303420533C54454D503E0A0A3B2035442D7374796C650A4D31303420533C54454D503E0A
g_code_N_layers=3B204D617962652072652D686F6D652058202620593F
g_code_postfix=3B20416C6C2075736564206578747275646572732061726520616C72656164792027436F6F6C65642720746F20300A
every_N_layers=0
post_process=NULL
num_extruders=2
firmware_type=0
add_comments=1
fan_on=M106
fan_off=M107
fan_pwm=1
add_m101_g10=0
z_speed_mm_per_s=3.5
z_settle_mm=0.25
bed_size_x_mm=285.4
bed_size_y_mm=270.4
bed_size_z_mm=230
ext_radius=0
bed_offset_x_mm=-30
bed_offset_y_mm=-5
bed_offset_z_mm=0
bed_roughness_mm=0.25
round_bed=0
travel_speed_mm_per_s=500
first_layer_speed_mm_per_s=10
dmax_per_layer_mm_per_s=50
xy_accel_mm_per_s_per_s=1500
xy_steps_per_mm=150
lo_speed_perim_mm_per_s=5
lo_speed_solid_mm_per_s=15
lo_speed_sparse_mm_per_s=30
hi_speed_perim_mm_per_s=15
hi_speed_solid_mm_per_s=60
hi_speed_sparse_mm_per_s=75
ext_gain_1=1
ext_material_1=1
ext_axis_1=0
ext_gain_2=1
ext_material_2=0
ext_axis_2=0
ext_Xoff_2=0
ext_Yoff_2=0
ext_gain_3=1
ext_material_3=0
ext_axis_3=0
ext_Xoff_3=0
ext_Yoff_3=0
ext_gain_4=1
ext_material_4=0
ext_axis_4=0
ext_Xoff_4=0
ext_Yoff_4=0
model_ext=0
support_ext=0
support_body_ext=0
raft_ext=0
solid_loop_overlap_fraction=0.5

[Cubepro]
bed_STL_filename=C:\Program Files (x86)\3D Systems\CubePro\BedCubeX.stl
extension=bfb
cost_per_hour=0
g_code_prefix=5E4669726D776172653A56312E30300A5E4D696E6669726D776172653A56312E30300A5E44524D3A3030303030303030303030300A5E5072696E7465724D6F64656C3A4355424550524F0A3B205B6D6D5D206D6F64650A3B4732310A3B206162736F6C757465206D6F64650A3B4739300A4D34303420533C4245442D32303E0A5E20736574206368616D6265722074656D7020746F206265642074656D702074616B65203230206465670A4D32323720503235302053323530204733303020463730300A5E207265747261637420616E64207265657874656E642C20676C6F62616C2E0A4D32323820503020533235300A5E2064697361626C65206D3232370A4D3233312050302053300A4D3233322050323530302053323530300A4D3233332050313835300A5E686F6D65207A2C2064726F70207A20746F20676C756520706F736E2C20646973706C617920676C7565206D65737361676520616E64207761697420666F72206F6B3F0A4D31303620503130300A5E2066616E73206F6E2C206D61782073706565640A47342050300A5E206477656C6C2064697361626C65642F6477656C6C20666F722030207365636F6E64730A5E4D363031205032205333302046350A5E20666169726C79207375726520746869732069732073656C65637420746F6F6C206F66667365742031202D2074686520666F6C6C6F77696E6720636F6D6D616E6473207573652074686973206F6666736574207768656E20696E74657270726574696E67206720636F6D6D616E64732E20503020697320657874727564657220312C20503220697320657874727564657220322E2073333020616E6420463520646F6E2774206368616E6765206265747765656E20746F6F6C730A4D3232382050302053310A5E2064697361626C65206D3232370A4D3232372050312053312047313030302046313030300A5E206368616E676520676C6F62616C20726574726163742073657474696E677320616761696E0A4D34303420533C4245443E2050310A5E20736574206368616D6265722074656D7020746F206265642074656D7020616E6420776169742074696C6C20697420676574732074686572650A4D3130370A5E66616E206F66660A5E496E6974436F6D706C657465
g_code_warm=3B2053656C6563742065787472756465722C207761726D2C2070757267650A3B204266422D7374796C650A4D31303620503130300A5E66616E73206F6E0A4D3C4558542B313E303420533C54454D502D31303E2050310A5E68656174206E65772065787420746F207072696D696E672074656D700A3C4D41544C3E0A5E73656C65637420616363656C65726174696F6E2073657474696E677320666F722063757272656E74206D617472657269616C0A47342050300A5E6477656C6C20666F722030207365636F6E64730A4D3C4558542B313E303420533C54454D502D31303E2050310A5E68656174206E65772065787420746F207072696D696E672074656D7020616E6420776169740A473120583130382E30303020593133362E303030203C5A3E2046393030302E300A5E706F736E20666F7220776970650A473120583130382E30303020593136312E303030203C5A3E2046393030302E300A5E77697065206E65772065787420696E746F2062696E0A473120583130382E30303020593135372E303030203C5A3E2046393030302E300A5E706F736E206E657720657874206E6561722062696E206C69700A4D3C4558542B313E303420533C54454D502D31303E0A5E68656174206E65772065787420746F207072696D696E672074656D700A4D35353C4558542B313E2050363530205335300A5E7072696D65206E6577206578742036353020737465707320617420353572706D0A473120583130382E30303020593133362E303030203C5A3E2046393030302E300A5E77697065206E657720657874206F7574206F662062696E
g_code_cool=3B2047756172616E746565642073616D652065787472756465722C20636F6F6C696E6720646F776E0A3B204266422D7374796C650A3C4D41544C3E0A5E73656C65637420616363656C65726174696F6E2073657474696E677320666F722063757272656E74206D617472657269616C0A4D3C4558542B313E303420533C54454D503E2050310A5E6B6565707761726D206F6C642065787472756465720A4D35363C4558542B313E205034353020533530300A5E72657665727365206F6C64206578747275646572203435302073746570732061742035302072706D0A473120583131382E30303020593133332E303030203C5A3E204631353030302E300A5E706F736E206F6C642065787420666F7220776970650A473120583131382E30303020593135372E303030203C5A3E2046393030302E300A5E77697065206F6C642065787420696E746F2062696E0A473120583131382E30303020593133332E303030203C5A3E2046393030302E300A5E77697065206F6C6420657874206F7574206F662062696E
g_code_N_layers=3B204D617962652072652D686F6D652058202620593F
g_code_postfix=3B20416C6C2075736564206578747275646572732061726520616C72656164792027436F6F6C65642720746F20300A4D343034205330
every_N_layers=0
post_process=NULL
num_extruders=2
firmware_type=0
add_comments=0
fan_on=M106
fan_off=M107
fan_pwm=1
add_m101_g10=0
z_speed_mm_per_s=3.5
z_settle_mm=0.25
bed_size_x_mm=285.4
bed_size_y_mm=270.4
bed_size_z_mm=230
ext_radius=0
bed_offset_x_mm=-30
bed_offset_y_mm=-5
bed_offset_z_mm=0
bed_roughness_mm=0.25
round_bed=0
travel_speed_mm_per_s=150
first_layer_speed_mm_per_s=10
dmax_per_layer_mm_per_s=50
xy_accel_mm_per_s_per_s=1500
xy_steps_per_mm=150
lo_speed_perim_mm_per_s=5
lo_speed_solid_mm_per_s=15
lo_speed_sparse_mm_per_s=30
hi_speed_perim_mm_per_s=15
hi_speed_solid_mm_per_s=60
hi_speed_sparse_mm_per_s=75
ext_gain_1=1
ext_material_1=1
ext_axis_1=0
ext_gain_2=1
ext_material_2=0
ext_axis_2=0
ext_Xoff_2=-42.5
ext_Yoff_2=0.5
ext_gain_3=1
ext_material_3=0
ext_axis_3=0
ext_Xoff_3=0
ext_Yoff_3=0
ext_gain_4=1
ext_material_4=0
ext_axis_4=0
ext_Xoff_4=0
ext_Yoff_4=0
model_ext=0
support_ext=0
support_body_ext=0
raft_ext=0
solid_loop_overlap_fraction=0.5
Styles.ini:

Code: Select all

[sample style]
layer_thickness_mm=0.25
extrusion_width_mm=0.5
num_loops=3
skin_thickness_mm=0.8
infill_extrusion_width=0.5
infill_density_denominator=4
stacked_layers=1
use_destring=1
use_wipe=1
loops_insideout=0
infill_st_oct_rnd=1
inset_surface_xy_mm=0
seam_jitter_degrees=0
seam_depth_scaler=1
seam_gap_scaler=1
seam_angle_degrees=45

[Default for cubepro]
layer_thickness_mm=0.2
extrusion_width_mm=0.5
num_loops=3
skin_thickness_mm=0.8
infill_extrusion_width=0.5
infill_density_denominator=1
stacked_layers=1
use_destring=1
use_wipe=1
loops_insideout=0
infill_st_oct_rnd=0
inset_surface_xy_mm=0
seam_jitter_degrees=360
seam_depth_scaler=1
seam_gap_scaler=1
seam_angle_degrees=55
Supports.ini

Code: Select all

[sample support]
support_sheathe=0
support_density=3
solid_interface=0
support_inflate_mm=0
support_gap_mm=0.5
support_angle_deg=45
support_z_max_mm=-1
sheathe_z_max_mm=-1
raft_mode=0
prime_pillar_mode=1
raft_inflate_mm=2
brim_mm=0
brim_ht_mm=0
brim_fillet=1

[ABS support]
support_sheathe=0
support_density=5
solid_interface=0
support_inflate_mm=0
support_gap_mm=0.2
support_angle_deg=60
support_z_max_mm=-1
sheathe_z_max_mm=-1
raft_mode=1
prime_pillar_mode=0
raft_inflate_mm=0
brim_mm=3
brim_ht_mm=1
brim_fillet=0

[No support]
support_sheathe=0
support_density=0
solid_interface=0
support_inflate_mm=0
support_gap_mm=0.2
support_angle_deg=60
support_z_max_mm=-1
sheathe_z_max_mm=-1
raft_mode=0
prime_pillar_mode=0
raft_inflate_mm=0
brim_mm=0
brim_ht_mm=0
brim_fillet=0
My material g-code is this (for ABS):

Code: Select all

; Maybe set some material-specific G-code?
M240 S1400
M<EXT+1>08 S18.0
Its used in the select extruder section to set the M240 (acceleration?) and extruder speed for the material in use.

Printer gcode:
Prefix:

Code: Select all

^Firmware:V1.00
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
; [mm] mode
;G21
; absolute mode
;G90
M404 S<BED-20>
^ set chamber temp to bed temp take 20 deg
M227 P250 S250 G300 F700
^ retract and reextend, global.
M228 P0 S250
^ disable m227
M231 P0 S0
M232 P2500 S2500
M233 P1850
^home z, drop z to glue posn, display glue message and wait for ok?
M106 P100
^ fans on, max speed
G4 P0
^ dwell disabled/dwell for 0 seconds
^M601 P2 S30 F5
^ fairly sure this is select tool offset 1 - the following commands use this offset when interpreting g commands. P0 is extruder 1, P2 is extruder 2. s30 and F5 don't change between tools
M228 P0 S1
^ disable m227
M227 P1 S1 G1000 F1000
^ change global retract settings again
M404 S<BED> P1
^ set chamber temp to bed temp and wait till it gets there
M107
^fan off
^InitComplete
Select extruder:

Code: Select all

; Select extruder, warm, purge
; BfB-style
M106 P100
^fans on
M<EXT+1>04 S<TEMP-10> P1
^heat new ext to priming temp
<MATL>
^select acceleration settings for current matrerial
G4 P0
^dwell for 0 seconds
M<EXT+1>04 S<TEMP-10> P1
^heat new ext to priming temp and wait
G1 X108.000 Y136.000 <Z> F9000.0
^posn for wipe
G1 X108.000 Y161.000 <Z> F9000.0
^wipe new ext into bin
G1 X108.000 Y157.000 <Z> F9000.0
^posn new ext near bin lip
M<EXT+1>04 S<TEMP-10>
^heat new ext to priming temp
M55<EXT+1> P650 S50
^prime new ext 650 steps at 55rpm
G1 X108.000 Y136.000 <Z> F9000.0
^wipe new ext out of bin
Deselect extruder:

Code: Select all

; Guaranteed same extruder, cooling down
; BfB-style
<MATL>
^select acceleration settings for current matrerial
M<EXT+1>04 S<TEMP> P1
^keepwarm old extruder
M56<EXT+1> P450 S500
^reverse old extruder 450 steps at 50 rpm
G1 X118.000 Y133.000 <Z> F15000.0
^posn old ext for wipe
G1 X118.000 Y157.000 <Z> F9000.0
^wipe old ext into bin
G1 X118.000 Y133.000 <Z> F9000.0
^wipe old ext out of bin
Postfix:

Code: Select all

; All used extruders are already 'Cooled' to 0
M404 S0
^Set chamber to 0
nighteagle
Posts: 2
Joined: 12 Jan 2015, 17:29

Re: Cubepro gcode

Post by nighteagle »

Hi,

so i from germany and have also an new cubePro and make some modifications with the mechanic to have more accuracy in the printing.. so the wobbling printtable is a no go!

So by your problem it seem your extruder can not heat because you dont have turn it on in your code.

So here your material g-code:

Code: Select all

; Maybe set some material-specific G-code?
M240 S1400
M<EXT+1>08 S18.0
So the Extruder is called 102, 204 and 304 for the first, second and third extruder.

To turn on the extruder:

Code: Select all

M<EXT+1>[b]04[/b] 
but also need an temperature on ABS of 260:

Code: Select all

M<EXT+1>04 S260 P1
Or better:

Code: Select all

M<EXT+1>04 S<TEMP> P1
P1 means waiting to reach the temperature.

this should work?

So the command "Inactivated permit" have no function. The way to print with no cardridge is only on firmware 1.03. The actually firmware 1.08A have no way to print without cardridge by G-code.
Is better to use an chip-protector to protect writing operations on it. Only reading. So the firmware of the CubePro can not change the chip-informations. You cannot use an used chip again when it is on 0% then the serial-number of the chip ist stored on the cubepro. So you need one new chip or cardridge with chip on it to tell the firmware of cubepro "Hello here i am the costfull new 3DS filament" and then protect all writings to it during print.

I will test the pcb from cube3dfree and will give you some info.

regards,

nighteagle
nighteagle
Posts: 2
Joined: 12 Jan 2015, 17:29

Re: Cubepro gcode

Post by nighteagle »

Hi,

so i have test something with cubepro and the G-Codes. Many compares betweeen original and kisslicer gcode.
First i have use following Prefix and Postfix alone as cubepro file:

Code: Select all

^Firmware:V1.08
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:259
^MaterialCodeE2:-1
^MaterialCodeE3:-1
^MaterialLengthE1: 0.000
^MaterialLengthE2: 0.000
^MaterialLengthE3: 0.000
^ModelHeight: 2.000
^LayerCount: 10
^LayerHeight:0.2
^Supports:-1
^Raft:-1
^Sidewalks:-1
^Density:Strong
^Pattern:Diamond
^Version:891
^Time:6
M404 S40
M227 P250 S250 G300 F700
M228 P0 S250
M231 P0 S0
M232 P2500 S2500
M233 P1850
M106 P100
G4 P0
M601 P2 S30 F5
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S1400
M104 S220 P1
M104 S250 P1
G1 X108.000 Y136.000 Z5.2000 F9000.0
G1 X108.000 Y161.000 Z5.2000 F9000.0
G1 X108.000 Y157.000 Z5.2000 F9000.0
M104 S250 P1
M551 P1500 S50
G1 X108.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
^LayerTime: 0.0 0.0 0.0
M107
M106 P100
M103
M561 P400 S500
G4 P1
M104 S0
M204 S0
M304 S0
M107
Then i have found a reason why an filament Error appear during the init.
So some row are interesting and there defines in the forums are wrong:

Code: Select all

M104 S250 P1
So the command M104 means the Extruder 1 to set temperature with Parameter S and beginn to heat up.
P1 means not waiting to reach the setting temperature! It means don't wait and go to next row of the G-Code!
So after i found that it makes sense.
This code means heat up the Extruder 1 to the specified temperature and wait if the temperature is reached

Code: Select all

M104 S250 
In the Init of the cubepro files you can find something like this:

Code: Select all

M104 S220 P1
M104 S250 P1
G1 X108.000 Y136.000 Z5.2000 F9000.0
G1 X108.000 Y161.000 Z5.2000 F9000.0
G1 X108.000 Y157.000 Z5.2000 F9000.0
M104 S250
M551 P1500 S50
G1 X108.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
Here you see first heat up the Extruder 1 to 220 Grad and go to next row in code. Don't wait to reach the temperature.
Then heat up to 250 Grad and go to next row ans also don't wait to reach the temperature.
So i can say this is called an pre-heat phase of the extruder... during this time the cubepro can make some other things in the G-Code like drive to filament-trasher and set some init parameters.
One key-position is the filament-trasher-procedure. Here the nozzle of the extruder have not reached the temperature from the first or second command.
So we have to wait if the temperature is reached and after that we go to the next row:

Code: Select all

M104 S250
And all is fine. I have test it and with this code the extruder is waiting on the filament-trasher and after reached temperature it beginns to extrude filament.

Here the completely code:

Code: Select all

^Firmware:V1.08
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:259
^MaterialCodeE2:-1
^MaterialCodeE3:-1
^MaterialLengthE1: 0.000
^MaterialLengthE2: 0.000
^MaterialLengthE3: 0.000
^ModelHeight: 2.000
^LayerCount: 10
^LayerHeight:0.2
^Supports:-1
^Raft:-1
^Sidewalks:-1
^Density:Strong
^Pattern:Diamond
^Version:891
^Time:6
M404 S40
M227 P250 S250 G300 F700
M228 P0 S250
M231 P0 S0
M232 P2500 S2500
M233 P1850
M106 P100
G4 P0
M601 P2 S30 F5
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S1400
M104 S220 P1
M104 S250 P1
G1 X108.000 Y136.000 Z5.2000 F9000.0
G1 X108.000 Y161.000 Z5.2000 F9000.0
G1 X108.000 Y157.000 Z5.2000 F9000.0
M104 S250
M551 P1500 S50
G1 X108.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
^LayerTime: 0.0 0.0 0.0
M107
M106 P100
M103
M561 P400 S500
G4 P1
M104 S0
M204 S0
M304 S0
M107
Regards,

nighteagle

PS: Excuse my poor english i hope you understand me.
Hugues
Posts: 126
Joined: 11 Nov 2014, 03:40
Contact:

Re: Cubepro gcode

Post by Hugues »

Great news !

I'm curious to see how you mod your cubepro to remove the wobbling, can you share it ?

Thanks !
regards,
Hugues

www.cubexupgrade.com
loffler
Posts: 9
Joined: 06 Jan 2015, 10:21

Re: Cubepro gcode

Post by loffler »

nighteagle, I copied and pasted your code into a file and encoded with codex, but I get the same thing as I always get. The head goes to the centre of the bed, heats chamber, then goes to waste position and stays in that position saying its heating the chamber.
This is the results of all my testing and cant get past it. I am on firmware V1.08A
I have tried preheating the chamber to 40°and above and manually heating the nozzles, but the .cubepro file does not work for me. I have left it for hours thinking Im being impatient, but does not move or extrude.
I am not concerned about printing with other filaments, I just want to use a better slicer/support generator than cubepro software.
loffler
Posts: 9
Joined: 06 Jan 2015, 10:21

Re: Cubepro gcode

Post by loffler »

Lsutehall, I tried your code aswell and had the same results. Its must be something im doing wrong with the gcode or .cubepro file.
Could either of you post a pre-prepared file of something you know works instead of the code lines so I can try that instead of making my own?
I can then compare where im going wrong.
Epop
Posts: 38
Joined: 23 Jan 2015, 00:48
Location: South Ogden, Utah(USA)

Re: Cubepro gcode

Post by Epop »

I'm with Loffler on this one. I'm also running Cube...not so... Pro(trio) I'm running latest software/firmware(an attempt to remain vanilla and have it work)... I cannot get Kisslicer/Cubeit to run with copy/pasting the code from this thread, sounds like the same issue, will go through startup just fine as far as I can tell. Goto the area the print should start after 'chamber heating' messages, start to print and either filament feed alarm or it starts to grind and I kill the power, even though I believe the feed is actually set to be a lot slower than it could be. I'm betting they did something to it to remove 3rd party fixing capabilities. It will print a small amount ~5mm before it alarms out... or before I shut it off. so Its getting hot at least... but something is obviously sideways...

My ini section looks like this for a draft build using ABS(white) in #1 and PLA(natural) in #3 - (for comparison)

Code: Select all

^Firmware:V1.08
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:250
^MaterialCodeE2:-1
^MaterialCodeE3:214
^MaterialLengthE1: 498.672
^MaterialLengthE2: 0.000
^MaterialLengthE3: 154.449
^ModelHeight: 7.000
^LayerCount: 35
^LayerHeight:0.2
^Supports:250
^SupportBorders: TRUE
^Raft:214
^Sidewalks:-1
^Density:Strong
^Pattern:Diamond
^Version:891
^Time:17
M227 P250 S250 G200 F700
M228 P0 S250
M231 P0 S0
M232 P2500 S2500
M233 P1850
M106 P100
G4 P2
M601 P2 S30 F5
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S2000
M304 S170 P1
M304 S205 P1
G1 X128.000 Y136.000 Z5.2000 F9000.0
G1 X128.000 Y161.000 Z5.2000 F9000.0
G1 X128.000 Y157.000 Z5.2000 F9000.0
M304 S205
M553 P1500 S50
G1 X128.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S0 P1
M107
^InitComplete
and this is the header for the same part, same settings just using ABS(white) in #1 (no raft is the only change)

Code: Select all

^Firmware:V1.08
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:250
^MaterialCodeE2:-1
^MaterialCodeE3:-1
^MaterialLengthE1: 469.271
^MaterialLengthE2: 0.000
^MaterialLengthE3: 0.000
^ModelHeight: 6.000
^LayerCount: 30
^LayerHeight:0.2
^Supports:250
^SupportBorders: TRUE
^Raft:-1
^Sidewalks:-1
^Density:Strong
^Pattern:Diamond
^Version:891
^Time:13
M404 S40
M227 P250 S250 G300 F700
M228 P0 S250
M231 P0 S0
M232 P2500 S2500
M233 P1850
M106 P100
G4 P0
M601 P2 S30 F5
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S1400
M104 S220 P1
M104 S250 P1
G1 X108.000 Y136.000 Z5.2000 F9000.0
G1 X108.000 Y161.000 Z5.2000 F9000.0
G1 X108.000 Y157.000 Z5.2000 F9000.0
M104 S250
M551 P1500 S50
G1 X108.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
here's where I see a significant difference. After the init and throughout the program there are sections similar to this(abs only build)

Code: Select all

^InitComplete
#Vector T22
M104 S260 P1
M228 P0 S250
M227 P250 S250 G300 F700
...(G1 moves)
M103
I'm thinking this is an perimeter path
later, within the same layer

Code: Select all

...(G1 moves)
M103  <end of prev section>
#Vector T11
M104 S245 P1
M228 P0 S250
M227 P250 S250 G300 F700
M103
G1 X-5.915 Y-9.798 Z0.4000 F9000.0
M108 S18.0
M101
G1 X-9.802 Y-5.912 Z0.4000 F2500.0
M228 P0 S1
M227 P1 S1 G1000 F1000
M103
G1 X-10.538 Y-4.468 Z0.4000 F9000.0
M108 S18.0
M101
G1 X-4.469 Y-10.537 Z0.4000 F2500.0
M103
...
Going with #Vector T11 is the base/fill layer

and I don't know wtf this is...

Code: Select all

(end prev. layer)
^LayerTime: 1.0000 6.651 107.607
M106 P100
#QuickLayer P57.49 O23.00 D0
M104 S245 P1
M228 P0 S100
M227 P100 S100 G300 F700
#Vector T22
G1 X8.375 Y8.375 Z1.2000 F9000.0
M108 S10.3
M101
TLDR; Kisslicer/Cubit are coming up with a significantly different answer than the newer versions of Cubepro.exe

Anything you guys notice that I'm not seeing?

Thanks,

P.S. Kisslicer/Cubit settings... I'm pretty sure from before I started messing with it.

Code: Select all

^Firmware:V1.08
^Minfirmware:V1.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:-1
^MaterialCodeE2:-1
^MaterialCodeE3:-1
^MaterialLengthE1: 0.000
^MaterialLengthE2: 0.000
^MaterialLengthE3: 0.000
^ModelHeight: 2.000
^LayerCount: 10
^LayerHeight:0.2
^Supports:-1
^Raft:-1
^Sidewalks:-1
^Density:Strong
^Pattern:Diamond
^Version:891
^Time:6
M404 S40
M228 P0 S250
M231 P0 S0
M232 P2500 S2500
M233 P1850
M106 P100
G4 P0
M601 P2 S30 F5
M228 P0 S1
M240 S1400
M104 S<WARM> P1
M104 S265
G1 X108.000 Y136.000 Z5.2000 F9000.0
G1 X108.000 Y161.000 Z5.2000 F9000.0
G1 X108.000 Y157.000 Z5.2000 F9000.0
M104 S265
M551 P1500 S50
G1 X108.000 Y136.000 Z5.2000 F9000.0
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
^LayerTime: 0.0 0.0 0.0
M107
M106 P100
M103
M561 P400 S500
G4 P1
M104 S0
M204 S0
M304 S0
M107
    ; Select extruder, warm, purge
    ; BfB-style
    M106 P100
    ^fans on
    M104 S255 P1
    ^heat new ext to priming temp
    ; Maybe set some material-specific G-code?
M240 S1400
M108 S18
M103
    ^select acceleration settings for current matrerial
    G4 P0
    ^dwell for 0 seconds
    M104 S255 P1
    ^heat new ext to priming temp and wait
    G1 X108.000 Y136.000 0 F9000.0
    ^posn for wipe
    G1 X108.000 Y161.000 0 F9000.0
    ^wipe new ext into bin
    G1 X108.000 Y157.000 0 F9000.0
    ^posn new ext near bin lip
    M104 S255
    ^heat new ext to priming temp
    M551 P650 S50
    ^prime new ext 650 steps at 55rpm
    G1 X108.000 Y136.000 0 F9000.0
    ^wipe new ext out of bin
M106
M108 S389
G1 X-43.26 Y-7.62 Z0.55 F30000
G1 X-43.26 Y-7.62 Z0.3 F210
M101
G1 X-43.37 Y-8.01 Z0.3 F896
G1 X-42.85 Y-9.06 Z0.3 F896
G1 X-42.19 Y-10.12 Z0.3 F896
...
G1 X-28.79 Y-14.08 Z0.3 F1102.5
M103
G1 X-31.26 Y-14.52 Z0.3 F30000
M101
G1 X-33.17 Y-14.47 Z0.3 F4479.9
M103
G1 X-32.74 Y8.52 Z0.3 F30000
M101
G1 X-30.75 Y8.47 Z0.3 F4479.9
M103
G1 X-30.75 Y8.47 Z0.3 F30000
G1 X-30.75 Y8.47 Z0.3 F600
G1 X-32.74 Y8.52 Z0.3 F600
G1 X-32.74 Y8.52 Z0.75 F210
    ; Select extruder, warm, purge
    ; BfB-style
    M106 P100
    ^fans on
    M104 S250 P1
    ^heat new ext to priming temp
    ; Maybe set some material-specific G-code?
M240 S1400
M108 S18
M103
    ^select acceleration settings for current matrerial
    G4 P0
    ^dwell for 0 seconds
    M104 S250 P1
    ^heat new ext to priming temp and wait
    G1 X108.000 Y136.000 0.75 F9000.0
    ^posn for wipe
    G1 X108.000 Y161.000 0.75 F9000.0
    ^wipe new ext into bin
    G1 X108.000 Y157.000 0.75 F9000.0
    ^posn new ext near bin lip
    M104 S250
    ^heat new ext to priming temp
    M551 P650 S50
    ^prime new ext 650 steps at 55rpm
    G1 X108.000 Y136.000 0.75 F9000.0
    ^wipe new ext out of bin
M106
M108 S272
G1 X-22.09 Y-10.06 Z0.75 F30000
G1 X-22.09 Y-10.06 Z0.5 F210
M101
G1 X-21.7 Y-9.94 Z0.5 F626.5
G1 X-21.13 Y-9.03 Z0.5 F626.5
G1 X-20.57 Y-7.89 Z0.5 F626.5
...
M101
G1 X-43.52 Y-3.59 Z6.5 F11885
M103
G1 X-43.52 Y-3.59 Z6.5 F30000
G1 X-43.52 Y-3.59 Z6.5 F3285
G1 X-43.47 Y-1.68 Z6.5 F3285
G1 X-43.47 Y-1.68 Z7.15 F210
    ; Guaranteed same extruder, cooling down
    ; BfB-style
    ; Maybe set some material-specific G-code?
M240 S1400
M108 S18
    ^select acceleration settings for current matrerial
    M104 S0 P1
    ^keepwarm old extruder
    M561 P450 S500
    ^reverse old extruder 450 steps at 50 rpm
    G1 X118.000 Y133.000 7.15 F15000.0
    ^posn old ext for wipe
    G1 X118.000 Y157.000 7.15 F9000.0
    ^wipe old ext into bin
    G1 X118.000 Y133.000 7.15 F9000.0
    ^wipe old ext out of bin
    ; All used extruders are already 'Cooled' to 0
    M404 S0
    ^Set chamber to 0
3D Systems - CubePro Trio (triple head printer)
--Modified to RepRap standards using Duet and the x4 expansion
-e3d Kraken, heated bed added.
Kisslicer Pro licenced
martini
Posts: 14
Joined: 22 Jan 2015, 20:28

Re: Cubepro gcode

Post by martini »

Hi guys,

I read you are using a cubepro and I was hoping you could help me out a bit. I am an interior designer, completely unfamiliar with codes and new to 3d printing so I am kind of lost with this kisslicer + cubeitmod + codex softwares... 3D systems is the only 3d printing company in my country so I didn't have much choice but getting a cubepro trio. Using original cartridges is becoming way too expensive (they are sold a $135 each in Costa Rica) and they don't even have all the colors. Basically, I am looking for a way to trick the printer into using bulk filament. The printer "reads" recoded Codex and Kisslicer files but then it shows an "invalid format" error. I truly appreciate all the information and help you could provide.
Epop
Posts: 38
Joined: 23 Jan 2015, 00:48
Location: South Ogden, Utah(USA)

Re: Cubepro gcode

Post by Epop »

martini wrote:Hi guys,

I read you are using a cubepro and I was hoping you could help me out a bit. I am an interior designer, completely unfamiliar with codes and new to 3d printing so I am kind of lost with this kisslicer + cubeitmod + codex softwares... 3D systems is the only 3d printing company in my country so I didn't have much choice but getting a cubepro trio. Using original cartridges is becoming way too expensive (they are sold a $135 each in Costa Rica) and they don't even have all the colors. Basically, I am looking for a way to trick the printer into using bulk filament. The printer "reads" recoded Codex and Kisslicer files but then it shows an "invalid format" error. I truly appreciate all the information and help you could provide.
Invalid format is from the header(top of the program) being wrong or missing... (as far as I've experienced) I was running this one tonight and it printed the first layer. All of it might not be required but I haven't played with removing parts of it.

My first experiment was to leave the 3DS cartridge in the machine and run a $15 spool through a space in the door, into the hose, up through the machine and into extruder #2(I currently have 3/4 of a spool of ABS with an 'empty' chip on it) ran just as well if not better than the 3DS filament on the same settings-files built by Cubepro.exe. My versions cannot remove the 3DS filament chip from the machine, it checks for 3DS filament before program load, and before its sent over WiFi. But you can run bulk material that way... until the chip is 'empty' anyway. :)

This code was built by Cubepro.exe and I modified it for ABS on extruder#3 (from using extruder#1) Cubepro.exe will also send this out to the printer over WiFi. :) The machine hardware offsets also work-just changing the M words will move the wipe/print positions for the different extruders, though for some bizzare reason Cubepro.exe changes the x,y positions for wipe depending on extruder selected(not by much). O_o

Code: Select all

^Firmware:V0.00
^Minfirmware:V0.00
^DRM:000000000000
^PrinterModel:CUBEPRO
^MaterialCodeE1:-1
^MaterialCodeE2:-1
^MaterialCodeE3:-1
^MaterialLengthE1: 0.000
^MaterialLengthE2: 0.000
^MaterialLengthE3: 0.000
^ModelHeight: 0.000
^LayerCount: 0
^LayerHeight:0
^Supports:-1
^Raft:-1
^Density:Strong
^Pattern:Lines
^Version:321-636
^Time:0
M404 S40
M227 P250 S250 G300 F700 
M228 P0 S250 
M231 P0 S0 
M232 P2500 S2500 
M233 P1850 
M106 P100 
G4 P0 
M601 P2 S30 F5 
M228 P0 S1
M227 P1 S1 G1000 F1000
M240 S1400
M304 S230 P1
M304 S265 P1
G1 X108.000 Y136.000 Z0.4000 F750.0
G1 X108.000 Y161.000 Z0.4000 F9000.0
G1 X108.000 Y157.000 Z0.4000 F9000.0
M304 S265
M553 P1500 S50
G1 X108.000 Y136.000 Z0.4000 F9000.0
M304 S265 P1
M601 P2 S30 F5
M404 S60 P1
M107
^InitComplete
I'm working on a list of all G&M words for this machine but I've only got dozen so far(mostly from comments on the code in this forum).
My version of Cubepro.exe also inserts #Vector T commands (T11, T22, T14) that don't appear to be doing anything... I can delete them without issue.
... and
3D Systems - CubePro Trio (triple head printer)
--Modified to RepRap standards using Duet and the x4 expansion
-e3d Kraken, heated bed added.
Kisslicer Pro licenced
martini
Posts: 14
Joined: 22 Jan 2015, 20:28

Re: Cubepro gcode

Post by martini »

Last night I finally decoded and encoded files using Codex so I could modify material information and it works fine. However, it seems the printer keeps counting the material on the stepper motor. I set just 1mm and the chips now reads 1% less. I don't have an empty cartridge, I have 35% white ABS left but yesterday I broke it's chip and became unreadable :shock: . I also tried with a big model to see if the printer would allow it even when there wasn't enough material but Codex won't work on big files, they come out with 0 bytes. How do you turn .bfb's into .cubepro files?
Post Reply