Classify Face Sides
classify_face_sidesClassifies each face of a part as interior (wetted) or ambient (exterior) to identify which faces are inside an airflow path, suggesting a role per face.
Instructions
Inside-vs-outside topology: for every face, decide whether its outward side opens into an enclosed cavity (wetted) or ambient (exterior). Answers the "which faces are inside the airflow path" question from issue #19 and suggests a role per face. Inspection only; returns no handle, mutates nothing.
With seal_ports=True (default) any declared inlet/outlet roles (annotate_face) are capped first, so an OPEN duct's bore reads as the enclosed flow cavity rather than as ambient.
handle: the part. seal_ports: cap declared inlet/outlet before classifying.
Returns a list (one per face) of dicts: tag / index (str) stable f_* tag and 'FaceN' kind (str) surface kind (planar/cylindrical/…) side (str) 'interior' | 'ambient' | 'ambiguous' suggested_role (str) 'wetted' for interior, 'ambient' for exterior, else null declared_role (str) the role already annotated on this face, if any
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | Yes | ||
| seal_ports | No |