Bitbybit Docs
    Preparing search index...

    Class PointsOnWireAtPatternOfLengthsDto<T> (Inputs.OCCT)

    A wire and a repeating pattern of gaps for shapes.wire.pointsOnWireAtPatternOfLengths.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • shape: T
      • Optionallengths: number[]
      • OptionaltryNext: boolean
      • OptionalincludeFirst: boolean
      • OptionalincludeLast: boolean

      Returns PointsOnWireAtPatternOfLengthsDto<T>

    Properties

    shape: T

    The wire to place points along.

    undefined
    
    lengths: number[]

    The gaps between points in model units, applied in turn from the start and repeated until the wire runs out.

    undefined
    
    tryNext: boolean

    When true, one more point is asked for at the next gap beyond the last one that fit.

    false
    
    includeFirst: boolean

    When true, the point at the start of the wire is kept.

    false
    
    includeLast: boolean

    When true, the end point of the wire is appended whatever the pattern.

    false