Bitbybit Docs
    Preparing search index...

    Class FramesAlongWireDto<T> (Inputs.OCCT)

    A wire, a count and the kind of frame for shapes.wire.framesAlongWire, frames spread evenly by length, and whether a closed wire repeats its first frame at the end.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    How the frames follow the curve.

    rotationMinimizing
    
    up?: Vector3

    The way perpendicular frames keep level with, and the first rotation-minimizing frame starts from; ignored by Frenet frames.

    [0, 0, 1]
    
    shape: T

    The wire the frames sit on.

    undefined
    
    count?: number

    How many frames, the first at the start; skipEndOnClosed decides where the last goes on a closed wire.

    10
    

    2

    Infinity

    1

    skipEndOnClosed?: boolean

    On a closed wire, leaves out the end frame, which would sit on the first, and spaces the frames evenly around the loop; open wires are unaffected.

    true