Bitbybit Docs
    Preparing search index...

    Class OCCTFastenersIso

    ISO metric fasteners made from their ISO sizes, in the unit asked for: cap screws with a hexagon recess in a round head (ISO 4762), hexagon bolts (ISO 4017 and 4014), nuts (ISO 4032), plain washers (ISO 7089 and 7090) and set screws (ISO 4026 to 4029). Threads are cosmetic, a face of their own named thread, unless a cap screw or bolt models them; each part has a twin that names its faces.

    Index

    Constructors

    fasteners

    • Makes an ISO 4762 cap screw: a round head with a hexagon recess for a key, and a shank threaded from the tip for the length the standard gives, or to the head on a shorter screw.

      The head sits on the frame's origin and rises along its normal; the shank runs the other way. modelledThread models the thread.

      Parameters

      • inputs: IsoSocketHeadCapScrewDto

        The size, the length under the head, whether the thread is modelled, the unit and the frame

      Returns Promise<TopoDSShapePointer>

      A new solid

      const screw = await bitbybit.occt.parts.mechanical.fasteners.iso.socketHeadCapScrew({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m5, length: 20 });
      
    • Makes a cap screw as socketHeadCapScrew does and names the role each face plays.

      The roles head, recess, seat (under the head), shank, thread and end (the tip) list face indexes as shapes.face.getFaces numbers them; a screw threaded to its head has no shank. The seat frame is the input frame.

      Parameters

      • inputs: IsoSocketHeadCapScrewDto

        The size, the length under the head, whether the thread is modelled, the unit and the frame

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The screw, the faces each role names and its seat

      const { shape, roles, frames } = await bitbybit.occt.parts.mechanical.fasteners.iso.socketHeadCapScrewWithRoles({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m5, length: 20 });
      
    • Makes a hexagon head bolt with chamfered top corners: threaded to the head after ISO 4017, or after ISO 4014 only for the length the standard gives when fullyThreaded is false.

      The head sits on the frame's origin and rises along its normal, a flat facing the frame's direction; the shank runs the other way. modelledThread cuts the thread.

      Parameters

      • inputs: IsoHexBoltDto

        The size, the length under the head, how far it is threaded, whether the thread is modelled, the unit and the frame

      Returns Promise<TopoDSShapePointer>

      A new solid

      const bolt = await bitbybit.occt.parts.mechanical.fasteners.iso.hexBolt({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8, length: 40, fullyThreaded: false, modelledThread: true });
      
    • Makes a hexagon head bolt as hexBolt does and names the role each face plays.

      The roles head, seat (under the head), shank, thread and end (the tip) list face indexes as shapes.face.getFaces numbers them; a bolt threaded to its head has no shank. The seat frame is the input frame.

      Parameters

      • inputs: IsoHexBoltDto

        The size, the length under the head, how far it is threaded, the unit and the frame

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The bolt, the faces each role names and its seat

      const { shape, roles } = await bitbybit.occt.parts.mechanical.fasteners.iso.hexBoltWithRoles({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8, length: 40 });
      
    • Makes an ISO 4032 hexagon nut, its corners chamfered on both sides and its hole at the thread's nominal diameter, so a screw of its size passes through without overlapping it.

      Its bearing face lies on the frame's origin and it rises along the normal, a flat facing the frame's direction.

      Parameters

      Returns Promise<TopoDSShapePointer>

      A new solid

      const nut = await bitbybit.occt.parts.mechanical.fasteners.iso.hexNut({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8 });
      
    • Makes a hexagon nut as hexNut does and names the role each face plays.

      The roles seat (the bearing face), top, side and thread (the hole) list face indexes as shapes.face.getFaces numbers them. The seat frame is the input frame.

      Parameters

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The nut, the faces each role names and its seat

      const { shape, roles } = await bitbybit.occt.parts.mechanical.fasteners.iso.hexNutWithRoles({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8 });
      
    • Makes a plain washer: flat after ISO 7089, or after ISO 7090 with its outside chamfered on the face away from the seat.

      Its bearing face lies on the frame's origin and it rises along the normal.

      Parameters

      • inputs: IsoWasherDto

        The size of the screw it goes under, whether it is chamfered, the unit and the frame

      Returns Promise<TopoDSShapePointer>

      A new solid

      const washer = await bitbybit.occt.parts.mechanical.fasteners.iso.washer({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8 });
      
    • Makes a plain washer as washer does and names the role each face plays.

      The roles seat (the bearing face), top, bore and rim (the chamfer too) list face indexes as shapes.face.getFaces numbers them. The seat frame is the input frame.

      Parameters

      • inputs: IsoWasherDto

        The size of the screw it goes under, whether it is chamfered, the unit and the frame

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The washer, the faces each role names and its seat

      const { shape, roles } = await bitbybit.occt.parts.mechanical.fasteners.iso.washerWithRoles({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m8 });
      
    • Makes a set screw with a hexagon recess, threaded its whole length, its point flat, cone, dog or cup as ISO 4026 to 4029 give them, the recess as deep as they ask of its length.

      Its recessed end lies on the frame's origin and it runs against the normal.

      Parameters

      • inputs: IsoSetScrewDto

        The size, the length, the point, the unit and the frame

      Returns Promise<TopoDSShapePointer>

      A new solid

      const grub = await bitbybit.occt.parts.mechanical.fasteners.iso.setScrew({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m4, length: 6, point: Bit.Inputs.Engineering.isoSetScrewPointEnum.cone });
      
    • Makes a set screw as setScrew does and names the role each face plays.

      The roles top (the recessed end), recess, thread and end (the point) list face indexes as shapes.face.getFaces numbers them. The top frame is the input frame.

      Parameters

      • inputs: IsoSetScrewDto

        The size, the length, the point, the unit and the frame

      Returns Promise<ShapeWithRoles<TopoDSShapePointer>>

      The set screw, the faces each role names and its top

      const { shape, roles } = await bitbybit.occt.parts.mechanical.fasteners.iso.setScrewWithRoles({ size: Bit.Inputs.Engineering.isoThreadSizeEnum.m4, length: 6 });