-
Notifications
You must be signed in to change notification settings - Fork 4
sliding_catch_box.scad
This file has all the modules needed to generate a sliding catch box.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Topics: SlidingCatch
Usage: MakeBoxWithSlidingCatchLid(100, 50, 20);
Description:
Creates a box with a sliding catch lid on the top.
Inside the children of the box you can use the $inner_height , $inner_width, $inner_length = length variables to deal with the box sizes.
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_thickness |
thickness of the lid (default default_lid_thickness) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
floor_thickness |
thickness of the floor (default default_floor_thickness) |
size_sizeing |
amount of wiggle room between pieces (default m_piece_wiggle_room) |
top_thickness |
the thickness of the all above the catch (default 2) |
Example 1:
include <boardgame_toolkit.scad>
MakeBoxWithSlidingCatchLid(100, 50, 20);
Topics: SlidingCatch
Usage: SlidingCatchBoxLid(100, 50);
Arguments:
| By Position | What it does |
|---|---|
width |
outside width of the box |
length |
inside width of the box |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
size_sizeing |
amount of wiggle room between pieces (default m_piece_wiggle_room) |
top_thickness |
the thickness of the all above the catch (default 2) |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLid(100, 50);
Topics: SlidingCatch
Usage: SlidingCatchBoxLidWithLabelAndCustomShape(100, 50, text\_width = 70, text\_height = 20, text\_str = "Frog");
Description:
Lid for a sliding catch box. This uses the first child as the shape for repeating on the lid.
Arguments:
| By Position | What it does |
|---|---|
width |
outside width of the box |
length |
outside length of the box |
lid_boundary |
boundary around the outside for the lid (default 10) |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
size_sizeing |
amount of wiggle room between pieces (default m_piece_wiggle_room) |
label_radius |
radius of the label corners (default 5) |
label_border |
border of the item (default 2) |
label_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 default_lid_layout_width) |
shape_width |
width of the shape (default default_lid_shape_width) |
shape_thickness |
how wide the pieces are (default default_lid_shape_thickness) |
aspect_ratio |
the aspect ratio (multiple by dy) (default default_lid_aspect_ratio) |
size_spacing |
extra spacing to apply between pieces (default m_piece_wiggle_room) |
lid_rounding |
how much rounding on the edge of the lid (default wall_thickness/2) |
top_thickness |
the thickness of the all above the catch (default 2) |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLidWithLabelAndCustomShape(100, 50, text_width = 70, text_height = 20, text_str = "Frog") {
ShapeByType(shape_type = SHAPE_TYPE_SUPERSHAPE, shape_thickness = 2, supershape_m1 = 12, supershape_m2 = 12,
supershape_n1 = 1, supershape_b = 1.5, shape_width = 15);
}
Topics: SlidingCatch
Usage: SlidingCatchBoxLidWithLabel(100, 50, text\_width = 70, text\_height = 20, text\_str = "Frog");
Description:
Lid for a sliding catch with a label on top of it.
Arguments:
| By Position | What it does |
|---|---|
width |
outside width of the box |
length |
inside width of the box |
lid_boundary |
boundary around the outside for the lid (default 10) |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
top_thickness |
thickness of the top above the lid (default 1) |
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 5) |
border |
border of the item (default 2) |
label_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 default_lid_layout_width) |
shape_width |
width of the shape (default default_lid_shape_width) |
shape_thickness |
how wide the pieces are (default default_lid_shape_thickness) |
aspect_ratio |
the aspect ratio (multiple by dy) (default default_lid_aspect_ratio) |
size_spacing |
extra spacing to apply between pieces (default m_piece_wiggle_room) |
top_thickness |
the thickness of the all above the catch (default 2) |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLidWithLabel(100, 50, text_width = 70, text_height = 20, text_str = "Frog");
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
Boxes:
- cap_box.scad
- cap_box_polygon.scad
- filament_hinge_box.scad
- hinge_box.scad
- inset_box.scad
- magnetic_box.scad
- no_lid.scad
- sliding_box.scad
- sliding_catch_box.scad
- slipover_box.scad
- slipover_path_box.scad
Basics:
Dividers:
Shapes:
Slicing:
CardLibrary:
Miscellaneous: