estimate_print_cost_from_mesh
Calculate total 3D print cost directly from mesh geometry, covering material, support, adhesion, and electricity without slicing or G-code.
Instructions
Estimate total print cost from a 3D model file.
Calculates material, support, adhesion, and electricity costs directly
from mesh geometry — no G-code or slicing required. Includes a detailed
cost breakdown and actionable recommendations to reduce cost.
Supported materials: pla, pla+, petg, abs, tpu, asa, nylon, pc,
cf-pla, silk-pla, hips, pva, pp, peek.
Args:
file_path: Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD
file (.step, .stp), which is converted automatically.
material: Material type (default "pla").
infill_percent: Interior fill percentage 0-100 (default 20).
wall_layers: Number of perimeter shells (default 3).
layer_height_mm: Layer height in mm (default 0.2).
nozzle_mm: Nozzle diameter in mm. Leave unset for the only
printer Kiln knows of, else 0.4; ``nozzle`` in the reply
says which.
include_supports: Estimate support material cost (default False).
support_density: Support infill percentage (default 15).
adhesion_type: Bed adhesion type: "none", "brim", or "raft".
electricity_rate: Electricity cost in $/kWh (default 0.12).
printer_wattage: Printer power consumption in watts (default 200).
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_path": "<file_path>"
},
"name": "estimate_print_cost_from_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material type (default "pla"). Default: "pla". | |
| file_path | Yes | Path to a mesh (.stl, .obj, .glb, .3mf) or a CAD file (.step, .stp), which is converted automatically. | |
| nozzle_mm | No | Nozzle diameter in mm. Leave unset for the only printer Kiln knows of, else 0.4; ``nozzle`` in the reply says which. | |
| wall_layers | No | Number of perimeter shells (default 3). Default: 3. | |
| adhesion_type | No | Bed adhesion type: "none", "brim", or "raft". Default: "none". | |
| infill_percent | No | Interior fill percentage 0-100 (default 20). Default: 20.0. | |
| layer_height_mm | No | Layer height in mm (default 0.2). Default: 0.2. | |
| printer_wattage | No | Printer power consumption in watts (default 200). Default: 200.0. | |
| support_density | No | Support infill percentage (default 15). Default: 15.0. | |
| electricity_rate | No | Electricity cost in $/kWh (default 0.12). Default: 0.12. | |
| include_supports | No | Estimate support material cost (default False). Default: false. |