Surface Plane Finder
Finds a plane from a planar surface or brep face.
Overview
Finds a plane from a planar surface or brep face.
Inputs (1)
- x (Geometry): Input geometry
Outputs (3)
- plane_normal (Vector): Normal of the plane
- reverse_normal (Vector): Reversed normal
- output_plane (Plane): Output plane
Method, assumptions and simplifications
The same notes appear in the component's Info output.
Method
- Takes the first item of x. A Surface is used directly; a single-face Brep uses its face; polysurfaces are rejected.
- If the surface is planar within the document absolute tolerance, the normal is evaluated at the middle of its UV domain and follows the Brep face orientation (reversed faces are taken into account). A non-planar input raises a warning and gives no outputs.
- For a single-face Brep the origin is the area centroid of the trimmed face; for a Surface it is the bounding-box centre (plane surfaces) or the area centroid of the surface. Outputs the normal, its reverse and a plane at that origin.
Assumptions
- The input is a single planar face.
Simplifications and limits
- Only the first list item is processed.
- The plane X axis is chosen by Rhino from the normal; it is not aligned with the face edges.
Workflow
- Facade panel faces -> x; output_plane -> orientation of panels, attractors or text.