Bitbybit Docs
    Preparing search index...

    Class FlatDto<T> (Inputs.OCCT)

    A body and a flat to cut into it, for parts.mechanical.machining.flat.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldiameter: number
      • Optionaldepth: number
      • Optionallength: number
      • Optionalframe: Bit.Inputs.Base.Frame

      Returns FlatDto<T>

    Properties

    Where the feature starts on the axis, the axis along the normal and the side it faces along the direction. Left out, the ground, facing +Y.

    undefined
    

    true

    diameter?: number

    The shaft's diameter in model units.

    8
    

    0

    true

    Infinity

    0.5

    depth?: number

    How far the flat cuts in from the shaft's surface, in model units, less than the diameter.

    0.5
    

    0

    true

    Infinity

    0.1

    length?: number

    The flat's length along the axis, in model units.

    10
    

    0

    true

    Infinity

    1

    shape: T

    The shaft to cut.

    undefined