SurfaceParameter

Converts a normalized surface parameter to a surface parameter; one within the surface's domain.

Syntax

rhinoscriptsyntax.SurfaceParameter (surface_id, parameter)

rhinoscript.surface.SurfaceParameter (surface_id, parameter)

Parameters

surface_id

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

parameter

Required.  List of two numbers.  The normalized surface parameter to convert.

Returns

Tuple

The surface parameter if successful.

None

On error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select surface")

if obj:

    normalized = (0.5, 0.5)

    print "Normalized parameter: ", normalized

    parameter = rs.SurfaceParameter(obj, normalized)

    print "Surface parameter: ", parameter

Also See

SurfaceDomain

SurfaceNormalizedParameter