bushing - parametric bushings

The bushing module provides generic parametric bushings whose dimensions are supplied directly rather than selected from an ISO or DIN table.

Hex-Flanged Eccentric Bushings

HexFlangedEccentricBushing creates a cylindrical mounting body with a wrenchable hex flange and an eccentric through bore. hex_size is measured across flats. body_length excludes the flange, so the overall length is body_length + flange_height.

The body and flange are centered on the object’s local Z axis and the bore is offset in the positive X direction. The bottom rigid joint is at the center of the underside of the hex flange. The top rigid joint is on the eccentric bore axis at the top of the flange.

from bd_warehouse.bushing import HexFlangedEccentricBushing

bushing = HexFlangedEccentricBushing(
    bore_diameter=8,
    body_diameter=12,
    body_length=16,
    flange_height=4,
    hex_size=17,
    eccentricity=1,
)

This class describes a geometric component family and does not claim compliance with an ISO, DIN, or manufacturer dimensional standard.

class HexFlangedEccentricBushing(*args, **kwargs)[source]

A cylindrical eccentric bushing with a wrenchable hex flange.

The cylindrical body and hex flange share the local Z axis. The bore is displaced from that axis by eccentricity along +X.

This is a generic catalog-style component, not an implementation of an ISO, DIN, or other dimensional standard.

Parameters:
  • bore_diameter (float) – Diameter of the through bore.

  • body_diameter (float) – Diameter of the cylindrical mounting body.

  • body_length (float) – Length of the cylindrical body below the flange.

  • flange_height (float) – Axial thickness of the hex flange.

  • hex_size (float) – Width across flats of the hex flange.

  • eccentricity (float) – Distance between the bore and body axes.

  • rotation (RotationLike, optional) – object rotation. Defaults to (0, 0, 0).

  • align (Align | tuple[Align, Align, Align], optional) – object alignment. Defaults to Align.NONE.

  • mode (Mode, optional) – combination mode. Defaults to Mode.ADD.

Variables:
  • overall_length – Sum of body_length and flange_height.

  • joints – An outer_center joint at the center of the underside of the hex flange and an ecc_top_center joint at the eccentric bore center on top.

Raises:

ValueError – If a dimension is invalid or the bore breaks through the cylindrical body.