summaryrefslogtreecommitdiff
path: root/mech/assembly.scad
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-01-01 22:55:21 +0100
committerxengineering <me@xengineering.eu>2024-01-02 15:16:53 +0100
commite9ec4e46cbf3b8a9f9fdefb6fa94dce23bc116f2 (patch)
tree789d86bfe87761cf16fc3df8766591782a4aa303 /mech/assembly.scad
parenta3ef23906f2b71486d818fd06ca6ffb0c82e3b1c (diff)
downloadsoundbox-e9ec4e46cbf3b8a9f9fdefb6fa94dce23bc116f2.tar
soundbox-e9ec4e46cbf3b8a9f9fdefb6fa94dce23bc116f2.tar.zst
soundbox-e9ec4e46cbf3b8a9f9fdefb6fa94dce23bc116f2.zip
mech: Move from multiple to single production file
This makes the file structure simpler and makes it easy to produce the whole case in one run.
Diffstat (limited to 'mech/assembly.scad')
-rw-r--r--mech/assembly.scad23
1 files changed, 15 insertions, 8 deletions
diff --git a/mech/assembly.scad b/mech/assembly.scad
index 3d5a5ec..51338f7 100644
--- a/mech/assembly.scad
+++ b/mech/assembly.scad
@@ -1,8 +1,8 @@
-use <bottom.scad>
-use <top.scad>
-use <back.scad>
-use <front.scad>
+include <parameters.scad>
+
use <pcb_case/pcb.scad>
+use <pcb_case/shell.scad>
+use <pcb_case/panel.scad>
module assembly() {
base_drilling = [3.5, 3.5];
@@ -24,10 +24,17 @@ module assembly() {
t=2
);
- bottom();
-// top();
- back();
-// front();
+ pcb_case_shell_bottom(
+ dim, t, h, [
+ base_socket,
+ base_socket + dx,
+ base_socket + dy,
+ base_socket + dx + dy
+ ]
+ );
+// pcb_case_shell_top(dim, t);
+ pcb_case_panel_back(dim, t);
+// pcb_case_panel_front(dim, t);
}
assembly();