First layer color printing with single extruder
-
I'm guessing that, because you want to change colour, the slicer has inserted a tool change, ie your first tool is T0, and then at the tool change the gcode calls for T1. As you probably don't have a second tool defined, the T1 command deselects the tool. Posting the gcode file and your config.g would help to show what the exact problem is.
I haven't played around with Prusa Slicer, so I don't know how it handles tool changes, or if it can be set up for single nozzle/extruders. What you really want it to do is, rather than a tool change, to pause the print so you can manually change the filament. Check the slicer documentation for different setups.
Ian
-
@mloidl are you using prusa slicer as well? BTW i am on 2.03 FW. If you are on slicer, what have you on printer settings, single extruder multi material ticked or not?
@droftarts I think that is whats happening. I probably need to dig into generated gcode and see how it handles it. I dont want to do manual editing of a gcode files but to set slicer to do it correctly or duet to handle it -
These are my settings
I have a Single Extruder / Single Nozzle setup.
If you have the same would you share some generated gcode? -
@mloidl
I have set 5 extruders for 5 colors. Otherwise i cant automate i guess. I want to print multiple colors within one layer.
This is what comes out no matter if i tick single extruder checkbox:
G1 E-4.00000 F2100.00000
M600 ;
T0 ;
T1
G1 E-1.00000
Here M600 and T0 is set by me in layer change gcode section but it forces and inserts T1 after that.
I can some how fix that by adding Perimeter extruder on my second color part as advance option and then it does not add T1. Still i would like to find a way so it does not do that as its extra steps if you have 5 colors to set in slicer.
I dont know how you set it so it pauses mid layer print so you can continue printing with a different color.
Its all fine when printing multicolor layers but within one layer? -
This is what i need to add to remove tool change to T1. Or maybe i just need to set extruder to 1 instead of 2 and that will do the trick.
-
If i understand you correctly this is not supported by any slicer i know.
Please correct me if i'm wrong.You have:
- One Extruder
- One Nozzle
and want to print multiple colors within one layer.
This would mean that you would bring the slicer to print one part of the layer add some color change g-code, print the other part of the layer.
This also means you would have to manually change the filament each within one layer, since it will not be possible to do this automatically with one Extruder (except you have the multi color addon on a prusa i3 mk3). -
@mloidl
yes, its a manual change on single extruder/nozzle but its not too bad if you need a text or logo or something that requires single or multiple color change on bottom and or top layer. For full color parts it would be crazy.
I have done it and it works with prusa slicer. Only issue is that T1 tool change which i found a workaround.
You can print something like this:
which is very nice.
This is what i have so far:
I had to pause print manually to enter T0 command on DWC so there are some gaps between text and infill as i forgot to extrude extra cause of retraction before pause.
My printers are busy atm but i will test my workaround and report. -
I will also add M117 to send message to tell what color to load.
P.S. M117 works only with panel due. Perhaps @dc42 could help with displaying messages on maestro LCD screens? -
Hi @Agniusm,
Now i fully understand.
I did some experiments (without printing).
You could write a post-process script which removes all Tx GCodes and add a filament specific GCode which insert a M600 + M117 (including the color you want to insert).
You have to make sure that the correct color is loaded when starting the print and ensure that there is no M600 when starting the Print. -
Have you tried putting the filament change actions in the tool change macros. That way when the slicer pits Tn in the gcode the actions you want occur?
-
@mloidl
i rather explore if i can make it work within slicer first. Post scripting is just another step added. Too lazy
@T3P3Tony
i did try it. It adds M600 and T0 the way i specify, but then it adds T1 after the tool change script. I could not find a setting to alter that so it might be embedded into slicer -
You need to set the check mark at "single extruder multi material" at least. After all that's what's needed for the Multi Material Unit which you aim to simulate manually (-;
-
@Agniusm I meant set a tool for each colour, then create multiple tools in RRF, one for each colour where the toolchange scripts carry out the actions you want. This is instead of M600.
The slicer can then just happily use its normal process for dealing with multiple colours (1 per extruder), by sending ,T0, T1 etc
-
@T3P3Tony i got you. Thanks. Good point. So on the slicer i would just add tool change gcode command and set different tools for colors on the duet?!
Good to have that option too.
So i have mostly sorted. I dont know how but now after slicing T1 is added and after that T0 which i specify in filament gcode.
M600 did work but introduced lag. After resume, nozzle would land and sit for 30 seconds blobbing and then leaving gap until filament catches up.
I have changed to M226 and now all is good.
I can also add M291 P"Change to Red" T0 on slicer so the message is displayed on maestro lcd what color to insert. Handy if 5 color changes are used.
So to sum up, on Prusa Slicer 2.0.0
Filament start gcode will have T0 to reverse to tool 0, M291 for color message
Printer settings custom gcode tool change gcode will have M226 for pause. -
@Agniusm said in First layer color printing with single extruder:
So on the slicer i would just add tool change gcode command and set different tools for colors on the duet?!
Yes. and the slicer will add the Tn Commands automatically.
-
Any chance you have the exact script your using or would be willing to walk me through the set up or even a prusasilcer config.ini file would be amazing.