mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-28 07:49:45 +00:00
Page:
sliders.scad
Pages
AlphaIndex
CheatSheet
Home
TOC
Topics
Tutorial Attachments
Tutorial Beziers_for_Beginners
Tutorial Distributors
Tutorial FractalTree
Tutorial Mutators
Tutorial Paths
Tutorial Rounding_the_Cube
Tutorial Shapes2d
Tutorial Shapes3d
Tutorial Transforms
Tutorial VNF
Tutorials
attachments.scad
ball_bearings.scad
beziers.scad
bottlecaps.scad
color.scad
comparisons.scad
constants.scad
coords.scad
cubetruss.scad
distributors.scad
drawing.scad
fnliterals.scad
gears.scad
geometry.scad
hinges.scad
joiners.scad
linalg.scad
linear_bearings.scad
lists.scad
masks2d.scad
masks3d.scad
math.scad
miscellaneous.scad
modular_hose.scad
nema_steppers.scad
nurbs.scad
partitions.scad
paths.scad
polyhedra.scad
regions.scad
rounding.scad
screw_drive.scad
screws.scad
shapes2d.scad
shapes3d.scad
skin.scad
sliders.scad
strings.scad
structs.scad
threading.scad
transforms.scad
trigonometry.scad
tripod_mounts.scad
turtle3d.scad
utility.scad
vectors.scad
version.scad
vnf.scad
walls.scad
wiring.scad
No results
Table of Contents
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: sliders.scad
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>
File Contents
Section: Modules
Module: slider()
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);
Module: rail()
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);
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