/ BOSL2 Public

Revar Desmera edited this page Mar 3, 2024 · 1 revision

Models for standard ball bearing cartridges.

To use, add the following lines to the beginning of your file:

``````include <BOSL2/std.scad>
``````

File Contents

1. Section: Ball Bearing Models

2. Section: Ball Bearing Info

Section: Ball Bearing Models

Module: ball_bearing()

Synopsis: Creates a standardized ball bearing assembly. [Geom]

Topics: Parts, Bearings

Description:

Creates a model of a ball bearing assembly.

Arguments:

By Position What it does
`trade_size` String name of a standard ball bearing trade size. ie: "608", "6902ZZ", or "R8"
`id` Inner diameter of ball bearing assembly.
`od` Outer diameter of ball bearing assembly.
`width` Width of ball bearing assembly.
`shield` Does the ball bearing assembly have a shield.
`flange` Does the ball bearing assembly have a flange.
`fd` Diameter of the flange (only used if `flange=true`).
`fw` Width of the flange (only used if `flange=true`).
`anchor` Translate so anchor point is at origin (0,0,0). See anchor. Default: `CENTER`
`spin` Rotate this many degrees around the Z axis after anchor. See spin. Default: `0`
`orient` Vector to rotate top towards, after spin. See orient. Default: `UP`

Example 1:

``````include <BOSL2/std.scad>
ball_bearing("608", \$fn=72);
``````

Example 2:

``````include <BOSL2/std.scad>
ball_bearing("608ZZ", \$fn=72);
``````

Example 3:

``````include <BOSL2/std.scad>
ball_bearing("R8", \$fn=72);
``````

Example 4:

``````include <BOSL2/std.scad>
ball_bearing(id=12,od=32,width=10,shield=false, \$fn=72);
``````

Example 5:

``````include <BOSL2/std.scad>
ball_bearing("MF105ZZ", \$fn=72);
``````

Example 6:

``````include <BOSL2/std.scad>
ball_bearing("F688ZZ", \$fn=72);
``````

Example 7:

``````include <BOSL2/std.scad>
ball_bearing(id=12,od=24,width=6,shield=true, flange=true, fd=26.5, fw=1.5, \$fn=72);
``````

Section: Ball Bearing Info

Function: ball_bearing_info()

Synopsis: Returns size info for a standardized ball bearing assembly.

Topics: Parts, Bearings

Description:

Get dimensional info for a standard metric ball bearing cartridge. Returns `[SHAFT_DIAM, OUTER_DIAM, WIDTH, SHIELDED, FLANGED, FLANGE_DIAM, FLANGE_WIDTH]` for the cylindrical cartridge.

Arguments:

By Position What it does
`size` Inner diameter of lmXuu bearing, in mm.

Basic Modeling:

Math:

Data Management: