brepjs API Reference
    Preparing search index...

    Function positionOnCurve

    • Position a shape at a point along a spine curve with Frenet frame orientation.

      The shape is translated and rotated so its origin aligns with the curve point and its Z axis aligns with the curve tangent at the given parameter.

      Parameters

      • shape: Shape3D

        The shape to position.

      • spine: Edge | Wire

        The spine curve (Edge or Wire) to position along.

      • param: number

        Normalized parameter (0 = start, 1 = end).

      Returns Result<Shape3D>

      The repositioned shape.