IsSurfacePeriodic

Verifies a surface object is periodic in the specified direction.

Syntax

rhinoscriptsyntax.IsSurfacePeriodic (surface_id, direction)

rhinoscript.surface.IsSurfacePeriodic (surface_id, direction)

Parameters

surface_id

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

direction

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

Returns

Boolean

True if successful, otherwise False.

None

On error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select a surface", rs.filter.surface)

if rs.IsSurfacePeriodic(obj, 0):

    print "The surface is periodic in the U direction."

else:

    print "The surface is not periodic in the U direction."

Also See

IsSurface

IsSurfaceClosed

IsSurfacePlanar

IsSurfaceSingular

IsSurfaceTrimmed