-
Notifications
You must be signed in to change notification settings - Fork 3
slipover_box.scad
This file has all the modules needed to generate a slipover box.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
Topics: SlipoverBox
Usage: MakeBoxWithSlipoverLid(100, 50, 10);
Description:
Makes the inside of the slip box, this will take a second lid that slides over the outside of the box.
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 |
height |
outside height of the box |
foot |
how big the foot should be around the bottom of the box (default 0) |
size_spacing |
amount of wiggle room to put into the model when making it (default m_piece_wiggle_room) |
wall_height |
height of the wall if not set (default height - wall_thickness2 - size_spacing2) |
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) |
material_colour |
the colour of the material in the box (default default_material_colour) |
positive_only_children |
the list of children to be positive only |
positive_negative_children |
the list of children to be positive and negative |
positive_colour |
colour of the postive pieces default_positive_colour |
lid_catch |
CATCH_NONE - no catch, CATCH_LONG - length catch, CATCH_SHORT - width catch (default |
[default\_lid\_catch\_type](lids_base.scad#constant-default_lid_catch_type)) |
Example 1:
include <boardgame_toolkit.scad>
MakeBoxWithSlipoverLid(100, 50, 10);
Topics: SlipoverBox
Usage: SlipBoxLid(100, 50, 10);
Description:
Make a box with a slip lid, a lid that slips over the outside of a box.
Arguments:
| By Position | What it does |
|---|---|
width |
width of the lid (outside width) |
length |
of the lid (outside length) |
height |
height of the lid (outside height) |
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) |
finger_hole_length |
finger hole on the length side (default6 false) |
finger_hole_width |
finger hole on the width side (default true) |
size_spacing |
how much to offset the pieces by to give some wiggle room (default m_piece_wiggle_room) |
foot |
size of the foot on the box. |
lid_rounding |
how much to round the lid (default wall_thickness) |
material_colour |
the colour of the material in the box (default default_material_colour) |
lid_catch |
CATCH_NONE - no catch, CATCH_LONG - length catch, CATCH_SHORT - width catch (default |
[default\_lid\_catch\_type](lids_base.scad#constant-default_lid_catch_type)) |
Example 1:
include <boardgame_toolkit.scad>
SlipoverBoxLid(100, 50, 10);
Topics: SlipoverBox
Usage: SlipoverBoxLidWithLabelAndCustomShape(100, 50, 20, text\_str = "Frog");
Description:
Lid for a slipover 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) |
text_str |
the string to use for the label |
text_length |
the length of the text to use (defaults to 3/4 of length/width) |
text_scale |
the scale of the text, making it higher or shorter on the width (default 1.0) |
label_radius |
radius of the label corners (default text_width/4) |
label_type |
the type of the label (default default_label_type) |
label_border |
border of the item (default 2) |
label_offset |
offset in from the edge for the label (default 4) |
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) |
lid_pattern_dense |
if the layout is dense (default false) |
lid_dense_shape_edges |
the number of edges on the dense layout (default 6) |
material_colour |
the colour of the material in the box (default default_material_colour) |
label_background_colour |
the colour of the label background (default default_label_background_colour) |
finger_hole_length |
finger hole on the length side (default6 false) |
finger_hole_width |
finger hole on the width side (default true) |
lid_catch |
CATCH_NONE - no catch, CATCH_SHORT - length catch, CATCH_LONG - width catch (default |
[default\_lid\_catch\_type](lids_base.scad#constant-default_lid_catch_type)) |
Example 1:
include <boardgame_toolkit.scad>
SlipoverBoxLidWithLabelAndCustomShape(100, 50, 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: SlipoverBox
Usage: SlipoverBoxLidWithLabel(20, 100, 10, text\_str = "Marmoset", shape\_type = SHAPE\_TYPE\_CIRCLE, layout\_width = 10, shape\_width = 14)
Arguments:
| By Position | What it does |
|---|---|
width |
width of the lid (outside width) |
length |
of the lid (outside length) |
height |
height of the lid (outside height) |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
size_spacing |
how much to offset the pieces by to give some wiggle room (default m_piece_wiggle_room) |
foot |
size of the foot on the box. |
text_str |
the string to use for the label |
text_length |
the length of the text to use (defaults to 3/4 of length/width) |
text_scale |
the scale of the text, making it higher or shorter on the width (default 1.0) |
label_radius |
radius of the label corners (default text_width/4) |
label_type |
the type of the label (default default_label_type) |
border |
border of the item (default 2) |
offset |
offset in from the edge for the label (default 4) |
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) |
material_colour |
the colour of the material in the box (default default_material_colour) |
label_background_colour |
the colour of the label background (default default_label_background_colour) |
finger_hole_length |
finger hole on the length side (default6 false) |
finger_hole_width |
finger hole on the width side (default true) |
lid_catch |
CATCH_NONE - no catch, CATCH_LONG - length catch, CATCH_SHORT - width catch (default |
[default\_lid\_catch\_type](lids_base.scad#constant-default_lid_catch_type)) |
Example 1:
include <boardgame_toolkit.scad>
SlipoverBoxLidWithLabel(20, 100, 10, text_str = "Marmoset",
shape_type = SHAPE_TYPE_CIRCLE, layout_width = 10, shape_width = 14);
Table of Contents
Function Index
Topics Index
Cheat Sheet
Tutorials
Boxes:
- cap_box.scad
- cap_box_polygon.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:
Miscellaneous: