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
-
ball_bearing()
– Creates a standardized ball bearing assembly. [Geom]
-
ball_bearing_info()
– Returns size info for a standardized ball bearing assembly.
Section: Ball Bearing Models
Module: ball_bearing()
Synopsis: Creates a standardized ball bearing assembly. [Geom]
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:
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("608", $fn=72);
Example 2:
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("608ZZ", $fn=72);
Example 3:
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("R8", $fn=72);
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:
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("MF105ZZ", $fn=72);
Example 6:
include <BOSL2/std.scad>
include <BOSL2/ball_bearings.scad>
ball_bearing("F688ZZ", $fn=72);
Example 7: With flange, shield, and rounded edges.
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.
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. |
Indices
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
List of Files:
Basic Modeling:
- constants.scad STD
- transforms.scad STD
- attachments.scad STD
- shapes2d.scad STD
- shapes3d.scad STD
- drawing.scad STD
- masks2d.scad STD
- masks3d.scad STD
- distributors.scad STD
- color.scad STD
- partitions.scad STD
- miscellaneous.scad STD
Advanced Modeling:
- paths.scad STD
- regions.scad STD
- skin.scad STD
- vnf.scad STD
- beziers.scad
- nurbs.scad
- rounding.scad
- turtle3d.scad
Math:
- math.scad STD
- linalg.scad STD
- vectors.scad STD
- coords.scad STD
- geometry.scad STD
- trigonometry.scad STD
Data Management:
- version.scad STD
- comparisons.scad STD
- lists.scad STD
- utility.scad STD
- strings.scad STD
- structs.scad STD
- fnliterals.scad
Threaded Parts:
Parts:
- ball_bearings.scad
- cubetruss.scad
- gears.scad
- hinges.scad
- joiners.scad
- linear_bearings.scad
- modular_hose.scad
- nema_steppers.scad
- polyhedra.scad
- sliders.scad
- tripod_mounts.scad
- walls.scad
- wiring.scad
Footnotes:
STD = Included in std.scad