# Filament color change calculator

> Drop in an STL or 3MF and see the exact layers to pause and swap filament for a two-color print, with steps for Bambu Studio, OrcaSlicer, PrusaSlicer and Cura. Free, and your file never leaves your device.

Web page (the calculator runs there, in the browser): https://stlmint.app/tools/filament-color-change-calculator

## How it works

1. **Drop in your model.** Open an STL or 3MF from your computer or phone. It is read in your browser, not uploaded.
2. **Enter your layer heights.** Type the first-layer height and layer height you slice with, often 0.2 mm and 0.2 mm.
3. **Read the change layers.** The calculator lists every height where the cross-section changes and the layer number to pause at.
4. **Add the pause in your slicer.** In Bambu Studio, OrcaSlicer, PrusaSlicer or Cura, add a pause or color change at those layers and swap filament when the printer stops.

The calculator finds every flat face between the bottom and the top of the model (where part of it stops or starts) and gives the first layer printed above each one: layer 1 is the first layer, and each layer after it is one layer height thick. It warns when a step falls between layers.

## Adding the pause in your slicer

### Bambu Studio

1. Open the file and set Layer height and Initial layer height (Process, Quality) to the heights you slice with. Slice the plate.
2. In Preview, drag the slider on the right up to layer N. The label shows the layer number and the height of its top.
3. Right-click the + beside the slider handle and choose Add pause. Do the same for each layer in the list.
4. Slice again and print. When the printer pauses, unload the filament from the printer screen, load the next color, let it purge until the color runs clean, pull off the strand and resume.

### OrcaSlicer

1. Set Layer height and First layer height (Process, Quality) to the heights you slice with, and turn off variable layer height. Slice.
2. In Preview, drag the vertical slider to layer N.
3. Right-click the + and choose Add pause, or Add color change if your printer supports M600. Repeat for each layer.
4. Check Printer settings, Machine G-code, Pause G-code is filled in for your printer (M601 for Prusa, PAUSE for Klipper, M400 U1 for Bambu). If it's empty the printer won't stop.

### PrusaSlicer

1. Set Layer height and First layer height (Print settings, Layers and perimeters) to the heights you slice with. Slice.
2. In Preview, move the top handle of the vertical slider to the layer that starts at the height found (layer N). The slider shows the top of each layer.
3. Click the orange + to add a color change (M600), or right-click it for Add pause print (M601). Repeat for each height.
4. Export the G-code and print. The printer stops before that layer, asks for the new filament and carries on.

### Cura

1. Set Layer Height and Initial Layer Height to the heights you slice with, and leave adaptive layers off. Slice.
2. Open Extensions, Post Processing, Modify G-Code, click Add a script and pick Filament Change (M600) or Pause at height.
3. Filament Change asks for the layer the new color starts on: enter N (several layers go in one box, separated by commas). If your Pause at height script asks for the last layer to finish before the pause, enter N - 1 instead. Read the note under the field: it says which one your version wants.
4. Close the dialog, slice again and save. The scripts run when the G-code is written, so the preview won't show the pause.

## Designs that print with one swap

Two-color STLmint designs stack their colors in layers, and most swap once (each design's Clad badge gives the count). These swap once. The Bambu Studio project has the base and letters as separate parts on separate filaments.

- [Name Keychain](https://stlmint.app/designs/name-keychain.md)
- [Bold Name Tag](https://stlmint.app/designs/bold-tag.md)
- [Bone Pet ID Tag](https://stlmint.app/designs/bone-pet-id-tag.md)
- [Name Pencil Topper](https://stlmint.app/designs/pencil-topper.md)
- [Pivot Sweep Name Plate](https://stlmint.app/designs/pivot-sweep-name-plate.md)
- [Arched Name Cake Topper](https://stlmint.app/designs/arch-cake-topper.md)
- [Event Medal](https://stlmint.app/designs/event-medal.md)
- [Rainbow Arch Monogram Coaster](https://stlmint.app/designs/rainbow-arch-coaster.md)
- [Every design that prints without an AMS](https://stlmint.app/designs?print=no-ams)

## Questions

### How do I print two colors without an AMS?

Print the base in one color, pause at the first layer of the raised part and swap filament, then let it finish in the second color. It works on any printer that can pause, as long as the colors sit in layers on top of each other. This calculator finds the layer for you.

### Which layer do I pause at?

The first layer of the new color: the first layer printed above the height where the base stops. Slicers number layers from 1 at the bed, and the first layer is often a different height from the rest, so the calculator works it out from your first-layer and layer heights.

### Can I use this for colour changes too?

Yes, color and colour are the same thing here. It works for any filament swap: a new color, a glow or silk filament for the top layers, or a different material where your printer allows it.

### Is my file uploaded?

No. The file is read by your own browser and never sent anywhere. A share link only carries the result (file name, heights, layers and colors), and you can lock it with a passphrase.

### Why does it say the change is between layers?

The model changes at a height that isn't a multiple of your layer height, so the swap lands on the nearest layer and the color edge is off by part of a layer. Pick a layer height that divides the height, or redesign the step to sit on a layer line.

### Can I change color more than once?

Yes. Tick every height you want and add a pause at each layer. Each swap costs a few minutes at the printer, so designs with one swap are the quickest to sell in numbers.

### How much filament of each color will I use?

The calculator adds up the solid volume above and below each change and turns it into grams for the material you pick. That's the most it can weigh: thin name pieces print nearly solid, chunky parts use less because of infill.

### Why can't it find a change in my model?

Two colors side by side in the same layers (a flat logo inlaid in a flat plate) can't be split by height. That needs a multi-material printer, or a design that raises one color above the other.
