Skip to content

dividers.scad

pinkfish edited this page Mar 20, 2026 · 2 revisions

LibFile: dividers.scad

This file has all the modules needed to generate dividers.

To use, add the following lines to the beginning of your file:

include <boardgame_toolkit.scad>

File Contents

  1. Section: Dividers

Section: Dividers

Module: MakeDividerTab()

Topics: Dividers

Usage: MakeDividerTab(10, 20, 1);

Description:

Makes a divider tab tab section with nice curves in and out of the tab. Any children to this are diffed out of the tab.

Arguments:

By Position What it does
tab_height height of the tab

Example 1:

MakeDividerTab() Example 1
include <boardgame_toolkit.scad>
MakeDividerTab(10, 20, 1);



Example 2:

MakeDividerTab() Example 2
include <boardgame_toolkit.scad>
// Divider tab with a svg image in it.
MakeDividerTab(10, 20, 1)  translate([ 6, 5, -2 ]) mirror([ 0, 1, 0 ])
    linear_extrude(height = 4) offset(delta = 0.001) scale(0.04) import("svg/australia.svg");

Module: MakeDivider()

Topics: Dividers

Usage: MakeDivider(10, 20, 1, 5, 3, 0);

Description:

Makes a divider with a tab section up the top. First child is a diff to the tab, the rest is a diff to the main body of the tab.

Arguments:

By Position What it does
size [width, length, thickness] size of the divider
tab_height height of the tab
tab_radius the radius of the curve to use
num_tabs number of tabs across the top
tab_position the position number of the tab, 0..num_tabs-1
tab_length length of the tab (default calculated)
hole_offset offset for the holes in the divider (default 6)

Example 1:

MakeDivider() Example 1
include <boardgame_toolkit.scad>
MakeDivider(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 0, tab_radius = 2);

Module: MakeDividerWithText()

Topics: Dividers

Usage: MakeDividerWithText(10, 20, 1, 5, 3, 0);

Description:

Makes a divider with a tab section up the top. First child is a diff to the tab, the rest is a diff to the main body of the tab.

Arguments:

By Position What it does
size [width, length, thickness] size of the divider
tab_height height of the tab
text_str the text string to use
num_tabs number of tabs across the top
tab_position the position number of the tab, 0..num_tabs-1
tab_radius the radius of the curve to use
tab_length length of the tab (default calculated)
text_offset how far from the sides of the tab to put the text
text_height how hight the text is, (default tab_height - text_offset)
text_depth how deep to cut the text (default thickness + 1)
font the font to use (default default_label_font)

Example 1:

MakeDividerWithText() Example 1
include <boardgame_toolkit.scad>
MakeDividerWithText(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 0, text_str = "Frog");

Example 2:

MakeDividerWithText() Example 2
include <boardgame_toolkit.scad>
MakeDividerWithText(size = [40, 70, 1], tab_height = 10, num_tabs = 3, tab_position = 2, text_str = "Croak", text_depth=0.5);

Clone this wiki locally