summaryrefslogtreecommitdiff
path: root/body/helpers.scad
diff options
context:
space:
mode:
Diffstat (limited to 'body/helpers.scad')
-rw-r--r--body/helpers.scad9
1 files changed, 9 insertions, 0 deletions
diff --git a/body/helpers.scad b/body/helpers.scad
new file mode 100644
index 0000000..2ad4a47
--- /dev/null
+++ b/body/helpers.scad
@@ -0,0 +1,9 @@
+use <design.scad>
+
+function hole_z(h) =
+ assert(h > 0, "hole_z: h should be greater than 0")
+ -h * 0.001;
+
+function hole_h(h) =
+ assert(h > 0, "hole_h: h should be greater than 0")
+ h * 1.002; \ No newline at end of file