Bitbybit Docs
    Preparing search index...

    Class ChamferDto<T> (Inputs.OCCT)

    A shape, a distance and optional edge indexes for fillets.chamferEdges; distanceList pairs with indexes when both are given.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldistance: number
      • OptionaldistanceList: number[]
      • Optionalindexes: number[]

      Returns ChamferDto<T>

    Properties

    shape: T

    The shape whose edges are beveled.

    undefined
    
    distance?: number

    How far the bevel cuts back from the edge in model units, used for every selected edge unless distanceList is given.

    0.1
    

    0

    Infinity

    true

    0.1

    distanceList?: number[]

    One distance per entry of indexes, in the same order; needs indexes.

    undefined
    

    true

    indexes?: number[]

    Which edges to bevel, counted from 0 in the order shapes.edge.getEdges lists them; leave it out to bevel them all.

    undefined
    

    true