Skip to content

no_lid.scad

pinkfish edited this page Apr 19, 2026 · 8 revisions

LibFile: no_lid.scad

The boxex which have no lids with them.

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

include <boardgame_toolkit.scad>

File Contents

Module: MakeBoxWithNoLid()

Description:

Makes a box with no lid, useful for spacers and other things in games.

Arguments:

By Position What it does
size [width, length, height] outside size of the box
wall_thickness thickness of the walls (default default_wall_thickness)
material_colour the material colour to use (default default_material_colour)
floor_thickness thickness of the floor (default default_floor_thickness)
make_finger_x makes finger dip on the x axis (default width > length)
make_finger_y makes finger dip on the y axis (default length > width)
finger_hole_size size of the finger dip (default 20)
hollow make the inside hollow (default false)

Example 1:

MakeBoxWithNoLid() Example 1
include <boardgame_toolkit.scad>
MakeBoxWithNoLid(size = [100, 50, 20]);



Example 2:

MakeBoxWithNoLid() Example 2
include <boardgame_toolkit.scad>
MakeBoxWithNoLid(size = [100, 50, 20], hollow=true);




Module: MakePathBoxWithNoLid()

Description:

Makes a box with no lid using a polygon layout, useful for spacers and other things in games. Be aware that you might get errors generating and you will need to use $fn to reduce the number of points to make the corners work

Arguments:

By Position What it does
path the path to generate for (this should be one line segment)
height the height of the box
wall_thickness thickness of the walls (default default_wall_thickness)
material_colour the material colour to use (default default_material_colour)
floor_thickness thickness of the floor (default default_floor_thickness)
make_finger_x makes finger dip on the x axis
make_finger_y makes finger dip on the y axis
finger_hole_size size of the finger dip (default 20)
offset_sweep_options the options to use in the offset_sweep hollow box ({ offset = "round", check_valid: true, quality: 1, steps: 16}})

Example 1:

MakePathBoxWithNoLid() Example 1
include <boardgame_toolkit.scad>
MakePathBoxWithNoLid(path=[[0,0], [50,0], [50,50], [0,50]], height=20);

Example 2:

MakePathBoxWithNoLid() Example 2
include <boardgame_toolkit.scad>
MakePathBoxWithNoLid(path=[[0,0], [50,0], [50,50], [0,50]], height=20, hollow=true);

Module: FingerHoleWallSegment()

Description:

Makes a single segment for use in the no lid wall. It will make the rounded finger wall holes on the side of the box at the correct direction and length.

Arguments:

By Position What it does
path the path to generate for (this should be one line segment)
finger_hole_size the size of the finger hole
finger_hole_height the height of the fingerhole
height the height of the box
make_finger_x makes finger dip on the x axis
make_finger_y makes finger dip on the y axis
wall_thickness thickness of the walls

Example 1:

FingerHoleWallSegment() Example 1
include <boardgame_toolkit.scad>
FingerHoleWallSegment([[0,0], [50,50]], finger_hole_size=5, finger_hole_height=4, height=7, make_finger_x=true);

Example 2:

FingerHoleWallSegment() Example 2
include <boardgame_toolkit.scad>
FingerHoleWallSegment([[0,0], [50,50]], finger_hole_size=5, finger_hole_height=4, height=7, make_finger_y=true);

Clone this wiki locally