Transforms a plane.
rhinoscriptsyntax.PlaneTransform (plane, xform)
rhinoscript.plane.PlaneTransform (plane, xform)
plane |
Required. The plane to transform. |
xform |
Required. List or Transform. A valid 4x4 transformation matrix. |
Plane |
The resulting plane if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
plane = rs.ViewCPlane()
xform = rs.XformRotation(45.0, plane.Zaxis, plane.Origin)
plane = rs.PlaneTransform(plane, xform)
rs.ViewCPlane(None, plane)