Returns a plane based on the normal, u, and v directions at a given surface U,V parameter.
rhinoscriptsyntax.SurfaceFrame (surface_id, uv_parameter)
rhinoscript.surface.SurfaceFrame (surface_id, uv_parameter)
surface_id |
Required. String or Guid. The object's identifier. |
uv_parameter |
Required. Tuple or list containing the U,V parameter to evaluate. |
Plane |
The plane at the specified parameter if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
surface = rs.GetSurfaceObject("Select a surface")
if surface:
plane = rs.SurfaceFrame(surface[0], surface[4])
rs.ViewCPlane(None, plane)