Bitbybit Docs
    Preparing search index...

    Class HolesDto<T> (Inputs.OCCT)

    A shape, the frames to drill at and the size of the holes for features.holes; features.counterboredHoles and features.countersunkHoles add a shaped mouth to each hole.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalframes: Bit.Inputs.Base.Frame[]
      • Optionaldiameter: number
      • Optionaldepth: number
      • OptionaltipAngle: number

      Returns HolesDto<T>

    Properties

    shape: T

    The shape to drill into.

    undefined
    
    frames: Bit.Inputs.Base.Frame[]

    One hole per frame: the origin is where the hole enters and the normal points out of the material, so the hole runs against it.

    undefined
    
    diameter?: number

    The diameter of each hole, in model units.

    1
    

    0

    true

    Infinity

    0.1

    depth?: number

    How deep each hole goes from its entry, in model units, not counting a drill point; 0 drills through the whole shape.

    0
    

    0

    Infinity

    0.1

    tipAngle?: number

    The full angle of the drill point at the bottom of a hole, in degrees: 0 leaves a flat bottom, and 118 is the point of a twist drill.

    0
    

    0

    180

    true

    1