aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-27 22:25:20 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-01-27 22:25:20 +0100
commitf9c98ca0d63c5a53b19de1419095fec65be4452a (patch)
treeeb450e315c792583a9878d6ca99d254967e0f3a9
parent2bfc0ea3fc556856159a6fe9d3083983053a60df (diff)
downloadoscad_gridfinity-f9c98ca0d63c5a53b19de1419095fec65be4452a.tar.gz
bitstorage: config options
-rw-r--r--bitstorage.scad5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitstorage.scad b/bitstorage.scad
index 59081a3..ee2a0f6 100644
--- a/bitstorage.scad
+++ b/bitstorage.scad
@@ -7,6 +7,9 @@ wrench_size = 6.35;
// size in GF units
ux = 1;
uy = 1;
+uz = 3;
+
+magnets = false;
// depth of the hexagon
bit_depth = 5;
@@ -59,7 +62,7 @@ module honeycomb_fit_center(x, y, d, w) {
}
difference() {
- gridfinity(ux, uy, 3, lip=true, magnets=false, fill = false, bottom_height = bit_depth);
+ gridfinity(ux, uy, uz, lip=true, magnets=magnets, fill = false, bottom_height = bit_depth);
translate(gf_inner_origin()) translate(gf_top_vec(0))
linear_extrude(bit_depth + 0.01)