-
Notifications
You must be signed in to change notification settings - Fork 4
labels.scad
This file has all the shared label pieces for the system.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Building blocks for making labels.
Topics: Label
Usage:
- MakeStripedGrid(20,50);
Description:
Creates a background striped grid, this is used in the label space generation.
Arguments:
| By Position | What it does |
|---|---|
width |
width of the grid space |
length |
length of the grid space |
bar_width |
width of the bars (default 1) |
Example 1:
include <boardgame_toolkit.scad>
MakeStripedGrid(20, 50);
Topics: Label
Usage:
- Make3dStripedGrid(20,50);
Description:
Creates a background striped grid, this is used in the label space generation.
Arguments:
| By Position | What it does |
|---|---|
width |
width of the grid space |
length |
length of the grid space |
bar_width_top |
width of the bars (default 1) |
bar_width_bottom |
height of the bar (default bar_width_top) |
Example 1:
include <boardgame_toolkit.scad>
Make3dStripedGrid(width = 20, length = 50, height = 1);
Example 2:
include <boardgame_toolkit.scad>
Make3dStripedGrid(width = 20, length = 50, height = 0.2, bar_width_bottom = 1);
Topics: Label
Usage:
- MakeStripedLidLabel(20, 80, 2, label="Australia", border = 2, offset = 4);
Description:
Makes a label inside a striped grid to use in the lid. It makes a label with a border and a striped grid in the background to keep the label in plave.
Arguments:
| By Position | What it does |
|---|---|
width |
width of the label section |
length |
length of the label section |
lid_thickness |
height of the lid/label |
label |
the text of the label |
border |
how wide the border is around the label (default 2) |
offset |
how far in from the sides the text should be (default 4) |
font |
the font to use for the text (default "Stencil Std:style=Bold") |
radius |
the radius of the corners on the label section (default 5) |
full_height |
full height of the lid (default false) |
Example 1:
include <boardgame_toolkit.scad>
MakeStripedLidLabel(width = 20, length = 80, lid_thickness = 2, label = "Australia");
Example 2:
include <boardgame_toolkit.scad>
MakeStripedLidLabel(width = 20, length = 80, lid_thickness = 2, label = "Australia", full_height = true);
Usage: FingerHoldBase(10, 20);
Description:
Creates a hole in the floor of the box with a rounding over at the top to allow for picking up of cards and other things. Center on the side of the wall and the radius of the main section is the offset to the middle.
Arguments:
| By Position | What it does |
|---|---|
radius |
radius of the hole |
height |
height of the wall |
wall_thickness |
this is used as an offset to move in from the wall by this amount to cut through it (default 2) |
rounding_radius |
rounding radius at the top of the hole (default 3) |
orient |
orintation of the hole, from BSOL2 (default UP) |
spin |
spin of the hole, from BSOL2 (default 0) |
anchor |
location to anchor everything (from BSOL2) |
Example 1:
include <boardgame_toolkit.scad>
FingerHoleBase(10, 20);
Example 2:
include <boardgame_toolkit.scad>
FingerHoleBase(10, 20, rounding_radius = 7);
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: