-
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 |
|---|---|
size |
[width, length, 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_spacing |
amount of wiggle room between pieces (default m_piece_wiggle_room) |
top_thickness |
the thickness of the all above the catch (default 2) |
material_colour |
the colour of the material in the box (default default_material_colour) |
Example 1:
include <boardgame_toolkit.scad>
MakeBoxWithSlidingCatchLid([100, 50, 20]);
Topics: SlidingCatch
Usage: SlidingCatchBoxLid([100, 50]);
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length] of the lid |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
size_spacing |
amount of wiggle room between pieces (default m_piece_wiggle_room) |
top_thickness |
the thickness of the all above the catch (default 2) |
fill_middle |
if the middle of the lid should be filled (default true) |
lid_rounding |
how much rounding on the edge of the lid (default top_thickness/2) |
material_colour |
the colour of the material in the box (default default_material_colour) |
lid_roudning |
how much to round the edge of the lid |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLid([100, 50]);
Topics: SlidingCatch
Usage: SlidingCatchBoxLidWithLabelAndCustomShape([100, 50], 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 |
|---|---|
size |
[width, length] of the lid |
lid_boundary |
boundary around the outside for the lid (default 10) |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
text_str |
the string to use for the label |
layout_width |
the width of the layout pieces (default default_lid_layout_width) |
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) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
top_thickness |
the thickness of the all above the catch (default 2) |
fill_middle |
if the middle of the lid should be filled (default true) |
pattern_inner_control |
if the pattern needs inner control (default false) |
label_options |
options for the label (default undef) |
material_colour |
the colour of the material in the box (default default_material_colour) |
font |
the font to use for the label |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLidWithLabelAndCustomShape([100, 50], text_str = "Frog") {
ShapeByType(MakeShapeObject(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\_str = "Frog");
Description:
Lid for a sliding catch with a label on top of it.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length] of the lid |
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) |
text_str |
the string to use for the label |
layout_width |
the width of the layout pieces (default default_lid_layout_width) |
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) |
fill_middle |
if the middle of the lid should be filled (default true) |
lid_rounding |
how much rounding on the edge of the lid (default undef) |
label_options |
options for the label (default undef) |
shape_options |
options for the shape (default undef) |
material_colour |
the colour of the material in the box (default default_material_colour) |
Example 1:
include <boardgame_toolkit.scad>
SlidingCatchBoxLidWithLabel([100, 50], 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: