plasticity_measure_nonparallel_planar_polygon_clearance
Measure exact minimum distance between two nonparallel planar polygon faces. Returns closest 3D points or zero when they intersect.
Instructions
Measure exact minimum Euclidean distance between two nonparallel trimmed planar B-Rep faces with simple straight-edged polygon boundaries. Concave outlines, holes and multiple nested/disjoint loops are supported; face regions use even-odd loop filling. Reports exact closest 3D points and zero when the finite face regions intersect. Limits each face to 512 boundary vertices and 4096 exact decomposition triangles. Faces with parallel supporting planes, circular/curved edges, self-intersecting or touching loops, incomplete native topology, or stale references are rejected; use plasticity_measure_parallel_planar_face_clearance for supported circular boundaries. This measures a selected face pair, not whole-body clearance or collision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | Yes | ||
| second | Yes | ||
| revision | Yes |