Prusa ColorPrint Plugin

1
D
dklon Level 1 - Starter Points: 1
Posts: 5

Location: United States
Posted by
D
dklon

Posted Sep 11, 2017 - 8:49 PM  

Hello everyone,

I've been using Cura now for the last week or so and have been impressed with it. So much impressed that I thought I would contribute a post-processing plugin that allows for filament changes for multicolor prints.

This was originally made for my Prusa i3 MK2S, but I think it will also work with other printers, if the firmware for it supports the M600 G-code command for filament change.

Basically you just enter in your layer(s) where filament change is needed, and it will handle the rest. There are some extra parameters for filament retraction amounts. Multiple layers can be specified by making it a comma-delimited list.

I just thought I would share this with the community. Hopefully somebody else will find this useful. I've tested this plugin on a print successfully also (see attached).

Now to figure out how to share the plugin file...

Prusa Color Change Plugin v2
GoT Emblem
7 replies
 176 1
Sort 
ahoeben I got this! Level: 49 Points: 2054
Posts: 771
Location: Schiedam, Netherlands Printers: Ultimaker 2, Ultimaker Original
Posted by
ahoeben

Posted Sep 12, 2017 - 4:19 AM

Cool!

All development of Cura happens on github.com. For your postprocessing script, you could try having it included with Cura by default, by making a "Pull Request" on https://github.com/nallath/PostProcessingPlugin

Paging nallath

nallath Team Ultimaker Points: 4511
Posts: 2461
Location: Geldermalsen, Netherlands Printers: Ultimaker 3
Posted by
nallath

Posted Sep 12, 2017 - 9:28 AM

Pull requests will do the trick!

D
dklon Level 1 - Starter Points: 1
Posts: 5
Location: United States
Posted by
D
dklon

Posted Sep 12, 2017 - 4:07 PM

Thanks! I will initiate a pull request shortly. Hopefully someone else will find this useful.

D
dklon Level 1 - Starter Points: 1
Posts: 5
Location: United States
Posted by
D
dklon

Posted Sep 12, 2017 - 4:44 PM

Looks like Git and Github are going to take me a while to learn. This might be a while before I can get the code up there.

D
dklon Level 1 - Starter Points: 1
Posts: 5
Location: United States
Posted by
D
dklon

Posted Sep 12, 2017 - 5:16 PM

I've tried creating a branch, publishing it, and tried to create a Pull Request. I do not have permissions to do any of these things apparently.

All of the documentation online for Github suggests I am doing this correctly but apparently there's something I'm missing.

ahoeben I got this! Level: 49 Points: 2054
Posts: 771
Location: Schiedam, Netherlands Printers: Ultimaker 2, Ultimaker Original
Posted by
ahoeben

Posted Sep 12, 2017 - 5:55 PM

Quote by dklon

I've tried creating a branch, publishing it, and tried to create a Pull Request. I do not have permissions to do any of these things apparently.

You cannot push a branch directly to nallath's repository. You clone his repository into your own github account, and push your branch there. From that branch you can make a Pull Request to the nallath repository.

D
dklon Level 1 - Starter Points: 1
Posts: 5
Location: United States
Posted by
D
dklon

Posted Sep 12, 2017 - 6:57 PM

ahoeben : Thanks. The problem I was encountering was that I was trying to clone from Github Desktop to my local system and then push branches directly back to nallath's repository. After doing a fork on Github and then cloning locally from that one, it seemed to work.

7 replies
 176 1
Sort 
Support