-
Notifications
You must be signed in to change notification settings - Fork 4
dividers.scad
This file has all the modules needed to generate dividers.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Topics: Dividers
Usage: MakeDividerTab(10, 20, 1);
Description:
Makes a divider tab tab section with nice curves in and out of the tab. Any children to this are diffed out of the tab.
Arguments:
| By Position | What it does |
|---|---|
tab_height |
height of the tab |
Example 1:
include <boardgame_toolkit.scad>
MakeDividerTab(10, 20, 1);
Example 2:
include <boardgame_toolkit.scad>
// Divider tab with a svg image in it.
MakeDividerTab(10, 20, 1) translate([ 6, 5, -2 ]) mirror([ 0, 1, 0 ])
linear_extrude(height = 4) offset(delta = 0.001) scale(0.04) import("svg/australia.svg");
Topics: Dividers
Usage: MakeDivider(10, 20, 1, 5, 3, 0);
Description:
Makes a divider with a tab section up the top. First child is a diff to the tab, the rest is a diff to the main body of the tab.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, thickness] size of the divider |
tab_height |
height of the tab |
tab_radius |
the radius of the curve to use |
num_tabs |
number of tabs across the top |
tab_position |
the position number of the tab, 0..num_tabs-1 |
tab_length |
length of the tab (default calculated) |
hole_offset |
offset for the holes in the divider (default 6) |
Example 1:
include <boardgame_toolkit.scad>
MakeDivider(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 0, tab_radius = 2);
Topics: Dividers
Usage: MakeDividerWithText(10, 20, 1, 5, 3, 0);
Description:
Makes a divider with a tab section up the top. First child is a diff to the tab, the rest is a diff to the main body of the tab.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, thickness] size of the divider |
tab_height |
height of the tab |
text_str |
the text string to use |
num_tabs |
number of tabs across the top |
tab_position |
the position number of the tab, 0..num_tabs-1 |
tab_radius |
the radius of the curve to use |
tab_length |
length of the tab (default calculated) |
text_offset |
how far from the sides of the tab to put the text |
text_height |
how hight the text is, (default tab_height - text_offset) |
text_depth |
how deep to cut the text (default thickness + 1) |
font |
the font to use (default default_label_font) |
Example 1:
include <boardgame_toolkit.scad>
MakeDividerWithText(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 0, text_str = "Frog");
Example 2:
include <boardgame_toolkit.scad>
MakeDividerWithText(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 2, text_str = "Croak", text_depth=0.5);
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
Boxes:
- cap_box.scad
- cap_box_polygon.scad
- filament_hinge_box.scad
- hinge_box.scad
- inset_box.scad
- magnetic_box.scad
- no_lid.scad
- sliding_box.scad
- sliding_catch_box.scad
- slipover_box.scad
- slipover_path_box.scad
Basics:
Dividers:
Shapes:
Slicing:
CardLibrary:
Miscellaneous: