RotatePlane

Rotates a plane.

Syntax

rhinoscriptsyntax.RotatePlane (plane, angle_degees, axis)

rhinoscript.plane.RotatePlane (plane, angle_degees, axis)

Parameters

plane

Required. The plane.

angle_degrees

Required.  Number.  The rotation angle in degrees.

axis

Required.  List of 3 numbers, Point3d, or Vector3d.  A non-zero 3-D vector identifying the axis of rotation.

Returns

Plane

The plane if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

plane = rs.ViewCPlane()

rotated = rs.RotatePlane(plane, 45.0, plane.XAxis)

rs.ViewCPlane( None, rotated )

Also See

MovePlane

PlaneFromFrame

PlaneFromNormal