ExtractIsoCurve

Extracts isoparametric curves from a surface.

Syntax

rhinoscriptsyntax.ExtractIsoCurve (surface_id, parameter, direction)

rhinoscript.surface.ExtractIsoCurve (surface_id, parameter, direction)

Parameters

surface_id

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

parameter

Required.  Tuple.  A tuple containing the U,V parameter of the surface to evaluate.

direction

Required.  Number.  The direction, either 0 = U, 1 = V, or 2 = Both.

Returns

List

A list of Guids identifying the newly created curve objects if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select surface for isocurve extraction", rs.filter.surface)

point = rs.GetPointOnSurface(obj, "Select location for extraction")

parameter = rs.SurfaceClosestPoint(obj, point)

rs.ExtractIsoCurve( obj, parameter, 2 )

Also See

IsSurface