Skip to content

base_bgtk.scad

pinkfish edited this page Nov 12, 2024 · 24 revisions

LibFile: 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>

File Contents

Constant: m_piece_wiggle_room

Description:

How many mm to use as gaps for when things join.


Constant: SHAPE_TYPE_DENSE_HEX

Description:

Creates a shape with a dense hexes, so they overlap.


Constant: SHAPE_TYPE_DENSE_TRIANGLE

Description:

Creates a shape with a dense triangles, so they overlap.


Constant: SHAPE_TYPE_CIRCLE

Description:

Creates a shape with a circles.


Constant: SHAPE_TYPE_HEX

Description:

Creates a shape with a hexes.


Constant: SHAPE_TYPE_OCTOGON

Description:

Creates a shape with a octogons.


Constant: SHAPE_TYPE_TRIANGLE

Description:

Creates a shape with a triangle.


Constant: SHAPE_TYPE_NONE

Description:

Empty shape, no space filling.


Constant: SHAPE_TYPE_SQUARE

Description:

Layout a nice set of squares.


Constant: SHAPE_TYPE_ROUNDED_SQUARE

Description:

Layout a nice set of rounded squares.


Constant: SHAPE_TYPE_HILBERT

Description:

Layout a nice hilbert curve.


Constant: SHAPE_TYPE_CLOUD

Description:

Makes a nice cloud shape.


Clone this wiki locally