auto_multicolor_from_texture
Segments a textured OBJ mesh into discrete color zones for multi-material 3D printing and opens an interactive 3D stage to inspect the result.
Instructions
Segment a textured OBJ mesh into discrete color zones for multi-material printing. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
Free accounts get 3 multicolor splits a month; Pro has no monthly limit.
INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"obj_path": "<obj_path>"
},
"name": "auto_multicolor_from_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_colors | No | Number of color zones (= AMS/MMU slot count). Default 4. Default: 4. | |
| obj_path | Yes | Path to OBJ file with UV coordinates and texture. | |
| output_dir | No | Output directory. Default: auto-generated temp dir. Default: "". | |
| printer_id | No | Optional printer ID. Validates n_colors against the AMS/MMU slot count, and names the plate the composed 3MF is placed on so an off-bed split lands on the real bed. | |
| compose_3mf | No | Compose a multi-color 3MF from split STLs. Default True. Default: true. | |
| texture_path | No | Override texture file path (otherwise read from MTL). | |
| min_island_faces | No | Minimum faces to keep a color island. Default 3. Default: 3. | |
| min_island_area_mm2 | No | Minimum area (mm²) for a color island. Default 1.0. Default: 1.0. |