estimate_print_cost_from_mesh
Calculates material, support, adhesion, and electricity costs directly from 3D mesh geometry. Provides a cost breakdown and recommendations to reduce expenses without requiring G-code or slicing.
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 mesh file (.stl, .obj, or .3mf).
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 (default 0.4).
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | pla | |
| file_path | Yes | ||
| nozzle_mm | No | ||
| wall_layers | No | ||
| adhesion_type | No | none | |
| infill_percent | No | ||
| layer_height_mm | No | ||
| printer_wattage | No | ||
| support_density | No | ||
| electricity_rate | No | ||
| include_supports | No |