Bitbybit Docs
    Preparing search index...

    Class InterpolationDto (Inputs.OCCT)

    Points and fitting options for shapes.wire.interpolatePoints, which draws a smooth curve through every point.

    Index

    Constructors

    Properties

    points: Point3[]

    The points the curve passes through, in order.

    undefined
    
    periodic: boolean

    When true, the curve closes into a loop that is smooth across the seam.

    false
    
    tolerance: number

    How far the curve may stray from the points, in model units.

    1e-7
    

    0

    Infinity

    0.00001

    parametrization?: bSplineParametrizationEnum

    How the curve is spaced between points: chord length by default, centripetal to resist cusps and overshoot with uneven points, or uniform.

    chordLength
    
    startTangent?: Vector3

    A direction the curve must leave the first point in; only for open curves.

    undefined
    

    true

    endTangent?: Vector3

    A direction the curve must arrive at the last point in; only for open curves.

    undefined
    

    true

    tangents?: Vector3[]

    One direction per point that the curve must follow there, with undefined entries left free; when given, the start and end tangents are ignored.

    undefined
    

    true