add_bearing
Create a fit-envelope solid for a deep-groove ball bearing from a standard designation or explicit bore, OD, and width, sizing the shaft, housing bore, and shoulder spacing.
Instructions
Add a deep-groove ball bearing as an assembly envelope solid: an annular ring (outer-diameter cylinder minus bore cylinder) of the given width, axis along +Z. Balls/races are not modeled — this is the fit envelope a coordinator needs to size the shaft, the housing bore, and the shoulder spacing.
Specify dimensions ONE of two ways:
designation: a standard metric series code, looked up in a built-in table. Known: "608", "623", "624", "625", "626", "688", "6000", "6200", "6800", "6900". (e.g. "608" -> bore 8, OD 22, width 7 mm.)
bore + outer_diameter + width: explicit dims in mm (all three required). Explicit values override a designation's table values when both are given.
bore: inner-bore diameter mm (sizes the shaft). outer_diameter: OD mm (sizes the housing bore). width: axial length mm (shoulder spacing). placement: optional [x, y, z] mm translation of the bearing's near face.
seals: open (default) | RS | 2RS | RZ | 2RZ | Z | 2Z. It changes no geometry — the envelope is identical — but it IS part of the orderable identity: 608, 608-2Z and 608-2RS are three different purchases with different drag, speed limits and prices. It is folded into the canonical designation stamped on the part ("608-2RS").
A bearing built from raw bore/OD/width with NO designation is a dimensional envelope, not a purchasable part, and is deliberately left undesignated rather than given a made-up catalog number.
Raises ValueError if the designation is unknown and dims are incomplete, or if outer_diameter <= bore.
Returns {handle, name, designation, bore, outer_diameter, width, volume,
orderable, catalog}. handle starts "bearing_". designation is None when built
from explicit dims; orderable is the designation card, whose own designation
carries the seal suffix; catalog is the off-the-shelf verdict (stocked or not,
None for an undesignated envelope).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bore | No | ||
| name | No | Bearing | |
| seals | No | open | |
| width | No | ||
| placement | No | ||
| designation | No | ||
| outer_diameter | No |