summaryrefslogtreecommitdiff
path: root/mech/pcb_case/nut.scad
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-12-22 22:08:57 +0100
committerxengineering <me@xengineering.eu>2024-01-02 14:24:06 +0100
commitf333e4282cb6b5ff1c49d3ea68b0af7422a9548e (patch)
tree52e05cee1cbb2e7f2ba7d8ba0cfb90a9db2a813b /mech/pcb_case/nut.scad
parent8184bf87fab1eb415807eba8250af0b812205106 (diff)
downloadsoundbox-f333e4282cb6b5ff1c49d3ea68b0af7422a9548e.tar
soundbox-f333e4282cb6b5ff1c49d3ea68b0af7422a9548e.tar.zst
soundbox-f333e4282cb6b5ff1c49d3ea68b0af7422a9548e.zip
mech: pcb_case: Separate bolt and nut to own files
Having named files for these parts makes them more visible inside the project. They used to be in the `common.scad` file which does not explain anything by its name.
Diffstat (limited to 'mech/pcb_case/nut.scad')
-rw-r--r--mech/pcb_case/nut.scad9
1 files changed, 9 insertions, 0 deletions
diff --git a/mech/pcb_case/nut.scad b/mech/pcb_case/nut.scad
new file mode 100644
index 0000000..bfd5b3d
--- /dev/null
+++ b/mech/pcb_case/nut.scad
@@ -0,0 +1,9 @@
+nut_h = 3;
+nut_d = 4.15;
+nut_r = nut_d / 2;
+
+module nut() {
+ cylinder(d=nut_d,h=nut_h);
+}
+
+nut();