Estimate a print job
estimate_print_jobEstimate filament mass, print time, energy use, and cost for one FDM print from part shape or CAD volume and surface area.
Instructions
Filament mass and length, print time, energy and cost for one FDM print (HW4 tool). Errors: unknown shape, missing dimensions, impossible volume/area pair, layer height > 80 % of line width.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate_print_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shape | No | box: size_x/y/z are outer sizes; cylinder: size_x = diameter, size_z = height; custom: give volume_cm3 and surface_area_cm2 from CAD | custom |
| material | No | Filament (values from manufacturer data sheets). | PLA |
| size_x_mm | No | Box length or cylinder diameter [mm, 1–350] | |
| size_y_mm | No | Box width [mm, 1–350] | |
| size_z_mm | No | Height [mm, 0.2–350] | |
| volume_cm3 | No | Solid part volume (custom shape) [cm³, 0.05–20000] | |
| wall_loops | No | Wall lines; default 2 | |
| line_width_mm | No | Extrusion line width; default 0.42 [mm, 0.2–1.2] | |
| infill_percent | No | Sparse infill density; default 15 [%, 0–100] | |
| max_flow_mm3_s | No | Hot-end volumetric flow limit; default 21 [mm³/s, 1–60] | |
| layer_height_mm | No | Layer height, at most 80 % of line width; default 0.2 [mm, 0.04–0.6] | |
| printer_power_W | No | Average printer power; default 110 [W, 10–2000] | |
| print_speed_mm_s | No | Print speed; default 150 [mm/s, 5–600] | |
| surface_area_cm2 | No | Part surface area (custom shape) [cm², 0.5–20000] | |
| motion_efficiency | No | Share of time spent extruding; default 0.6 [-, 0.1–1] | |
| filament_price_per_kg | No | Filament price; default 23 [$/kg, 0–500] | |
| electricity_price_per_kWh | No | Electricity price; default 0.17 [$/kWh, 0–2] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| checks | Yes | ||
| inputs | Yes | Every input actually used, after defaults. | |
| results | Yes | ||
| summary | Yes | ||
| verdict | Yes | Worst status among the checks. | |
| decision | No | Recommended action (new tools only). | |
| features | No | Per-feature table (check_deviated_part). | |
| warnings | Yes | ||
| assumptions | Yes | ||
| human_checks | No | What a person must verify before acting. | |
| defaults_used | Yes | Inputs the user did not give and the default applied. |