ProtoTwin API
    Preparing search index...

    Class Surface

    Represents a 3D surface defined by a centerline curve and a fixed width.

    The surface is defined by extruding a line segment of the specified width, aligned with the curve's bitangent, along the centerline curve. The line segment is centered on the centerline, meaning half the width extends to each side of the curve.

    Index

    Constructors

    Properties

    Constructors

    • Constructor.

      Parameters

      • centerline: Curve

        The centerline curve.

      • width: number

        The (fixed) width.

      Returns Surface

    Properties

    centerline: Curve

    The centerline curve.

    width: number

    The (fixed) width.