Skip to content

cap_box.scad

pinkfish edited this page Oct 23, 2024 · 25 revisions

LibFile: cap_box.scad

This file has all the modules needed to generate a cap box.

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

include <boardgame_toolkit.scad>

File Contents

  1. Section: CapLid

Section: CapLid

Module: MakeCapLidBox()

Topics: CapLid

Usage: MakeBoxWithCapLid(100, 50, 20);

Arguments:

By Position What it does
width outside width of the box
length inside width of the box
height outside height of the box
cap_height height of the cap on the box (default 10)
lid_thickness thickness of the lid (default 1)
wall_thickness thickness of the walls (default 2)
floor_thickness thickness of the floor (default 2)
size_sizeing amount of wiggle room between pieces (default m_piece_wiggle_room)
lid_wall_thickness the thickess of the walls in the lid (default wall_thickness / 2)
lid_finger_hold_len length of the finger hold sections to cut out (default min(width,lenght)/5)
finger_hold_height how heigh the finger hold bit it is (default 5)

Example 1:

MakeCapLidBox() Example 1
include <boardgame_toolkit.scad>
MakeBoxWithCapLid(100, 50, 20);




Module: CapBoxLid()

Topics: CapBox

Usage: CapBoxLid(100, 50, 20);

Description:

Lid for a cap box, small cap to go on the box with finger cutouts.

Arguments:

By Position What it does
width outside width of the box
length inside width of the box
cap_height height of the cap on the box (default 10)
lid_thickness thickness of the lid (default 1)
wall_thickness thickness of the walls (default 2)
size_sizeing amount of wiggle room between pieces (default m_piece_wiggle_room)
lid_wall_thickness the thickess of the walls in the lid (default wall_thickness / 2)
finger_hold_height how heigh the finger hold bit it is (default 5)

Example 1:

CapBoxLid() Example 1
include <boardgame_toolkit.scad>
CapBoxLid(100, 50, 20);




Module: CapBoxLidWithLabel()

Topics: CapBox

Usage: CapBoxLidWithLabel(100, 50, text\_width = 70, text\_height = 20, text\_str = "Frog");

Description:

Lid for a cap box, small cap to go on the box with finger cutouts.

Arguments:

By Position What it does
width outside width of the box
length inside width of the box
height outside height of the box
lid_boundary boundary around the outside for the lid (default 10)
cap_height height of the cap on the box (default 10)
lid_thickness thickness of the lid (default 1)
wall_thickness thickness of the walls (default 2)
size_sizeing amount of wiggle room between pieces (default m_piece_wiggle_room)
lid_wall_thickness the thickess of the walls in the lid (default wall_thickness / 2)
finger_hold_height how heigh the finger hold bit it is (default 5)
label_radius radius of the label corners (default 12)
border border of the item (default 2)
offset offset in from the edge for the label (default 4)
label_rotated if the label is rotated (default false)
layout_width the width of the layout pieces (default 12)
shape_width width of the shape (default layout_width)
shape_thickness how wide the pieces are (default 2)
size_spacing extra spacing to apply between pieces (default m_piece_wiggle_room)

Example 1:

CapBoxLidWithLabel() Example 1
include <boardgame_toolkit.scad>
CapBoxLidWithLabel(100, 50, text_width = 70, text_height = 20, text_str = "Frog");

Clone this wiki locally