Skip to content

Tutorial lid_types

pinkfish edited this page Oct 30, 2024 · 7 revisions

Types of lids

A few different types of lids that can be used with the system.

Simple sliding lid

include <boardgame_toolkit.scad>

SlidingLid(width = 100, length = 50);

Figure 1

Sliding lid with label

include <boardgame_toolkit.scad>

SlidingBoxLidWithLabel(
        width = 150, length = 50, lid_thickness = 3, text_width = 70,
        text_height = 20, text_str = "Happy Fluff", label_rotated = false);

Figure 2

Simple tabbed lid

include <boardgame_toolkit.scad>

InsetLidTabbed(width = 100, length = 50);

Figure 3

Tabbed lid with label

include <boardgame_toolkit.scad>

InsetLidTabbedWithLabel(
        width = 50, length = 150, lid_thickness = 3, text_width = 70,
        text_height = 20, text_str = "Happy Fluff", label_rotated = true);

Figure 4

Sliding lid with map of australia

include <boardgame_toolkit.scad>

SlidingBoxLidWithLabel(
        width = 50, length = 150, lid_thickness = 3, text_width = 70,
        text_height = 20, text_str = "Happy", label_rotated = true) {
        translate([ 45, 5, 0 ]) linear_extrude(height = 3) rotate([0,0,90]) scale(0.3) difference()
        {
            fill() import("svg/australia.svg");
            offset(-4) fill() import("svg/australia.svg");
        }
    };

Figure 5

Capped box lid with label

Make a lid and base for a capped box.

include <boardgame_toolkit.scad>

canvas_piece_box_width = 41;
canvas_piece_box_length = 73;
canvas_piece_box_height = 29;
wall_thickness = 3;

module MakeLid(str)
{
    CapBoxLidWithLabel(width = canvas_piece_box_width, length = canvas_piece_box_length, height = canvas_piece_box_height,
                        text_width = len(str) * 10 + 5, text_height = 15, text_str = str, label_rotated = true,
                        wall_thickness = wall_thickness, lid_thickness = 2, lid_boundary = 5, layout_width = 5,
                        shape_type = SHAPE_TYPE_CIRCLE, shape_thickness = 2, shape_width = 7);
}
MakeLid("Red");

Figure 6

Slipover box lid with label

Make a lid and base for a slipover box.

include <boardgame_toolkit.scad>

canvas_piece_box_width = 41;
canvas_piece_box_length = 73;
canvas_piece_box_height = 29;
wall_thickness = 3;

module MakeLid(str)
{
    SlipoverLidWithLabel(width = canvas_piece_box_width, length = canvas_piece_box_length, foot = 2, 
                        height = canvas_piece_box_height,
                        text_width = len(str) * 10 + 5, text_height = 15, text_str = str, label_rotated = true,
                        wall_thickness = wall_thickness, lid_thickness = 2, lid_boundary = 5, layout_width = 5,
                        shape_type = SHAPE_TYPE_CIRCLE, shape_thickness = 2, shape_width = 7);
}
MakeLid("Red");

Figure 7

Magnetic box lid with label

Make a lid with label with a magnetic lid.

include <boardgame_toolkit.scad>

canvas_piece_box_width = 41;
canvas_piece_box_length = 73;
canvas_piece_box_height = 29;
wall_thickness = 3;

module MakeLid(str)
{
    MagneticBoxLidWithLabel(width = canvas_piece_box_width, length = canvas_piece_box_length, magnet_diameter = 5,
                        magnet_thickness = 1, text_width = len(str) * 10 + 5, text_height = 15, text_str = str, 
                        label_rotated = true, lid_thickness = 2, lid_boundary = 5, layout_width = 5,
                        shape_type = SHAPE_TYPE_CIRCLE, shape_thickness = 2, shape_width = 7);
}
MakeLid("Red");

Figure 8

Sliding catch box lid with label

Make a lid with label with a sliding catch lid.

include <boardgame_toolkit.scad>

canvas_piece_box_width = 41;
canvas_piece_box_length = 73;
canvas_piece_box_height = 29;
wall_thickness = 3;

module MakeLid(str)
{
    SlidingCatchBoxLidWithLabel(width = canvas_piece_box_width, length = canvas_piece_box_length,
                        text_width = len(str) * 10 + 5, text_height = 15, text_str = str, 
                        label_rotated = true, lid_thickness = 2, lid_boundary = 5, layout_width = 5,
                        shape_type = SHAPE_TYPE_CIRCLE, shape_thickness = 2, shape_width = 7);
}
MakeLid("Red");

Figure 9

Rabbit Clip lid

Make a lid and base for a rabbit clip box.

include <boardgame_toolkit.scad>

canvas_piece_box_width = 41;
canvas_piece_box_length = 73;
canvas_piece_box_height = 29;
wall_thickness = 3;


module MakeLid(str)
{
    InsetLidRabbitWithLabel(width = canvas_piece_box_width, length = canvas_piece_box_length,
                        text_width = len(str) * 10 + 5, text_height = 15, text_str = str, 
                        label_rotated = true, lid_thickness = 2, lid_boundary = 5, layout_width = 5,
                        shape_type = SHAPE_TYPE_CIRCLE, shape_thickness = 2, shape_width = 7);
}
MakeLid("Red");

Figure 10

Clone this wiki locally