-
Notifications
You must be signed in to change notification settings - Fork 4
base_bgtk.scad
This file has all the modules needed to generate varioius inserts for board games. It makes the generation of the inserts simpler by creating a number of useful base modules for making boxes and lids of various types specific to board game inserts. Specifically it makes tabbed lids and sliding lids easily.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
m_piece_wiggle_roomdefault_lid_thicknessdefault_wall_thicknessdefault_floor_thicknessdefault_slicing_layer_heightdefault_label_fontdefault_label_solid_backgrounddefault_material_colourdefault_label_colourdefault_label_background_colourDefaultValue()SHAPE_TYPE_DENSE_HEXSHAPE_TYPE_DENSE_TRIANGLESHAPE_TYPE_CIRCLESHAPE_TYPE_HEXSHAPE_TYPE_OCTOGONSHAPE_TYPE_TRIANGLESHAPE_TYPE_NONESHAPE_TYPE_SQUARESHAPE_TYPE_SUPERSHAPESHAPE_TYPE_HILBERTSHAPE_TYPE_CLOUDSHAPE_TYPE_PENTAGON_R1SHAPE_TYPE_PENTAGON_R2SHAPE_TYPE_PENTAGON_R3SHAPE_TYPE_PENTAGON_R4SHAPE_TYPE_PENTAGON_R5SHAPE_TYPE_PENTAGON_R6SHAPE_TYPE_PENTAGON_R7SHAPE_TYPE_PENTAGON_R8SHAPE_TYPE_PENTAGON_R9SHAPE_TYPE_PENTAGON_R10SHAPE_TYPE_PENTAGON_R11SHAPE_TYPE_PENTAGON_R12SHAPE_TYPE_PENTAGON_R13CATCH_NONECATCH_LENGTHCATCH_WIDTHDifferenceWithOffset()
Description:
How many mm to use as gaps for when things join.
Description:
The default lid thickness for all boxes.
Description:
The default wall thickness for all boxes.
Description:
The default lid thickness for all boxes.
Description:
The default font to use for labels
Description:
The default to use if the label should have a solid background or not.
Description:
The default colour to use for material when making boxes.
Description:
The default colour to use for the label when making boxes.
Description:
The default colour to use for the label background when making boxes.
Description:
Figures out the value, uses the input if it is not undefined, default if it is undefined.
Arguments:
| By Position | What it does |
|---|---|
input |
input value to check, only used if not undefined |
default |
default value to use, only used if the input is undefined. |
Description:
Creates a shape with a dense hexes, so they overlap.
Description:
Creates a shape with a dense triangles, so they overlap.
Description:
Creates a shape with a circles.
Description:
Creates a shape with a hexes.
Description:
Creates a shape with a octogons.
Description:
Creates a shape with a triangle.
Description:
Empty shape, no space filling.
Description:
Layout a nice set of squares.
Description:
Makes a nice Superformula shape.
Description:
Layout a nice hilbert curve.
Description:
Makes a nice cloud shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
Makes a nice repeating pentagon shape.
Description:
No catch associated with the lid.
Description:
Catch on the length side
Description:
Catch on the width side.
Description:
Helper function that does an offset with the size inside the difference of the object makes it easier for constructing outlines.
Arguments:
| By Position | What it does |
|---|---|
offset |
how much of an offset, -ve is inside the shape, +ve is outside the shape. |
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: