mesh_quality_scorecard
Assess mesh and CAD files for printability, structural stability, efficiency, and quality, returning mesh area notes and a three-band CAD intake report.
Instructions
Assess a model — a review in words for a mesh, an intake report for a CAD file. Neither carries a score or a grade.
**For a mesh** (.stl, .obj, .glb) it reviews four areas:
- **Printability**: ``analyze_printability``'s own verdict for
``material`` / ``printer_id`` — pass the ones you gave
``analyze_printability`` and the two match
- **Structural**: aspect ratio, base stability, component count
- **Efficiency**: fill ratio, support waste
- **Quality**: triangle density, degenerate count
and returns the printability verdict and each area's notes.
``subject`` is ``"mesh"``.
**For a CAD file** (.step, .stp) it returns an INTAKE REPORT.
``subject`` is ``"cad_file"``, in three bands:
- ``exact`` — read from the user's file by the CAD kernel:
volume, surface area, envelope, validity, solid/shell/face
counts, in mm. These match their CAD package to the decimal
and are the numbers to quote back to them.
- ``measured`` — what genuinely needs triangles (overhangs,
stability, floating parts), with the conversion named and this
part's own conversion difference stated.
- ``about_our_copy`` — triangle and degenerate counts for Kiln's
generated mesh, as counts, never scored.
When quoting a CAD part's size to a user, quote ``exact`` —
``about_our_copy`` describes Kiln's mesh, not their design.
:param file_path: Path to a mesh (.stl, .obj, .glb) or a CAD file
(.step, .stp).
:param material: Material the printability verdict is judged for
(default ``"pla"``).
:param printer_id: Optional printer the printability verdict is
judged for.
:returns: Dict with the printability verdict and each area's notes
for a mesh; the three-band intake report for a CAD file.
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": {
"file_path": "<file_path>"
},
"name": "mesh_quality_scorecard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material the printability verdict is judged for (default ``"pla"``). Default: "pla". | |
| file_path | Yes | Path to a mesh (.stl, .obj, .glb) or a CAD file (.step, .stp). | |
| printer_id | No | Optional printer the printability verdict is judged for. Default: "". |