PlaneFromPoints

Creates a plane from three non-colinear points.

Syntax

rhinoscriptsyntax.PlaneFromPoints(origin, x, y)

rhinoscript.plane.PlaneFromPoints(origin, x, y)

Parameters

origin

Required.  list of 3 numbers or Point3d.  The first point, or origin, of the plane.

x

Required.  list of 3 numbers or Point3d.  A point on the plane's X axis.

y

Required.  list of 3 numbers or Point3d.  A point on the plane's Y axis.

Returns

Plane

The plane if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

corners = rs.GetRectangle()

if corners:

    rs.ViewCPlane( rs.PlaneFromPoints(corners[0], corners[1], corners[3]))

Also See

PlaneFromFrame

PlaneFromNormal