diff options
| author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2026-08-08 13:55:25 +0200 |
|---|---|---|
| committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2026-08-11 15:49:51 +0200 |
| commit | 70bb901308bdb4793e1c233ccf0ba53d42c515e9 (patch) | |
| tree | e13c34308f66ac1c5150363a9abb884820dbe106 /src/lib | |
| parent | 8b990670f752851d4a5047fbe5db0c64fb734924 (diff) | |
Tray with lid for Standard hexagonal stickers
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/hexagons.scad | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/hexagons.scad b/src/lib/hexagons.scad new file mode 100644 index 0000000..98898af --- /dev/null +++ b/src/lib/hexagons.scad @@ -0,0 +1,23 @@ + + +module hexagon_tray( + side=25, + walls=2, + h=16 +) { + difference() { + cylinder(r=side + walls, h=h, $fn=6); + translate([0, 0, walls]) cylinder(r=side, h=h, $fn=6); + } +} + +module hexagon_lid( + side=25, + walls=2, + tolerance=1, +) { + union() { + cylinder(r=side + walls, h=walls, $fn=6); + translate([0, 0, walls]) cylinder(r=side - tolerance, h=walls, $fn=6); + } +} |
