-
Notifications
You must be signed in to change notification settings - Fork 4
filament_hinge_box.scad
This file has all the modules needed to generate a filament hinge box.
To use, add the following lines to the beginning of your file:
include <boardgame_toolkit.scad>
HingeOptions()MakeBoxWithFilamentHingeLid()FilamentBoxInsideMask()MakeLidForFilamentBox()FilamentHingeBoxLidWithCustomShape()FilamentHingeBoxLidWithLabelAndCustomShape()FilamentHingeBoxLidWithShape()FilamentHingeBoxLidWithLabel()
Topics: Hinges, FilamentHingeBox
Description:
Returns the object containing the hinge options.
Arguments:
| By Position | What it does |
|---|---|
thickness |
thickness of the hinge |
hole_diameter |
diameter of the hinge hole (default=6) |
Topics: Hinges, FilamentHingeBox
Usage: MakeBoxWithFilamentHingeLid(size=[100, 50, 20]);
Description:
Makes a box with a filament hinge on the top. The hole for the filement is specified as a an argument to the system.
Arguments:
| By Position | What it does |
|---|---|
size |
outside size of the box [width, length, height] |
wall_thickness |
thickness of the walls (default default_wall_thickness) |
floor_thickness |
thickness of the floor (default default_floor_thickness) |
lid_thickness |
thickness of the lid (default default_lid_thickness) |
material_colour |
the colour of the material in the box (default default_material_colour) |
filament_thickness |
the thickness of the filement in hinger (default 2.2) |
spin |
the spin to spin the box by (default 0) |
anchor |
the anchor to use (default BOTTOM + FRONT + LEFT) |
orient |
the orientation to use (default UP) |
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 |
Example 1:
include <boardgame_toolkit.scad>
MakeBoxWithFilamentHingeLid(size=[100, 50, 20]);
Topics: Boxes, FilamentHinges
Description:
The inside mask to use as an intersection to make sure any inside cuts don't mess with the hinges.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
Example 1:
include <boardgame_toolkit.scad>
FilamentBoxInsideMask([100, 20, 10]);
Description:
Makes a lid for a box with a filament based hinge.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
Example 1:
include <boardgame_toolkit.scad>
MakeLidForFilamentBox([100, 20, 6, 0.5]);
Description:
Makes a lid for a box with a filament based hinge and a custom shape.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
hinge_options |
options for the hinge |
print_in_place_offset |
offset for print in place mechanisms |
size_spacing |
wiggle room for size |
lid_pattern_dense |
boolean if the pattern is dense |
lid_dense_shape_edges |
number of edges for the dense shape |
aspect_ratio |
aspect ratio of the elements |
pattern_inner_control |
if the shape needs inner control (default false) |
lid_boundary |
bounding edge for shape generation on the lid (default 10) |
layout_width |
width of the layout |
Example 1:
include <boardgame_toolkit.scad>
FilamentHingeBoxLidWithCustomShape([100, 20, 6]) circle(r=5);
Description:
Makes a lid for a box with a filament based hinge, a text label, and a custom shape.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
text_str |
the string to use for the label |
label_options |
options for the label |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
hinge_options |
options for the hinge |
print_in_place_offset |
offset for print in place mechanisms |
size_spacing |
wiggle room for size |
lid_pattern_dense |
boolean if the pattern is dense |
aspect_ratio |
aspect ratio of the elements |
pattern_inner_control |
if the shape needs inner control (default false) |
lid_boundary |
bounding edge for shape generation on the lid (default 10) |
layout_width |
width of the layout |
Example 1:
include <boardgame_toolkit.scad>
FilamentHingeBoxLidWithLabelAndCustomShape([100, 20, 6], "Label") circle(r=5);
Description:
Makes a lid for a box with a filament based hinge and a pre-defined shape.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
hinge_options |
options for the hinge |
print_in_place_offset |
offset for print in place mechanisms |
size_spacing |
wiggle room for size |
lid_boundary |
bounding edge for shape generation on the lid (default 10) |
layout_width |
width of the layout |
aspect_ratio |
aspect ratio of the elements |
shape_options |
options for the shape |
Example 1:
include <boardgame_toolkit.scad>
FilamentHingeBoxLidWithShape([100, 20, 6], shape_options=MakeShapeObject());
Description:
Makes a lid for a box with a filament based hinge, a text label, and a pre-defined shape.
Arguments:
| By Position | What it does |
|---|---|
size |
[width, length, height] of the box |
text_str |
the string to use for the label |
label_options |
options for the label |
wall_thickness |
wall thickness of the box |
floor_thickness |
floor thickness of the box |
lid_thickness |
lid thickness of the box |
material_colour |
material colour of the box |
filament_thickness |
filament thickness of the box |
rounding |
rounding of the box |
hinge_options |
options for the hinge |
print_in_place_offset |
offset for print in place mechanisms |
size_spacing |
wiggle room for size |
lid_boundary |
bounding edge for shape generation on the lid (default 10) |
layout_width |
width of the layout |
aspect_ratio |
aspect ratio of the elements |
shape_options |
options for the shape |
Example 1:
include <boardgame_toolkit.scad>
FilamentHingeBoxLidWithLabel([100, 20, 6], "Label");
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: