merge_stl
Combine multiple STL files into one mesh, applying per-file X/Y/Z offsets to position parts relative to each other before export.
Instructions
Merge multiple STL files into a single mesh (supports positional offsets).
Use this when you need to position parts relative to each other.
For simple concatenation without positioning, ``merge_mesh_files`` also works.
Combines triangle data from multiple STL files into one output file.
Optionally translates each part to a specified position before merging.
:param file_paths: JSON array of STL file paths.
:param output_path: Where to write the merged STL.
:param positions: Optional JSON array of {"x", "y", "z"} offsets per file.
:returns: Dict with output_path, total_triangles, bounding_box.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": {
"file_paths": "<file_paths>",
"output_path": "<output_path>"
},
"name": "merge_stl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | No | Optional JSON array of {"x", "y", "z"} offsets per file. Default: "". | |
| file_paths | Yes | JSON array of STL file paths. | |
| output_path | Yes | Where to write the merged STL. |