kapy academy

Assigning colors in the slicer

17 min readUpdated Nov 2026

You have a model and a printer that can change filament: with a filament switcher, with a toolchanger or by stopping for a manual swap. The slicer needs to know three things: which plastic goes where, in what order it prints, and which physical spool or tool matches each filament. On a single nozzle every change costs a purge, and the number of changes depends on how many layers carry more than one color (Purge and multicolor waste). Each way of assigning color changes that number differently.

diagram
The slicer workflow runs in one direction except at one point: if the purge outweighs the part, you go back to the model, not to the purge settings.

The filament list comes first

OrcaSlicer, Bambu Studio and PrusaSlicer are one family (PrusaSlicer came from Slic3r, Bambu Studio from PrusaSlicer, Orca from Bambu Studio), so their color options look much the same and the names barely differ. Cura also slices in several colors, but it is not the reference for filament switchers; the differences are in Orca, Bambu Studio, PrusaSlicer and Cura. Option names are quoted as they appear on screen in the late-2026 releases.

Before you assign anything, the project needs as many filaments as there are colors or materials. Each entry in the list is a filament profile (the material settings) plus a swatch color. That color is not decoration: Bambu Studio and Orca compute the automatic purge volumes from the colors you enter. Enter a white spool as gray and the slicer gives it too little purge, and the color comes out streaked (Purge and multicolor waste).

If you can, import the list from the printer. Bambu Studio and Orca sync the AMS filaments: material and color, read from the RFID tag or from what you set on the printer. Sync, then check the colors, because a color set wrong on the printer produces the same wrong purge.

The numbers in the list are project indices, not slots. Bambu says so explicitly: the number next to each color has nothing to do with the AMS slot. "Filament 3" does not mean "slot 3"; on Bambu printers the mapping happens when you send the job. On Prusa's MMU3, XL or INDX, the extruder number in the profile is the tool or slot, unless you reassign it on the printer.

The printer profile has to be multi-material. PrusaSlicer only shows painting and per-part extruders with a multi-extruder profile (the MMU3, XL or INDX variants). In Orca and Bambu Studio you add filaments with the + in the filament panel. If any of these options is missing, check the printer profile first (Printer, filament and process profiles).

Four ways to assign color

There are four ways to tell the slicer where each color goes: per object or part, by painting faces, by height and per feature (walls, infill, supports). They combine. Paint overrides the part's base filament, and a per-feature filament replaces the walls' or infill's filament across the whole object.

Per partchanges on these layersOne bodyPaint depthPaintedchanges on these layersLayer changeBy heightone changeWallsInfillPer featureon every layer
The four ways to assign color affect the layers differently: a part or a painted area costs changes on its layers, a band by height costs a single one, and a per-feature filament puts two filaments on every layer that carries that feature.

The rule for choosing: use the simplest method that gets the result. Parts give exact boundaries and survive model revisions. Painting is for meshes you did not model yourself. By height costs almost nothing: no layer holds two colors. And a per-feature filament solves a technical need (support interface, infill material); it is not for looks.

Per object and per part

An object is something you place loose on the plate. A part is a body inside an object that keeps its position relative to the others. A multicolor model should arrive as one object with several parts. Every object and every part has its own filament (extruder) field in the object list, and that is where you change it.

Drag in the files for all the colors at once and, when the slicer asks, accept loading them as a single object with multiple parts; Designing for multicolor explains the question and why. If they arrived as separate objects, Orca and Bambu Studio can join them with the "Assemble" action, but they only line up if they were exported in the same coordinates.

A 3MF project (from MakerWorld, from Printables or your own) can already carry the parts, the assigned filaments and the paint. Opening it restores all of that, but you still have to map its filaments to your spools. An STL carries geometry only (STL, 3MF or STEP for the slicer).

Bambu Studio and Orca read the colors stored in an OBJ (per vertex or per material) and open a dialog that matches them to your filaments and proposes a mapping on its own. Image textures are not guaranteed: if the colors do not arrive, convert the texture to vertex color before importing.

All three slicers can add text, an SVG or a primitive to an object as a part with its own filament: fine for a quick label, but if you will edit it later, model it in CAD (Minimum features and text).

If two parts overlap, each slicer decides in its own way which filament fills the shared volume. Make the bodies touch without intersecting.

Painting faces

When you paint, you apply a filament with a brush to the triangles of a mesh's surface. At slicing, the painted surface becomes a volume of that color. Paint only affects slicing: the mesh is not split, and Prusa warns that painted areas cannot be exported separately.

The painter is nearly the same in all three: in PrusaSlicer it opens with N, and Orca and Bambu Studio call it "Color painting".

  • The brush, "Circle" or "Sphere": the circle paints what you see; the sphere paints everything inside a ball, hidden faces included.
  • "Smart fill": fills an area up to the edges whose angle exceeds the threshold you set.
  • "Fill" ("Bucket fill" in PrusaSlicer): recolors a connected area of a single color.
  • "Height range": paints a horizontal band between two heights.
  • "Triangle": individual facets.

Bambu Studio and Orca add "Gap fill", which gives the neighboring color to unpainted islands smaller than a given area. In PrusaSlicer you pick in two lists which extruder the left button paints and which the right one does (the painter takes up to 16); Shift + left button erases.

Start with smart fill. On a mesh that came from CAD, color boundaries usually fall on edges (a recess, a raised logo), and smart fill stops exactly there. The brush is for organic meshes.

A painted boundary follows the triangles. The brush subdivides large triangles near the cursor, but a curved logo painted on a coarse mesh comes out jagged. Export a finer mesh or model the color as a body.

Watch the depth too. The color on a painted top or bottom face goes down as many layers as the profile has solid layers on that face. On a wall, the color goes in as far as "Maximum width of a segmented region" in PrusaSlicer and Orca: at 0 there is no limit; with a value, the color goes in only that far. A light color painted on a dark body, with little depth, can let the color underneath show through in thin areas; there a body is better. The setting next to it, "Interlocking depth of a segmented region", interlocks the two colors at the boundary, but it only acts if the maximum width is not 0 and the interlocking depth is smaller than it. For joining different materials, see Functional multi-material parts.

Below about two line widths (about 0.9 mm with a 0.4 mm nozzle), a painted strip comes out incomplete or vanishes: when segmenting, the slicer merges it into its neighbor. Give it at least that width.

Paint belongs to the object. Copies share it if they are instances of the same object, not if you load the file again.

The seam and support painters work the same way but mark different things; Where the seam goes and Support settings cover them.

Color by height: a layer change or a height range

Two mechanisms give the same result. One is a change at a layer, set on the layer slider in the preview. The other is a height range modifier on the object (or the painter's height range), which assigns a filament between two Z heights.

On a printer without a filament switcher, add a color change at the layer where the new color starts. PrusaSlicer inserts a color change (M600): the printer parks the head, you swap the spool and the print carries on. On Bambu printers without an AMS you put a pause at that layer and swap by hand. The change applies from the layer you pick; check in the preview that the first layer of the new color is the one you wanted. The boundary has to fall on the layer grid, as Designing for multicolor explains.

With a filament switcher, the same slider lets you switch to another filament at that layer instead of pausing; PrusaSlicer, with a multi-extruder profile, offers a tool change as well as M600. Use it for bands that run across the whole plate.

A height range modifier assigns a filament (and any other setting) to a Z band of a single object. Prefer it to the slider when the color by height only affects one of the objects on the plate, or when you want it saved with the object. General use of modifiers is in Modifiers by region and height.

A pause uses almost no purge, but the print stops, the last layer cools and it can leave a mark on the next one. Put the change where a new top face starts.

Per feature: walls, infill, supports

You can assign a filament to a line type across the whole object: outer walls, inner walls, infill, solid infill, support body, support interface. In Orca it is "Filament for features"; in PrusaSlicer, the "Multiple Extruders" section, with an extruder for perimeters, infill, solid infill, support and interface. Bambu Studio has support base and support interface filament as standard; walls and infill only appear in recent releases, as an experimental feature. Check your version.

The cost is in the layers. A per-feature filament puts two filaments on every layer that carries that feature, and that is at least one change per layer. If you only give the infill another filament, the top and bottom solid layers do not carry it and do not change. A 60 mm part at 0.20 mm has 300 layers; with the infill in a second filament that is up to about 300 changes, and at 0.54 g per change (the average from Bambu's four-color cube, not the figure for any specific pair) it comes to around 160 g of purge. That is a ceiling: purging into the infill itself brings it down. Even so, on a single nozzle it rules out infill in another color.

The support interface is the reasonable exception. With a soluble or easy-release material, the contact layer comes out clean (Support materials), and since the interface only exists on the layers that touch the part, the cost stays on those layers. With a filament switcher it is done on a single nozzle, with no second extruder. Printing infill with spool ends or a cheap filament makes sense on a toolchanger or an IDEX, where a change barely purges: only the incoming nozzle is primed.

The order of the changes

Within a layer, the slicer prints one filament after another. Each new layer starts with the last filament of the previous one. That is why a layer with k colors costs k−1 changes, not k.

Automatic8changes in total123Layer 1321Layer 2123Layer 3321Layer 4starts with the lastFixed order11changes in total123Layer 1123Layer 2123Layer 3123Layer 4extra changechange
In automatic order each layer starts with the last color of the previous one and costs k−1 changes; with a fixed order, each layer adds a change at its start, and four layers go from 8 to 11 changes.

Bambu Studio and Orca order each layer by reading the purge table, to use the smallest volume. Some slicers let you fix the order. Bambu Studio does it in each plate's settings, with one order for the first layer and another for the rest. Use it to start the first layer with the filament that sticks best to the plate, or to put a soluble interface at the start or the end.

Automatic order usually gets it right because it alternates (A→B, then B→A). A fixed order on every layer adds one change per layer, because the layer no longer starts with the loaded color. Leave it alone unless you have a reason, and after slicing check the change count again.

On dual-nozzle machines such as the H2D or the X2D, the slicer groups filaments by nozzle (by default in "filament-saving" mode, which separates the pairs with costly purges) and may ask you to move spools between the units feeding each one. Accept it unless a material has to go on a specific nozzle (on the X2D the second one is Bowden-fed and does not take TPU); if so, switch to manual grouping. The H2C does the same with its swappable hotends. With a toolchanger, the project numbers are the machine's tools, and the slicer keeps the next one warm with a standby temperature ("Ooze prevention" in Orca). How dual nozzles and toolchangers work is covered in Toolchangers, IDEX and dual nozzles.

Read the preview before you print

Slice and set the preview to filament or color mode. Run the slider through the color boundaries and look for layers with a color you did not expect: a stray painted sliver, an overlap resolved in favor of the wrong part.

Then read the numbers. Bambu Studio and Orca show in the summary the number of changes and the grams of purge and tower per filament. PrusaSlicer gives the number of tool changes, separates tower filament from object filament and, in the "Color Print" view, estimates the time of each color segment.

What to check in the slicing summary
Figure Reference If it is too high
Changes ≥ k−1 per layer with k colors look for a per-feature filament, a fixed order or a stray speck of paint
Purge per change 0.2–0.8 g depending on the pair (single nozzle) check the colors in the list
Purge + tower should not exceed the weight of the part (four-color cube at 0.20 mm: 153 changes, ~83 g of purge) go back to the model or the assignment before the purge settings

Also check that the purge destinations you want to use are enabled. They are per-object options: in Bambu Studio and Orca, "Flush into objects' infill", "Flush into objects' support" and "Flush into this object"; in PrusaSlicer, "Wipe into this object's infill" and "Wipe into this object". In all three they need the prime tower enabled. With multi-material profiles the tower appears as soon as a layer carries two filaments; where to put it and how much each destination absorbs is covered in Purge and multicolor waste.

From project to spools

The last step happens when you send the job. Bambu Studio, and Orca with Bambu printers, map each project filament to an AMS slot: same material and the closest color. You can change each pairing before printing. Always check it: it is easy to swap two spools of the same type and similar color, and the part comes out the right shape in the wrong color or material.

On Prusa's XL and INDX, and on the MMU3 fitted to an MK4S or a CORE One, the printer shows a "Tools Mapping" screen (XL, INDX) or a "Filament Mapping" screen (MMU3) when you start the job. There you reassign the project's filaments to physical tools or slots, and you can mark a slot as a spare to take over when a spool runs out. The MMU3 on the MK3S+ does not have this screen.

The other ecosystems (Creality CFS, Anycubic ACE, Elegoo CANVAS, Snapmaker U1, with their Orca-derived slicers) work the same way: the mapping happens when you send or on the printer. Each one's hardware is in Filament switchers: AMS, MMU, CFS and ACE.

A material mistake is not only cosmetic. If the slot holds PETG and the project prints it as PLA, at PLA temperature, it under-extrudes and the layers bond poorly. Some slicers warn when the types do not match; do not count on it.

When it fails

Failures that start in the slicer
Symptom Cause Fix
The part prints in a single color The parts loaded as separate objects and are all on filament 1, or you painted with a single-extruder profile Check the object list and the printer profile
The color is in the wrong place, with the right shape The slots were mapped wrongly when sending Check the mapping dialog or the printer's screen
A painted line or a small detail has vanished It was narrower than two line widths and merged into its neighbor when segmenting Widen it or model it as a body
Jagged color edge on a curve The mesh is coarse Export finer or use a body
The body shows through under a light painted color Too little paint depth: few solid layers on a horizontal face, or "Maximum width of a segmented region" too small on a wall Raise the solid layers, or raise that setting or set it to 0; if that is not enough, make it a body
Far more changes than expected A per-feature filament on every layer, a fixed order or a speck of paint on a far-off face Find the cause in the color preview
The color band starts a layer early or late The change is on another layer or the boundary does not fall on the grid Move the change to the right layer on the slider
A prime tower appears on a part you thought was one color A stray painted triangle or a part on another filament Step through the layers in the preview until you find it
Streaks of the previous color after a change Purge too short for that color pair Purge and multicolor waste
Feed or cutter failures The switcher's hardware, not the slicer Multi-material failures

See also

Design it in KapyCAD

Many of these problems are cheaper to fix in the model than in the slicer: wall thickness, overhangs, the face the part stands on.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?