SurfaceFrame

Returns a plane based on the normal, u, and v directions at a given surface U,V parameter.

Syntax

rhinoscriptsyntax.SurfaceFrame (surface_id, uv_parameter)

rhinoscript.surface.SurfaceFrame (surface_id, uv_parameter)

Parameters

surface_id

Required.  String or Guid.  The object's identifier.

uv_parameter

Required.  Tuple or list containing the U,V parameter to evaluate.

Returns

Plane

The plane at the specified parameter if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

surface = rs.GetSurfaceObject("Select a surface")

if surface:

    plane = rs.SurfaceFrame(surface[0], surface[4])

    rs.ViewCPlane(None, plane)

Also See

EvaluateSurface

SurfaceClosestPoint

SurfaceNormal