Bitbybit Docs
    Preparing search index...

    Class WiresBetweenSubdividedPointsOfWiresAndEdgesDto<T> (Inputs.OCCT)

    Wires or edges, a division count and wire options for shapes.wire.createWiresBetweenSubdividedPointsOfWiresAndEdges, which connects matching division points like the rungs of a ladder.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shapes: T[]

    Two or more wires or edges, in the order their points are joined.

    undefined
    
    nrOfDivisions?: number

    How many steps each shape is divided into; one rung more than that is drawn, the ends included.

    10
    

    1

    Infinity

    1

    divideByEqualDistance?: boolean

    When true, the division points are spaced by length along each shape; when false they follow the curves' parameters, which can be uneven.

    false
    

    Whether each rung is a polyline of straight segments or a smooth interpolated curve.

    polyline
    
    closed?: boolean

    When true, each rung loops back to its first point: a polygon, or a periodic curve for the interpolated kind.

    false
    
    tolerance?: number

    How far an interpolated rung may stray from its points, in model units; unused for polylines.

    1e-7
    

    0

    Infinity

    0.00001