1 ball_bearings.scad
Revar Desmera edited this page 2024-12-14 02:23:46 -08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LibFile: ball_bearings.scad

Models for standard ball bearing cartridges.

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

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

File Contents

  1. Section: Ball Bearing Models

    • ball_bearing() Creates a standardized ball bearing assembly. [Geom]
  2. Section: Ball Bearing Info

Section: Ball Bearing Models

Module: ball_bearing()

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

Topics: Parts, Bearings

See Also: linear_bearing(), lmXuu_bearing(), lmXuu_housing()

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 If true, the ball bearing assembly has a shield.
flange If true, the ball bearing assembly has a flange.
fd Diameter of the flange (required if flange=true).
fw Width of the flange (required if flange=true).
rounding Edge rounding radius, if any. The outermost top and bottom edges are rounded by this amount. The edges of the inner hole are also rounded. If you set trade_size and you want edges rounded, you must set rounding yourself. This parameter has no default value because the rounding depends on manufacturer and bearing size.
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:

ball\_bearing() Example 1
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("608", $fn=72);



Example 2:

ball\_bearing() Example 2
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("608ZZ", $fn=72);



Example 3:

ball\_bearing() Example 3
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("R8", $fn=72);



Example 4:

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



Example 5:

ball\_bearing() Example 5
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("MF105ZZ", $fn=72);



Example 6:

ball\_bearing() Example 6
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("F688ZZ", $fn=72);



Example 7: With flange, shield, and rounded edges.

ball\_bearing() Example 7
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing(id=12,od=24,width=6,shield=true, flange=true, fd=26.5, fw=1.5, rounding=0.6, $fn=72);

Section: Ball Bearing Info

Function: ball_bearing_info()

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

Topics: Parts, Bearings

See Also: ball_bearing(), linear_bearing(), lmXuu_info()

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.