MAXScript Language Reference > 3ds Max Objects > NURBS > The NURBS Classes > NURBSSurface Classes >

# NURBSRuledSurface : NURBSSurface

This class defines a dependent Ruled surface. A Ruled surface is generated from two curve sub-objects. It lets you use curves to design the two opposite borders of a surface.

Constructors

    NURBSRuledSurface [<property>:<val>]...

Any of the object's properties may be set via optional keyword arguments on the constructor.

    getObject <nurbsset> <index>

Properties

    <nurbsruledsurface>.parent1 : integer

The 1 st parent curve by NURBSet index.

    <nurbsruledsurface>.parent1ID : integer

The 1 st parent curve by NURBSId.

    <nurbsruledsurface>.parent2 : integer

The 2 nd parent curve by NURBSet index.

    <nurbsruledsurface>.parent2ID : integer

The 2 nd parent curve by NURBSId.

    <nurbsruledsurface>.flip1 : boolean

Controls the matching of parent curve direction when creating the Ruled surface. For example, normally when you create a Ruled surface between two parent curves you don't want a 'bow tie' surface (one with the ends rotated 180 degrees so it crosses on itself in the middle). If you simply match the parent direction you'll get a 'bow tie' surface. To prevent this you use this property to set a state indicating that one or the other should be flipped before it's used. In this way, when the ruled surface is created, a 'bow tie' won't occur. If true , the 1 st parent’s curve direction will be flipped; if false the 1 st parent’s curve direction will not be flipped.

    <nurbsruledsurface>.flip2 : boolean

If true , the 2 nd parent’s curve direction will be flipped; if false the 2 nd parent’s curve direction will not be flipped.

    <nurbsruledsurface>.curveStartPoint1 : float

The start point on the 1 st parent curve. This value is only applicable if the curve is closed.

    <nurbsruledsurface>.curveStartPoint2 : float

The start point on the 2 nd parent curve. This value is only applicable if the curve is closed.

#### See Also

- NURBSSurface

- NURBSObject

- Value Common Properties, Operators, and Methods