Page 1 of 1

Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Sat Jan 11, 2020 5:55 am
by Possum
Being disappointed with the issues of standard Geeetech color mixer software that fails to work with the Cura gcode (mode with three extruders), I wrote simple color mixer for NodeJS. I have tested it on my A20T and found no errors. Sources in attachment.
possum_mixer.rar
sources of color mixer (NodeJS should be installed)
(1.61 KiB) Downloaded 130 times

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Wed Jan 15, 2020 11:47 am
by cjmdh77
Never mind figured it out.

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Thu Jan 16, 2020 10:52 am
by cjmdh77
Cannot get it to work. Either it errors out at 99.5% on 216 layer gcode or returns nothing at all.
layer: 215 progress 99.5%
(node:20448) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'indexOf' of undefined
at mixColorForRange (C:\Users\cjmdh\Desktop\3D Projects\mixer\mixer.js:63:17)
at start (C:\Users\cjmdh\Desktop\3D Projects\mixer\mixer.js:13:4)
(node:20448) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:20448) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Thu Jan 16, 2020 10:43 pm
by Possum
You have to properly set config.json according to layers amount of your model and your color-mix scheme. Do not use my config.json.

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Fri Jan 17, 2020 10:28 am
by cjmdh77
Yes, made my own config. Layers were 216, used my own mix but still received the error.

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Wed Sep 23, 2020 10:02 pm
by KriKri854
How do I use/install this possum mixer

Re: Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Posted: Thu Oct 08, 2020 10:04 pm
by xg12
KriKri854 wrote:
Wed Sep 23, 2020 10:02 pm
How do I use/install this possum mixer
Hi, can somebody help us?