analyze_structural_risks
Analyze STL meshes for structural weaknesses such as thin necks, stress concentrations, and cantilevers, returning risk locations in mm coordinates for targeted reinforcement.
Instructions
Analyze an STL mesh for structural weak points.
Goes beyond printability to find **structural** risks:
- **thin_neck**: narrow cross-sections that will snap under load
- **stress_concentration**: abrupt section changes that focus stress
- **cantilever**: unsupported overhanging geometry
- **sharp_corner**: concave edges that initiate cracks
- **insufficient_base**: topple risk from height-to-base ratio
- **weak_layer_adhesion**: overhangs in structurally critical areas
Returns risk locations as (x, y, z) coordinates in mm so agents
can reason about *where* problems are, not just *that* they exist.
:param file_path: Path to the STL file.
:param min_cross_section_mm2: Minimum safe cross-section area (default 4).
:param sharp_angle_threshold_deg: Angle for sharp edge detection (default 60).
:returns: Dict with ``risks`` list, each containing location, severity, and description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| min_cross_section_mm2 | No | ||
| sharp_angle_threshold_deg | No |