Bitbybit Docs
    Preparing search index...

    Class DivideDto<T> (Inputs.OCCT)

    A wire or edge and a division count for divideWireByParamsToPoints, divideEdgeByEqualDistanceToPoints and their siblings in shapes.wire and shapes.edge.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalnrOfDivisions: number
      • OptionalremoveStartPoint: boolean
      • OptionalremoveEndPoint: boolean

      Returns DivideDto<T>

    Properties

    shape: T

    The wire or edge to place points along.

    undefined
    
    nrOfDivisions?: number

    How many steps to divide the curve into; one more point than that is placed, the ends included.

    10
    

    1

    Infinity

    1

    removeStartPoint?: boolean

    When true, the point at the start is left out.

    false
    
    removeEndPoint?: boolean

    When true, the point at the end is left out.

    false