Creating a new IDEX 3D Printer with Duet 2 WIFI
-
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@sebkritikel which firmware version do you use in your printer? could you share yours with me
tpost.g, tfree.g and Tools?I may be able to post much later (in 12 hours). I am using 3.2-beta2, but have also used 3.1.1, 2.05.1, etc.
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@sebkritikel
T0... snip ...
G0 F3000 X-42.99 Y14.305 Z0.2
;TYPE:SKIRT
G1 F1500 X-43.498 Y14.646 E0.02442This is the challenge, as many of these codes we cannot easily change
Here are the lines we do not need in RRF on the DuetT2
;FLAVOR:RepRap
;TIME:1440
;Filament used: 1.43709m
;Layer height: 0.2
;POSTPROCESSED
;Generated with Cura_SteamEngine 3.2.0
M141 S50
T0
M190 S30
M104 S210
M104 T1 S210 ;Fixed T1 temperature
M109 S210
M109 T1 S210 ;Fixed T1 temperature
M82 ;absolute extrusion mode
G28 ;HomeT2 ;enable duplication mode
now that T2 has been called, we need to define the print temperature here
M83 ;relative extrusion mode
;LAYER_COUNT:18
;LAYER:0
M107
G0 F3000 X-36.514 Y21.344 Z0.2
;TYPE:SKIRT
G1 F1500 X-37.022 Y21.685 E0.02442In RepRapFirmware, we do not need to call T0 and T1 multiple times to set the temperature. It is as easy as this:
T2 M190 S120 M104 S250 M109 S250
We called T2
We set the bed temperature
We set the print temperature
Cura says to wait until we reach temperatureTake a look at C:\Program Files\BCN3D Cura YOUR VERSION\resources, there must be a JSON there that creates those extra start gcode lines. May be a good idea to search the github page to try and find them? I don't know where those extra lines are generated in the code.
What is happening now is, you create the file and start the print.
BCN3D Cura says select T0 and set its temperature
Then it sets the T1 temperature
Finally it selects T2 - which is a "new" tool, but Duet and RRF was not given a temperature for T2. T2 of course includes the heaters and extruders from both hotends, but must be given a temperature - which currently is not happening in BCN3D Cura. -
This post is deleted! -
@sebkritikel
Yes, you are right there is one file that describes the sequence of our printer
C:\Program Files\BCN3D Cura 3.2\resources\definitions
File fdmprinter.def"print_mode_gcode":
{
"label": "Print Mode GCode",
"description": "GCode to enable selected print mode.",
"type": "enum",
"options":
{
"": "Regular",
"M605 S6 ;enable mirror mode": "Mirror",
"M605 S5 ;enable duplication mode": "Duplication"
},
"default_value": "",
"value": "'' if print_mode == 'regular' else 'M605 S6 ;enable mirror mode' if print_mode == 'mirror' else 'M605 S5 ;enable duplication mode'",
"enabled": false,
"settable_per_extruder": false,
"comments": "BCN3D setting"in the next line I found commands that surrender for mirror and parallel modes in Marlin and replaced them with T2 and T3
"T3 ;enable mirror mode": "Mirror", "T2 ;enable duplication mode": "Duplication"
now when mirror mode is selected, g-code is configured with the correct T3 code without post processing.
But I just can't find those commands that add unnecessary commands at the beginning of the g-code.
;FLAVOR:RepRap
;TIME:1412
;Filament used: 1.13875m
;Layer height: 0.2
;Generated with Cura_SteamEngine 3.2.0
M141 S50
T0
M190 S30
M104 S210
M104 T1 S210 ;Fixed T1 temperature
M109 S210
M109 T1 S210 ;Fixed T1 temperature
M82 ;absolute extrusion modeT3 ;enable mirror mode
M83 ;relative extrusion mode
;LAYER_COUNT:101
;LAYER:0
M107
G0 F3000 X-36.732 Y9.588 Z0.2Technical support bcn3d Sorry, refuses to help(((
-
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@sebkritikel
Yes, you are right there is one file that describes the sequence of our printer
C:\Program Files\BCN3D Cura 3.2\resources\definitions
File fdmprinter.def"print_mode_gcode":
{
"label": "Print Mode GCode",
"description": "GCode to enable selected print mode.",
"type": "enum",
"options":
{
"": "Regular",
"M605 S6 ;enable mirror mode": "Mirror",
"M605 S5 ;enable duplication mode": "Duplication"
},
"default_value": "",
"value": "'' if print_mode == 'regular' else 'M605 S6 ;enable mirror mode' if print_mode == 'mirror' else 'M605 S5 ;enable duplication mode'",
"enabled": false,
"settable_per_extruder": false,
"comments": "BCN3D setting"in the next line I found commands that surrender for mirror and parallel modes in Marlin and replaced them with T2 and T3
"T3 ;enable mirror mode": "Mirror", "T2 ;enable duplication mode": "Duplication"
now when mirror mode is selected, g-code is configured with the correct T3 code without post processing.
But I just can't find those commands that add unnecessary commands at the beginning of the g-code.
;FLAVOR:RepRap
;TIME:1412
;Filament used: 1.13875m
;Layer height: 0.2
;Generated with Cura_SteamEngine 3.2.0
M141 S50
T0
M190 S30
M104 S210
M104 T1 S210 ;Fixed T1 temperature
M109 S210
M109 T1 S210 ;Fixed T1 temperature
M82 ;absolute extrusion modeT3 ;enable mirror mode
M83 ;relative extrusion mode
;LAYER_COUNT:101
;LAYER:0
M107
G0 F3000 X-36.732 Y9.588 Z0.2Technical support bcn3d Sorry, refuses to help(((
Yes, I would expect BCN3D to be of no help, since they would want you to buy a Sigma or Epsilon haha
Nice job on the JSON.
Unfortunately, I think those lines are created somehow by the BCN3D fork of CuraEngine, so not as easy as changing a JSON sadly.
https://github.com/Ultimaker/CuraEngine/pull/640
https://github.com/Ultimaker/Cura/issues/1819
https://github.com/Ultimaker/CuraEngine/issues/676 -
@sebkritikel
maybe there is some G-code that overrides the previous commands?
M141 S50
T0
M190 S30
M104 S210
M104 T1 S210 ;Fixed T1 temperature
M109 S210
M109 T1 S210 ;Fixed T1 temperature -
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@sebkritikel
maybe there is some G-code that overrides the previous commands?
M141 S50
T0
M190 S30
M104 S210
M104 T1 S210 ;Fixed T1 temperature
M109 S210
M109 T1 S210 ;Fixed T1 temperatureI think for a given print - for one duplication, for one mirror, for one T0, etc -you could overwrite the previous commands easily. However, Iām not sure the best way to do it automatically, depending on the print mode you select.
BCN3D very specifically wrote this version of Cura for their machines and Marlin fork.
-
@dc42 Is there really no way to change the automatically generated initial g-code? I think many motherboard duo owners would be interested in using bcn3d kura for their 3D printers
-
@DE-TechArt I worked out a solution you may find useful for standard Cura.
https://forum.duet3d.com/topic/13696/new-large-format-idex-printer-project/22?_=1604856833941
-
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@dc42 Is there really no way to change the automatically generated initial g-code? I think many motherboard duo owners would be interested in using bcn3d kura for their 3D printers
@DE-TechArt said in Creating a new IDEX 3D Printer with Duet 2 WIFI:
@dc42 Is there really no way to change the automatically generated initial g-code? I think many motherboard duo owners would be interested in using bcn3d kura for their 3D printers
The BCN version of Cura is a fork designed to work with their own printers, using their own for of Marlin firmware. I would not expect it to work with any other printers.
-
This post is deleted! -
Hi
dsl for my English I translate I speak French
I myself created an idex machine,
and, i found the fastest solution for me to work with, prusaslicer or cura, i have to create 3 machines, an idex, a copy, a mirror with different bed sizes
in the first I have, idex _ T0 T1
second copy_ T0 T1 deactivate T2 activate
third mirror _ T0 T1 T2 deactivate T3 activate -