design_metrics
Calculate per-part design review metrics before export—size, filament and cost estimates, print time, supports, slopes, edge treatment, symmetry, screws, seams, traps, and rule-based suggestions.
Instructions
Design numbers for the design review, per printable part: size and proportions, filament (simple estimate, roughly +-20 %) and cost, print time (rough estimate), supports, shallow slopes that show layer steps, edge treatment (sharp / filleted / chamfered shares, distinct radii and chamfer sizes), mirror symmetry, screw sizes, seam corners, water traps, inside corners, hole edge distance and slenderness across the layers (and the thinnest walls for a style that asks); then the suggestions the part's style triggers, each citing its DS-* rule. ALWAYS before export, after check passes; report its suggestions to the user. style: override the part's STYLE (functional, modern, least_cost, rugged, soft, structural, or a style file of the user's: list_parts shows them). up: the direction that points up in use for the water-trap check (+X, -Y, ...; default the script's UP, else +Z). as_json: the full numbers as JSON instead of the text report. Changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | ||
| name | Yes | ||
| style | No | ||
| as_json | No | ||
| variant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |