check_airtight_path
Verify an enclosed-flow part has a single connected void joining inlet to outlet, detecting blocked paths, hidden leaks, or pinched bottlenecks.
Instructions
Functional check for an enclosed-flow part (a vacuum adapter, manifold,
duct): is there a single connected void joining the inlet to the outlet,
bounded by solid everywhere else? This catches what check_shape cannot — a
watertight solid can still have a blocked flow path or a hidden leak.
Inspection only: measures, returns no handle, mutates nothing.
handle: the part to inspect. inlet / outlet: a face reference naming each port OPENING (the rim face around the hole) — an f_* tag, 'FaceN', int index, or a role/name declared with annotate_face (e.g. "inlet"). Both ports are sealed with cap solids and the negative-space void is analysed. min_aperture_mm2: optional minimum acceptable bottleneck cross-section; a connected-but-pinched path (a near-zero 'almond slit') then fails. pad_mm: optional bounding-box margin (default max(2.0, 0.05*diagonal)).
Returns a dict (lengths mm, areas mm², volumes mm³): ok (bool) connected AND not leaky AND aperture >= threshold status (str) 'airtight' | 'bottleneck' | 'blocked' | 'leaky' connected (bool) one void joins inlet and outlet leaky (bool) with both ports capped the cavity still reaches ambient, so an unintended opening exists min_aperture_mm2 (float|null) narrowest section of the flow void bottleneck_point ([x,y,z]|null) a point on the narrowest section plane flow_void_volume_mm3 (float|null) volume of the connecting void void_components (int) number of void solids (ambient + enclosed) inlet / outlet (str) the resolved 'FaceN' references pad_mm (float) the margin used
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inlet | Yes | ||
| handle | Yes | ||
| outlet | Yes | ||
| pad_mm | No | ||
| min_aperture_mm2 | No |