3D print cost calculator
print_costCost of a 3D print (any print, not only lithophanes) from filament grams and print time: filament, electricity, printer wear and failed prints, plus a selling price with markup. USD by default; any currency works if all prices use it.
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": "print_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grams | No | Filament used by the print, from the slicer (default 25) | |
| hours | No | Print time in hours, from the slicer (default 4) | |
| watts | No | Average printer power draw in W (default 120) | |
| kwhPrice | No | Electricity price per kWh (default 0.17) | |
| markupPct | No | Markup when selling, % (default 0) | |
| failurePct | No | Share of prints that fail, % (default 10) | |
| spoolGrams | No | Spool weight in grams (default 1000) | |
| spoolPrice | No | Spool price (default 20) | |
| wearPerHour | No | Printer wear per print hour (default 0.1) |