Bitbybit Docs
    Preparing search index...

    Class OCCTKeysDin

    DIN 6885 form A parallel keys made for their shaft, in the unit asked for: bars with round ends, as wide and high as the standard gives for the shaft's diameter. Sunk the shaft's keyway depth below its surface, a key also serves as the tool that cuts its keyway.

    Index

    Constructors

    keys

    • Makes a DIN 6885 form A parallel key: a bar with round ends, as wide and high as the standard gives for a shaft of shaftDiameter, lying along the frame's direction on its origin.

      Sunk the shaft's keyway depth below the shaft's surface, the key also serves as the tool that cuts that keyway.

      Parameters

      • inputs: DinParallelKeyDto

        The shaft's diameter, the key's length, the unit and the frame

      Returns Promise<TopoDSShapePointer>

      A new solid

      const key = await bitbybit.occt.parts.mechanical.keys.din.parallelKey({ shaftDiameter: 25, length: 28 });
      
    • Makes a parallel key as parallelKey does and names the role each face plays.

      The roles bottom, top, side and end (the round ends) list face indexes as shapes.face.getFaces numbers them. The bottom frame is the input frame.

      Parameters

      • inputs: DinParallelKeyDto

        The shaft's diameter, the key's length, the unit and the frame

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The key, the faces each role names and its bottom

      const { shape, roles } = await bitbybit.occt.parts.mechanical.keys.din.parallelKeyWithRoles({ shaftDiameter: 25, length: 28 });