Page 1 of 1

Cura Plugin for random color mixing

Posted: Thu Aug 22, 2019 2:19 am
by dalelovelace
Hello, I have created a Cura plugin for M series color mixing printers. You may specify a minimum and maximum mix percentage for your first extruder, and the plugin will randomly change the mix accordingly on every G1 move.
geeetech-octopus.jpg
geeetech-octopus.jpg (161.63 KiB) Viewed 11025 times
This octopus was printed with Black on extruder 1 and white on extruder 2. Minimum was set to 60% and Maximum was set to 90%.
geeetech-bats.jpg
geeetech-bats.jpg (201.27 KiB) Viewed 11025 times
These batsymbols were printed with Black on extruder 1 and Yellow on extruder 2, with varying minimum and maximum values, varying line directions, and one with gyroid infill and no top or bottom skin.
geeetech-coins.jpg
geeetech-coins.jpg (152.47 KiB) Viewed 11025 times
geeetech-wrench.jpg
geeetech-wrench.jpg (89.48 KiB) Viewed 11025 times
These were printed with silver on extruder 1 and black on extruder 2 with minimum 80% and maximum 100% to just give a small hint of the second color.

You can download the Cura plugin at: https://github.com/dalelovelace/Geeetech-Color-Mixing

I plan to make several additions to the plugin like:
1. Only mixing on layers or heights specified
2. Changing the mix in percentage steps going up and down or only up or only down etc. creating a more rainbow effect.

I hope you enjoy. Pull requests will be considered!

Re: Cura Plugin for random color mixing

Posted: Thu Aug 22, 2019 9:12 am
by William
:o wow, Thanks for your share.

Re: Cura Plugin for random color mixing

Posted: Thu Aug 22, 2019 12:24 pm
by _kaktus_
Hello.
:mrgreen:

Well done, good job. :!:

Re: Cura Plugin for random color mixing

Posted: Wed Sep 04, 2019 11:25 am
by Beardyface
Would it be possible to slow down that rate of the mixing ratio to say like every 5, 10 or 20 seconds, or some other user defined period. However keep the current delay as the default.

Re: Cura Plugin for random color mixing

Posted: Fri Sep 06, 2019 7:40 am
by dalelovelace
I don't know of a way to change the mix by time, but I can only change the mix every X number of moves. I had planned to add that. I need to make an update to it because it doesn't work with Marlin 2.0, so I should be able to add that at the same time.

Re: Cura Plugin for random color mixing

Posted: Fri Sep 20, 2019 12:50 am
by dalelovelace
I've just uploaded the latest version of the Random Mix plugin:

https://github.com/dalelovelace/Geeetech-Color-Mixing

- Now works with Marlin 2.0!
- Added a "# of moves to keep mix" parameter.

The new parameter will allow you to keep the same mix for X G1 moves to prevent changing the mix so often.

If you use the plugin please leave me a note here, and post a picture of your prints.

Thanks!
Dale