Alternating layer colors - how to help, please

I want to take a multi-color object and alternate the main color with another so the even layers will be color 1 and odd layers will be color 2. I think this is not possible through Bambu Studio because it’s a multi-color object. Maybe this can be done through a different slicer? Maybe edit gcode - M600 is the change color command but not sure how the M600 operands work.

1 Like

You could achieve this using Layer height modifiers.

It would be very annoying though as you would need to create a new entry for every single layer.

Once you have, you could mark each one with a different colour.

In an ideal world, the ability Cura has to have scripts on layers would be part of the Bambu Studio toolbox.

I created a small cube and alternated the layer colors then exported gcode and examined using notepad++. I saw the M620 code that selected AMS S0A, S1A, S2A, and S3A near the TOOL CHANGE code and changed every other S0A to S2A then opened the gcode with bambu studio but I saw no altenating layers. (I think I may have only made the color change with the wiping tower?) I’m looking a little further into the TOOL CHANGE routine after the wiping tower for the layer color info but starting to feel like its time to understand gcode completely.

Don’t know how complex the model is…

I did stripes ones using my modelling software:
Create disks or rectangles as thick as the layers.
Space them the same.
Copy the stack and move it up by one layer, giving you two individual objects plus the model.

Copy the model and subtract one stack from it, subtract the other stack from model one.
Move the two together and you get two model files to export with each only holding single layers with a layer of space between them.
Works fine on models YOU created but not so much on big STL files you have to import.

the four color obect has over 2200 layers and every layer has at least one color change and sometimes up to three changes. I have the first 100 layers working and will make changes to the remaining ones and print in the morning but it’s working. I wrote a script to make the alternating layer color changes so it just takes seconds.

Just out of curiosity: What is it ?