detect_mesh_pockets
Analyze an STL mesh to detect recessed pockets and cavities, returning their dimensions and positions for multi-part or multi-material 3D printing.
Instructions
Detect pockets and cavities in a mesh before multi-part composition.
Analyzes a base model to find recessed regions (circular or rectangular
pockets) on top and bottom faces. Call this before compose_models or
multi_material_print to know pocket dimensions for overlay geometry.
:param file_path: Path to the STL file to analyze.
:param min_depth_mm: Minimum pocket depth to report (default 0.3mm).
:returns: Dict with pocket list, dimensions, and positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| min_depth_mm | No |