Skip to content

linear_bearings.scad

Revar Desmera edited this page Dec 14, 2024 · 1 revision

LibFile: linear_bearings.scad

Mounts and models for LMxUU style linear bearings.

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

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

File Contents

  1. Section: Generic Linear Bearings

  2. Section: lmXuu Linear Bearings

    • lmXuu_housing() – Creates a standardized LM*UU linear bearing mount clamp. [Geom]
    • lmXuu_bearing() – Creates a standardized LM*UU linear bearing cartridge. [Geom]
  3. Section: lmXuu Linear Bearing Info

    • lmXuu_info() – Returns the sizes of a standard LM*UU linear bearing cartridge.

Section: Generic Linear Bearings

Module: linear_bearing_housing()

Synopsis: Creates a generic linear bearing mount clamp. [Geom]

Topics: Parts, Bearings

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

Usage:

  • linear_bearing_housing(d, l, tab, gap, wall, tabwall, screwsize) [ATTACHMENTS];

Description:

Creates a model of a clamp to hold a generic linear bearing cartridge.

Arguments:

By Position What it does
d Diameter of linear bearing. (Default: 15)
l Length of linear bearing. (Default: 24)
tab Clamp tab height. (Default: 8)
tabwall Clamp Tab thickness. (Default: 5)
wall Wall thickness of clamp housing. (Default: 3)
gap Gap in clamp. (Default: 5)
screwsize Size of screw to use to tighten clamp. (Default: 3)
By Name What it does
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:

linear\_bearing\_housing() Example 1
include <BOSL2/std.scad>
include <BOSL2/linear_bearings.scad>
linear_bearing_housing(d=19, l=29, wall=2, tab=8, screwsize=2.5);

Module: linear_bearing()

Synopsis: Creates a generic linear bearing cartridge. [Geom]

Topics: Parts, Bearings

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

Usage:

  • linear_bearing(l, od, id, length) [ATTACHMENTS];

Description:

Creates a rough model of a generic linear ball bearing cartridge.

Arguments:

By Position What it does
l / length The length of the linear bearing cartridge.
od The outer diameter of the linear bearing cartridge.
id The inner diameter of the linear bearing cartridge.
By Name What it does
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:

linear\_bearing() Example 1
include <BOSL2/std.scad>
include <BOSL2/linear_bearings.scad>
linear_bearing(l=24, od=15, id=8);




Section: lmXuu Linear Bearings

Module: lmXuu_housing()

Synopsis: Creates a standardized LM*UU linear bearing mount clamp. [Geom]

Topics: Parts, Bearings

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

Usage:

  • lmXuu_housing(size, tab, gap, wall, tabwall, screwsize) [ATTACHMENTS];

Description:

Creates a model of a clamp to hold a standard sized lmXuu linear bearing cartridge.

Arguments:

By Position What it does
size Standard lmXuu inner size.
tab Clamp tab height. Default: 7
tabwall Clamp Tab thickness. Default: 5
wall Wall thickness of clamp housing. Default: 3
gap Gap in clamp. Default: 5
screwsize Size of screw to use to tighten clamp. Default: 3
By Name What it does
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:

lmXuu\_housing() Example 1
include <BOSL2/std.scad>
include <BOSL2/linear_bearings.scad>
lmXuu_housing(size=10, wall=2, tab=6, screwsize=2.5);




Module: lmXuu_bearing()

Synopsis: Creates a standardized LM*UU linear bearing cartridge. [Geom]

Topics: Parts, Bearings

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

Usage:

  • lmXuu_bearing(size) [ATTACHMENTS];

Description:

Creates a model of an lmXuu linear ball bearing cartridge.

Arguments:

By Position What it does
size Standard lmXuu inner size.
By Name What it does
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:

lmXuu\_bearing() Example 1
include <BOSL2/std.scad>
include <BOSL2/linear_bearings.scad>
lmXuu_bearing(size=10);




Section: lmXuu Linear Bearing Info

Function: lmXuu_info()

Synopsis: Returns the sizes of a standard LM*UU linear bearing cartridge.

Topics: Parts, Bearings

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

Usage:

  • diam_len = lmXuu_info(size);

Description:

Get dimensional info for a standard metric lmXuu linear bearing cartridge. Returns [DIAM, LENGTH] for the cylindrical cartridge.

Arguments:

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

Clone this wiki locally