Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Post Reply
Possum
Posts: 7
Joined: Mon Dec 23, 2019 10:05 pm

Working triple Color Mixer for Cura 4.4.1 (NodeJS)

Post by Possum » Sat Jan 11, 2020 5:55 am

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 604 times

cjmdh77
Posts: 3
Joined: Tue Jan 14, 2020 2:08 pm

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

Post by cjmdh77 » Wed Jan 15, 2020 11:47 am

Never mind figured it out.

cjmdh77
Posts: 3
Joined: Tue Jan 14, 2020 2:08 pm

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

Post by cjmdh77 » Thu Jan 16, 2020 10:52 am

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.

Possum
Posts: 7
Joined: Mon Dec 23, 2019 10:05 pm

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

Post by Possum » Thu Jan 16, 2020 10:43 pm

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.

cjmdh77
Posts: 3
Joined: Tue Jan 14, 2020 2:08 pm

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

Post by cjmdh77 » Fri Jan 17, 2020 10:28 am

Yes, made my own config. Layers were 216, used my own mix but still received the error.

KriKri854
Posts: 15
Joined: Wed Apr 08, 2020 10:00 pm

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

Post by KriKri854 » Wed Sep 23, 2020 10:02 pm

How do I use/install this possum mixer

xg12
Posts: 1
Joined: Sat Dec 29, 2018 3:11 am

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

Post by xg12 » Thu Oct 08, 2020 10:04 pm

KriKri854 wrote:
Wed Sep 23, 2020 10:02 pm
How do I use/install this possum mixer
Hi, can somebody help us?

Post Reply