-
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 default_label_font) |
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);
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: