Calculate 3D print cost
calculate_print_costEstimate what an FDM print costs (material, electricity, machine wear, labor, failure allowance) and a suggested selling price. Needs the print weight in grams and time in hours from the slicer; all other inputs have sensible defaults (1 kg spool at $20, 120 W printer, $0.12/kWh, 5% failures).
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": {
"print_weight_grams": "<print_weight_grams>",
"print_time_hours": "<print_time_hours>"
},
"name": "calculate_print_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | ||
| labor_minutes | No | Hands-on time: slicing, removal, post-processing. | |
| markup_percent | No | Profit markup to compute a selling price. | |
| spool_price_usd | No | ||
| spool_weight_kg | No | ||
| print_time_hours | Yes | Print time in hours (e.g. 3.5). | |
| printer_cost_usd | No | Printer purchase price, for depreciation. 0 to skip. | |
| print_weight_grams | Yes | Filament used, from the slicer. | |
| labor_rate_per_hour | No | ||
| printer_power_watts | No | ||
| failure_rate_percent | No | Allowance for failed prints, 0–100. Use 0 for none. | |
| printer_lifespan_hours | No | ||
| electricity_cost_per_kwh | No |