-
Notifications
You must be signed in to change notification settings - Fork 118
sliders.scad
Revar Desmera edited this page Dec 14, 2024
·
1 revision
Simple V-groove based sliders and rails.
To use, add the following lines to the beginning of your file:
include <BOSL2/std.scad>
include <BOSL2/sliders.scad>
Synopsis: Creates a V-groove slider. [Geom]
See Also: rail()
Usage:
- slider(l, w, h, [base=], [wall=], [ang=], [$slop=]) [ATTACHMENTS];
Description:
Creates a slider to match a V-groove rail.
Arguments:
By Position | What it does |
---|---|
l |
Length (long axis) of slider. |
w |
Width of slider. |
h |
Height of slider. |
By Name | What it does |
---|---|
base |
Height of slider base. |
wall |
Width of wall behind each side of the slider. |
ang |
Overhang angle for slider, to facilitate supportless printig. |
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
|
$slop |
The printer-specific slop value to make parts fit just right. |
Example 1:
include <BOSL2/std.scad>
include <BOSL2/sliders.scad>
slider(l=30, base=10, wall=4, $slop=0.2, spin=90);
Synopsis: Creates a V-groove rail. [Geom]
See Also: slider()
Usage:
- rail(l, w, h, [chamfer=], [ang=]) [ATTACHMENTS];
Description:
Creates a V-groove rail.
Arguments:
By Position | What it does |
---|---|
l |
Length (long axis) of slider. |
w |
Width of slider. |
h |
Height of slider. |
chamfer |
Size of chamfer at end of rail. |
ang |
Overhang angle for slider, to facilitate supportless printing. |
By Name | What it does |
---|---|
anchor |
Translate so anchor point is at origin (0,0,0). See anchor. Default: BOTTOM
|
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/sliders.scad>
rail(l=100, w=10, h=10);
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
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
STD = Included in std.scad