add_pin_joints
Generate two modified STLs with a real pin-and-socket joint between touching parts, then inspect them on an interactive 3D stage.
Instructions
Give two touching parts a REAL pin-and-socket joint. Opens Kiln's interactive inline 3D stage on the result (orbit/zoom panel in MCP Apps hosts; hosted sessions add a browser stage link).
Needs Kiln Pro.
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": {
"part_a_path": "<part_a_path>",
"part_b_path": "<part_b_path>"
},
"name": "add_pin_joints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Output scale — the joint derives AFTER scaling. Default: 1.0. | |
| material | No | Filament the parts print in — sets the rating basis (default PLA). Default: "PLA". | |
| design_id | No | Optional design to track this under — both modified parts are registered as versions so the original and the jointed variants share history. Default: "". | |
| output_dir | No | Where the two new STLs land (default temp). Default: "". | |
| part_a_path | Yes | The part that GROWS the pin. | |
| part_b_path | Yes | The part that receives the socket. | |
| clearance_mm | No | Radial socket clearance (default 0.2). Default: 0.2. | |
| pin_diameter_mm | No | Override the derived diameter in mm (0 = derive from the contact patch). Values outside the printable pin range are clamped and the result says so. Default: 0.0. | |
| application_class | No | How much margin the rating demands, least to most: prototype, internal_fixture, consumer_product, outdoor_hardware, life_safety, lifting_equipment. Any other value is refused. Default: "consumer_product". |