split_mesh_to_fit
Cuts a solid model into printable pieces that reassemble, preserving real dimensions when it exceeds the print bed without scaling the part.
Instructions
Cut ONE solid into printable pieces that reassemble — the other honest answer to "it doesn't fit" (scale_mesh_to_fit shrinks; this cuts, so a functional part keeps its real dimensions). 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 part 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": {
"model_path": "<model_path>"
},
"name": "split_mesh_to_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bed_x_mm | No | Explicit bed width (with y and z; used when no printer_id). Default: 0.0. | |
| bed_y_mm | No | Explicit bed depth. Default: 0.0. | |
| bed_z_mm | No | Explicit bed height. Default: 0.0. | |
| cut_axis | No | "x" | "y" | "z" for user-directed cuts. Default: "". | |
| material | No | Filament — sizes the pin joints and the glue advice. Default: "PLA". | |
| design_id | No | Track the split under this design. The result's ``kit`` block reports what was filed: pieces as versions with piece branches, and the assembly graph on the design's record. Splitting a mesh that IS one of the design's versions anchors the kit to that exact version (re-splitting a piece nests its children under it); a loose file births as a new version first. When speaking to the user, lead with piece labels ("Piece 2", "Piece 3.1"); the full branch address (``kit/<id>/piece/2``) is in the result too — give it when the user is disambiguating (several projects with a "piece 2", or comparing variants of one piece to keep working off the winner). When the kit cannot be filed where the call ran, ``kit.note`` says so and ``kit.save_payload`` is the ready-made record to land it on the design in your account. Default: "". | |
| add_joints | No | Master switch for seam joinery (default on). Off = every seam flush. Default: true. | |
| max_pieces | No | Hard cap on the number of pieces; 0 (default) lets the planner decide, within the piece allowance of your plan. Default: 0. | |
| model_path | Yes | The solid to cut (STL/OBJ/3MF/PLY/GLB, or STEP — converted at the door). Must be watertight. | |
| output_dir | No | Where piece STLs land (default: temp). Default: "". | |
| printer_id | No | Supported printer model id — its measured or rated usable volume becomes the bed. Omitted: falls back to explicit bed dims, then to your one registered printer. Default: "". | |
| replay_kit | No | Change how seams of a cut already on record are held: the kit id of that cut (with ``design_id``; the design must be yours). The part is cut again on the same planes with the same settings, and only the seams named in ``seam_holds`` change. Pass the model that cut was made from. On a plan that cuts no joinery nothing is cut: the change is written on the cut's record as a dated line. Default: "". | |
| seam_holds | No | With ``replay_kit``: seam id (from ``joints.held[*].seam``, or the design's kit summary) to the hold you want there: "glued", "threaded" (screws into heat-set inserts) or "magnetic". An unknown seam id is answered with the cut's seams. When Kiln has a concern about a hold you chose, the first reply says it beside the hold Kiln would use and changes nothing. | |
| structural | No | Whether the seams carry real load (bracket, frame, anything holding weight): true, false, or leave it out. Say it if you know; not saying is read as an assumption and said back. A seam that comes apart with load not said gets screws into heat-set inserts, which hold either way, and is told magnets would do if it carries none; magnets are picked only when this is false. With pins, true also means: read the per-seam ``shear_rating`` before trusting the joint. | |
| hardware_ok | No | Whether bought parts (screws, inserts, magnets) are welcome: true, false, or leave it out. Say it if you know; not saying is read as an assumption (welcome) and said back. False = printed-plastic-only build: no screws, inserts or magnets are ever suggested or cut. | |
| keep_stated | No | Keep the holds named in ``seam_holds`` after reading Kiln's concern about them. The choice is recorded as made, with Kiln's own pick beside it. Default: false. | |
| magnet_d_mm | No | Your disc magnets' diameter (default 6). Default: 6.0. | |
| magnet_h_mm | No | Your disc magnets' height (default 3). Default: 3.0. | |
| serviceable | No | Whether the part comes apart again (battery door, maintenance panel, transportable prop): true, false, or leave it out. Say it if you know; not saying is read as an assumption and said back: the seams are glued as if the part stays together, and each seam's ``why`` says so and asks to be told otherwise. True gets a hold that opens (magnet seats, or heat-set inserts and screws), cut in place at the seam. It applies to every seam this call cuts. | |
| joint_method | No | "auto" (default) — every seam asks the seam-strategy engine, which weighs the item's own physics (seam section, thinnest engagement, material stiffness) plus your intent flags. Or say it outright: "pins", "adhesive", "screws", "magnets", "none" — an explicit choice always wins, with honest physics warnings when the seam disagrees. On a plan that does not cut joinery the choice is not weighed: the part is named the hold that would suit it. Default: "auto". | |
| fastener_size | No | Screw thread for screw joints, e.g. "M3". Leave it out and Kiln picks M3, or one size every screw seam takes, and says so. A size you name is kept: a seam it does not fit gets no screw joint, and the reply names that seam and the size that would fit. Insert bore and clearance come from the fastener tables, not guesses. Default: "". | |
| arrange_plates | No | Pack the pieces onto plates (default on). Default: true. | |
| snap_to_natural | No | Let each user cut shift a few millimeters to the nearest thin section. Default: false. | |
| cut_positions_mm | No | Cut positions along cut_axis, in the mesh's own coordinates (see analyze_mesh_geometry for the bounds). | |
| pin_clearance_mm | No | Radial pin/socket clearance. Leave it out and it is sized for the material (and the printer, when Kiln has measured it), never tighter than 0.2; a number you give is used as given. |