Skip to content

Navigation Menu

Sign in
Sign up

ball_bearings.scad

Adrian Mariano edited this page Aug 26, 2026 · 1 revision

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()

Usage:

  • ball_bearing(trade_size, [id=], [od=], [width=], [shield=], [flange=], [fd=], [fw=], [rounding=], [anchor=], [spin=], [orient=]) [ATTACHMENTS];

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()

Usage:

  • info = ball_bearing_info(trade_size);

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.

Indices

Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials

List of Files:

Basic Modeling:

Advanced Modeling:

Math:

Data Management:

Threaded Parts:

Parts:

Footnotes:

STD = Included in std.scad

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /