prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.73k stars 1.93k forks source link

Feature Request: Gradient Mode & Random Mode like Palette 2 #1866

Open tbedore opened 5 years ago

tbedore commented 5 years ago

Just a feature request, on the palette 2 you have the ability to select the slice length, or have it randomly splice filaments into the extruder. Would be nice if we could see that on the MMU2 upgrade. Something similar to that.

flinke-flasche commented 4 years ago

I’m looking forward for such a feature.

Maybe it's possible to insert some values like

bubnikv commented 4 years ago

PrusaSlicer 2.2.0 already implements rainbow patterns with predefined color sequences. We will add the random rainbow patterns to PrusaSlicer 2.3.

flinke-flasche commented 4 years ago

good to hear. Can you show me how i can use the rainbow patterns?

bubnikv commented 4 years ago

click on the cog wheel icon at the path preview layer slider.

po 23. 3. 2020 v 17:51 odesílatel flinke-flasche notifications@github.com napsal:

good to hear. Can you show me how i can use the rainbow patterns?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/1866#issuecomment-602723863, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSI7USZBS5FYBGLISQMDRI6HQPANCNFSM4GZ6VW5Q .

flinke-flasche commented 4 years ago

Perfect. thank you.

KnutssonDevelopment commented 4 years ago

How about Color Gradient.

I would really like to see the possibility to do a gradient color change in the Z axis.

For it to work you would need to define starting color, finish color, start Z height, end Z height.

bubnikv commented 4 years ago

Gradient? For which technology? Do you have a mixing extruder?

st 29. 4. 2020 v 15:22 odesílatel KnutssonDevelopment < notifications@github.com> napsal:

How about Color Gradient.

I would really like to see the possibility to do a gradient color change in the Z axis.

For it to work you would need to define starting color, finish color, start Z height, end Z height.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/1866#issuecomment-621199108, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSI7JQAXVI2SSSW7MRTTRPAS2HANCNFSM4GZ6VW5Q .

KnutssonDevelopment commented 4 years ago

Nope. For the MMU2. Do a gradient color from one color to another and maybe with a transition color aswell.

The process I imagine the slicer doing is start with layers 100% in one color, and then mixing in layer in another color, until the second color is 100%.

The gradient would be in the z direction ofcourse.

I would expect to be able to set parameters as: First Extruden/Fillament Second Extruder/Fillament Gradient change length in Z direction.

bubnikv commented 3 years ago

I believe you can already experiment with the gradients by placing manual color changes and decreasing the amount of filament purge to a minimum, so that the wipe tower will be used for filament swap sequence, but not for filament purging.

bubnikv commented 3 years ago

We have implemented random ordering of the extruders with a fixed number of layers / fixed Z step in PrusaSlicer 2.4.0-alpha1.

We will not implement random number of layers per color now. We believe our implementation is sufficient.

The MMU2 technology requires the filament exchange to be performed over the wipe tower. @FidelCapo experimented with setting a minimum wipe over the wipe tower to achieve a rainbow effect. Unfortunately it did not produce nice results, as PrusaSlicer currently swaps filaments at the end of a layer while the first extrusion after the filament swap happens at the inner perimeter. To achieve at least some rainbow effect, we would have to start with the external perimeter after filament swap, which would require some additional code complications.

Mosaic achieves quite some mixing of the filament along the splice as it is fed into a single extruder. MMU2 pulls the filament out first, thus there is much less of the 1st filament left in the nozzle to be mixed with the 2nd filament, thus the mixing effect will not be as pronounced as with Mosaic. We don't think it is worth the effort.

bubnikv commented 3 years ago

image

flinke-flasche commented 3 years ago

Thank you for implementing this cool feature. Works perfectly for me.

Is it possible to add a Filament lenght to choose? In my imagination you can print cool camouflage prints like in the Picture. (i know that in reality the camouflage will be more different like in the picture :-D)

After pressing the "slice" button you have to see a preview, so that you can change the filament length.

Filamentchange

KnutssonDevelopment commented 3 years ago

I believe you can already experiment with the gradients by placing manual color changes and decreasing the amount of filament purge to a minimum, so that the wipe tower will be used for filament swap sequence, but not for filament purging.

I don´t think you are understanding the request. Doing hundreds of filament changes is not really doable by manual changes.

I am not sure how to make my point any more clear, but I will try.

Please make it so that you can set a starting filament Color/Filament, and a end Color/Filament, and a Z start height, and a end height.

When the slicer gets to the start point it will initially start with a 100% of the start Color/Filament, then blend in first maybe every 5th layer of the destination Color/Filament, then every 4th layer, then every 3th layer, then every 2th layer, then every 2 out of 3 layers, then 3 out of 5 layers, 4 out of 5 layer until 100% is the end Color/Filament.

This should of course be calculated from the Z start and end parameters.

I hope it makes sense. There is in this case no need to wipe, as the colors are going to be blended anyway.