Estimate CNC machining of a 3D part (before CAM)
estimate_cnc_from_stlBudget estimate for machining a part from an STL: stock block, material removed, surface area, roughing and finishing time at the material removal rates given, and part mass. Based on volume and surface area only; holes and corner radii are not detected from STL. Accepts up to 60,000 triangles.
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": {
"stl_base64": "<stl_base64>"
},
"name": "estimate_cnc_from_stl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | ||
| setups | No | ||
| pricing | No | Optional: turn the result into a price | |
| material | No | Preset (al6061, ms, ss304, brass, pom) or {name, density_g_cm3, rough_cm3_per_min, finish_cm2_per_min, price_per_kg} | |
| quantity | No | ||
| stl_base64 | Yes | Binary or text STL, base64-encoded | |
| allowance_mm | No | Stock allowance per side, default 2 | |
| machine_rate_per_hour | No |