Skip to content

Commit eb92570

Browse files
committed
new file structure and new parts for the shell
1 parent ab7e21d commit eb92570

File tree

5 files changed

+206
-145
lines changed

5 files changed

+206
-145
lines changed

TODO.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
- [ ] Erstellen
1+
- [ ] PCB Mounts
2+
- [ ] Cutout und Wand für das Display hinzufügen
3+
- [ ] Mainconnector Cutout hinzufügen
4+
- [ ] Buttoncutouts mit Butternerhöhung hinzufügen
5+
- [ ] Beachten wie lang die Schrauben sind, damit sie in die Löcher passen
6+

basePlate.scad

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
module moduleSlot(){
2+
cube([5,40.65,2]);
3+
//outerbarrier
4+
translate([3.13,0,2]) difference(){
5+
cube([1.87,40.65,2.1]);
6+
//first slot
7+
translate([0,3.25,0]){
8+
cube([1.02,2.86,2.1]);
9+
cube([1.02,7.7,1.27]);
10+
translate([0,2.86,1.57]) rotate([225,0,0]) cube([1.02,0.5,0.5]);
11+
}
12+
13+
//second slot
14+
translate([0,23.25,0]){
15+
cube([1.02,2.86,2.1]);
16+
cube([1.02,7.7,1.27]);
17+
translate([0,2.86,1.57]) rotate([225,0,0]) cube([1.02,0.5,0.5]);
18+
}
19+
}
20+
21+
//innerbarrier
22+
translate([0,0,2]){
23+
difference(){
24+
cube([1.28,40.65,2.1]);
25+
translate([1.28,0,0.82]) rotate([0,-45,0]) cube([1,40.65,2]);
26+
}
27+
translate([0,0.9,0.82]) cube([1.28,1.47,1.28]);
28+
}
29+
}
30+
31+
module moduleConnection(){
32+
translate([-15,40.65,0]) cube([30,2,4.1]);
33+
mirror([1,0,0]) translate([10,0,0]) moduleSlot();
34+
translate([10,0,0]) moduleSlot();
35+
}
36+
37+
//basePlate
38+
module basePlate(){
39+
length=64;
40+
width=38;
41+
$fn=100;
42+
difference(){
43+
translate([1,1,0]) hull(){
44+
cylinder(1,1,1);
45+
translate([width-2,0,0]) cylinder(1,1,1);
46+
translate([0,length-2,0]) cylinder(1,1,1);
47+
translate([width-2,length-2,0]) cylinder(1,1,1);
48+
}
49+
//connector cutout
50+
translate([9,length-42.65,-0.1]) cube([20,10,1.2]);
51+
52+
//screw holes
53+
translate([2.05,length-2.05,-0.3]) cylinder(1.4,1.1,2);
54+
translate([2.05,2.05,-0.3]) cylinder(1.4,1.1,2);
55+
translate([width-2.05,2.05,-0.3]) cylinder(1.4,1.1,2);
56+
translate([width-2.05,length-2.05,-0.3]) cylinder(1.4,1.1,2);
57+
}
58+
59+
translate([width/2,length-42.65,1]) moduleConnection();
60+
}
61+
62+
basePlate();

carrierPlate.scad

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
//carrierPlate
2+
module carrierPlate(){
3+
length=64;
4+
width=38;
5+
$fn=100;
6+
difference(){
7+
translate([1,1,0]) hull(){
8+
cylinder(1,1,1);
9+
translate([width-2,0,0]) cylinder(1,1,1);
10+
translate([0,length-2,0]) cylinder(1,1,1);
11+
translate([width-2,length-2,0]) cylinder(1,1,1);
12+
}
13+
14+
//connector cutout
15+
translate([9,length-42.65,-0.1]) cube([20,10,1.2]);
16+
17+
//main screw holes
18+
translate([2.05,length-2.05,-1.1]) cylinder(1.4,2,1.1);
19+
translate([2.05,length-2.05,0.2])cylinder(0.9,1.1,1.1);
20+
translate([2.05,2.05,-1.1]) cylinder(1.4,2,1.1);
21+
translate([2.05,2.05,0.2])cylinder(0.9,1.1,1.1);
22+
translate([width-2.05,2.05,-1.1]) cylinder(1.4,2,1.1);
23+
translate([width-2.05,2.05,0.2])cylinder(0.9,1.1,1.1);
24+
translate([width-2.05,length-2.05,-1.1]) cylinder(1.4,2,1.1);
25+
translate([width-2.05,length-2.05,0.2])cylinder(0.9,1.1,1.1);
26+
}
27+
}
28+
29+
carrierPlate();

main.scad

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
use <basePlate.scad>
2+
use <carrierPlate.scad>
3+
use <shell.scad>
4+
5+
//connector PCB dummy
6+
module connectorPCB(height=6){
7+
$fn=100;
8+
difference(){
9+
cube([30,20,height]);
10+
translate([3.3,10,-0.5]) cylinder(height+1,1.1,1.1);
11+
translate([30-3.3,10,-0.5]) cylinder(height+1,1.1,1.1);
12+
}
13+
}
14+
15+
//IO PCB dummy
16+
module ioPCB(height=6){
17+
$fn=100;
18+
difference(){
19+
cube([35,42,height]);
20+
translate([3.3,3.3,-0.5]) cylinder(height+1,1.1,1.1);
21+
translate([35-3.3,3.3,-0.5]) cylinder(height+1,1.1,1.1);
22+
translate([3.3,42-3.3,-0.5]) cylinder(height+1,1.1,1.1);
23+
translate([35-3.3,42-3.3,-0.5]) cylinder(height+1,1.1,1.1);
24+
}
25+
}
26+
27+
//main PCB dummy
28+
module mainPCB(height=12){
29+
$fn=100;
30+
difference(){
31+
cube([35,52,height]);
32+
translate([3.3,3.3,-0.5]) cylinder(height+1,1.1,1.1);
33+
translate([35-3.2,3.3,-0.5]) cylinder(height+1,1.1,1.1);
34+
translate([3.3,52-3.3,-0.5]) cylinder(height+1,1.1,1.1);
35+
translate([35-3.2,52-3.3,-0.5]) cylinder(height+1,1.1,1.1);
36+
}
37+
}
38+
39+
shell();
40+
translate([1,1,1]) carrierPlate();
41+
translate([1,1,1]) mirror([0,0,1]) basePlate();

0 commit comments

Comments
 (0)