CMYK Studio
Five spools — cyan, magenta, yellow, black and white — can print far more than five colours when each layer is split into thin optical sublayers. This studio takes a coloured 3D model, repairs its mesh, solves a CMYKW palette and writes a Bambu Studio project you can slice. Everything except the printer presets runs in your browser.
From the studio · When a Colour Edge Becomes Geometry
No model · Bambu Lab H3C (0.4 mm nozzle) · 330×320 mm plate
Amber block: prime tower position — no room on the plate. Drag to orbit, scroll to zoom; focus the view and use the arrow keys to pan.
Model
Files are processed in this browser tab and never uploaded.
Print settings
Palette
Load a model to solve its palette.
Left chip: the source colour each slot stands in for. Right chip: the predicted print. Predictions come from a generic optical model until you load a calibration table measured from your own spools.
Mesh clinic
Repair statistics appear once a model loads.
Export
Export reads the H3C printer, process and filament presets directly from Bambu Studio's public GitHub repository (release v02.09.01.70), so your browser contacts raw.githubusercontent.com. Check the plate in Bambu Studio before printing.
Method
- Repair. Vertices are welded at 0.001 mm, triangle winding is made consistent across shared edges, open boundary loops are capped, inside-out shells are flipped, and thin shells can be pushed outward along their normals.
- Cluster. Surface colours are grouped with area-weighted K-means++ in CIELAB, so large regions carry more weight than many tiny triangles.
- Match. Clusters near a base spool print with it directly; the rest are matched by CIEDE2000 to two- and three-spool recipes on a 5 % grid with a 15 % minimum share.
- Write. Each triangle gets a Bambu
paint_colorcode. The project embeds the H3C presets, mixed-filament recipes, tree supports, purge volumes and a prime tower placed at least 25 mm from the model.
The engine is the open-source cmyk-3mf library (MIT, version 0.1.0), which also runs as a command-line tool. Printer presets are read from Bambu Studio's public profiles at release 02.09.01.70 and are not redistributed. For the mesh pathologies the repair step addresses, see the Topology Clinic.
Limits
Predicted, not measured, colour
Swatches use a generic optical model that blends a single-constant Kubelka–Munk subtractive mix with an additive average. It has not been fitted to any vendor's spools. Print a calibration card and load the measured table before relying on ΔE values.
Walls and tops read differently
On vertical walls the eye averages fine sublayer stripes. On shallow top surfaces light passes through thin translucent layers and the mix darkens. One prediction cannot be exact for both.
One verified printer
Generated projects for the Bambu Lab H3C (0.4 mm nozzle) were sliced with the Bambu Studio 02.09.01.70 command line: no errors or warnings, the printer's own start and tool-change G-code, active mixed filaments and tree supports. No physical print is reported here, and the Bambu Studio desktop app may still adjust settings when it opens a file.
Palette size
Per-triangle painting can address eighteen slots, so palettes stop at five base spools plus twelve mixes. Fine texture detail smaller than the triangles, or than a 0.4 mm line, cannot print.