Skip to content

CheatSheet

pinkfish edited this page Oct 7, 2024 · 49 revisions

BoardGame Insert Cheat Sheet

LibFile: boardgame_toolkit.scad

Section:

Constants: m_piece_wiggle_room SHAPE_TYPE_DENSE_HEX SHAPE_TYPE_DENSE_TRIANGLE SHAPE_TYPE_CIRCLE SHAPE_TYPE_HEX SHAPE_TYPE_OCTOGON SHAPE_TYPE_TRIANGLE SHAPE_TYPE_NONE SHAPE_TYPE_SQUARE SHAPE_TYPE_ROUNDED_SQUARE SHAPE_TYPE_HILBERT

Section: Components

RoundedBoxOnLength(100, 50, 10, 5);

RoundedBoxAllSides(30,20,10,5);

RoundedBoxGrid(20,20,10,5, rows=2, cols=1);

RegularPolygon(10, 5, 6);

RegularPolygonGrid(10, 2, 1, 2)

RegularPolygonGridDense(10, 2, 1)

HexGridWithCutouts(rows = 4, cols = 3, height = 10, spacing = 0, push_block_height = 1, tile_width = 29);

Section: Labels

MakeStripedGrid(20,50);

Make3dStripedGrid(20,50);

MakeStripedLidLabel(20, 80, 2, label="Australia", border = 2, offset = 4);

Section: Lid

LidMeshDense(width = 70, length = 50, lid_height = 3, boundary = 10, radius = 5, shape_thickness = 2, shape_edges =
6);

LidMeshHex(width = 70, length = 50, lid_height = 3, boundary = 10, radius = 5, shape_thickness = 2);

LidMeshRepeating(50, 20, 3, 5, 10);

SlidingLidFingernail(radius = 10, lid_height = 3);

MakeLidTab(5, 10, 2);

MakeTabs(50, 100, wall_thickness = 2, lid_height = 2);

Section: SlidingBox

SlidingLid(width=10, length=30, lid_height=3, wall_thickness = 2, lid_size_spacing = 0.2);

SlidingBoxLidWithLabel(width = 100, length = 100, lid_height = 3, text_width = 60, text_length = 30, text_str
= "Trains", label_rotated = false);

MakeHexBoxWithSlidingLid(5, 7, 19, 1, 29);

SlidingLidForHexBox(5, 7, 29);

SlidingLidWithLabelForHexBox(rows = 3, cols = 4, tile_width = 29, lid_height = 3, text_width = 60, text_length
= 30, text_str = "Trains", label_rotated = false);

MakeBoxWithSlidingLid(50,100,20);

Section: TabbedBox

InsetLid(50, 100);

InsetLidTabbed(30, 100);

InsetLidTabbedWithLabel(width = 100, length = 100, lid_height = 3, text_width = 60, text_length = 30, text_str
= "Trains", label_rotated = false);

InsetLidTabbedForHexBox(5, 7, 29);

InsetLidTabbedWithLabelForHexBox(rows = 3, cols = 4, tile_width = 29, lid_height = 3, text_width = 60,
text_length = 30, text_str = "Trains", label_rotated = false);

MakeBoxWithTabsInsetLid(width = 30, length = 100, height = 20);

MakeHexBoxWithInsetTabbedBox, TabbedLid(rows = 4, cols = 3, height = 15, push_block_height = 1, tile_width =
29);

Clone this wiki locally