Skip to content

Commit d36cd87

Browse files
committed
first possibility for the pcbs
1 parent 739427e commit d36cd87

File tree

4 files changed

+76
-42
lines changed

4 files changed

+76
-42
lines changed

basePlate.scad

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,30 @@ module basePlate(){
3939
length=64;
4040
width=38;
4141
$fn=100;
42+
4243
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);
44+
union(){
45+
difference(){
46+
translate([1,1,0]) hull(){
47+
cylinder(1,1,1);
48+
translate([width-2,0,0]) cylinder(1,1,1);
49+
translate([0,length-2,0]) cylinder(1,1,1);
50+
translate([width-2,length-2,0]) cylinder(1,1,1);
51+
}
52+
53+
//screw holes
54+
translate([2.05,length-2.05,-0.3]) cylinder(1.4,1.1,2);
55+
translate([2.05,2.05,-0.3]) cylinder(1.4,1.1,2);
56+
translate([width-2.05,2.05,-0.3]) cylinder(1.4,1.1,2);
57+
translate([width-2.05,length-2.05,-0.3]) cylinder(1.4,1.1,2);
58+
}
59+
60+
translate([width/2,length-42.65,1]) moduleConnection();
4861
}
49-
//connector cutout
50-
translate([9,length-42.65,-0.1]) cube([20,10,1.2]);
5162

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);
63+
//connector cutout
64+
translate([8.5,length-42.65,-0.1]) cube([21,10,5.2]);
5765
}
58-
59-
translate([width/2,length-42.65,1]) moduleConnection();
6066
}
6167

6268
basePlate();

carrierPlate.scad

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module carrierPlate(){
1515
}
1616

1717
//connector cutout
18-
translate([9,length-42.65,-0.1]) cube([20,10,1.2]);
18+
translate([8.5,length-42.65,-0.1]) cube([21,27,1.2]);
1919

2020
//main screw holes
2121
translate([2.05,length-2.05,-1.1]) cylinder(1.4,2,1.1);
@@ -29,32 +29,42 @@ module carrierPlate(){
2929
}
3030

3131
//screw body connector pcb
32-
translate([width/2,30,1]){
33-
translate([11.7,0,0]) cylinder(5,3,3);
34-
translate([-11.7,0,0]) cylinder(5,3,3);
32+
translate([width/2,25,1]){
33+
translate([14,0,0]) cylinder(4,3,3);
34+
translate([-14,0,0]) cylinder(4,3,3);
35+
}
36+
37+
translate([width/2,45,1]){
38+
translate([14,0,0]) cylinder(4,3,3);
39+
translate([-14,0,0]) cylinder(4,3,3);
3540
}
3641

3742
//screw body main pcb
3843
translate([width/2,10,1]){
39-
translate([14.2,0,0]) cylinder(5,3,3);
40-
translate([-14.2,0,0]) cylinder(5,3,3);
41-
translate([14.2,45.5,0]) cylinder(5,3,3);
42-
translate([-14.2,45.5,0]) cylinder(5,3,3);
44+
translate([14.2,0,0]) cylinder(8,3,3);
45+
translate([-14.2,0,0]) cylinder(8,3,3);
46+
translate([14.2,45.5,0]) cylinder(8,3,3);
47+
translate([-14.2,45.5,0]) cylinder(8,3,3);
4348
}
4449
}
4550

4651
//screw holes connector pcb
47-
translate([width/2,30,1]){
48-
translate([11.7,0,0]) cylinder(5.1,1.6,1.6);
49-
translate([-11.7,0,0]) cylinder(5.1,1.6,1.6);
52+
translate([width/2,25,1]){
53+
translate([14,0,0]) cylinder(4.1,1.6,1.6);
54+
translate([-14,0,0]) cylinder(4.1,1.6,1.6);
55+
}
56+
57+
translate([width/2,45,1]){
58+
translate([14,0,0]) cylinder(4.1,1.6,1.6);
59+
translate([-14,0,0]) cylinder(4.1,1.6,1.6);
5060
}
5161

5262
//screw holes main pcb
53-
translate([width/2,10,1]){
54-
translate([14.2,0,0]) cylinder(5.1,1.6,1.6);
55-
translate([-14.2,0,0]) cylinder(5.1,1.6,1.6);
56-
translate([14.2,45.5,0]) cylinder(5.1,1.6,1.6);
57-
translate([-14.2,45.5,0]) cylinder(5.1,1.6,1.6);
63+
translate([width/2,10,5]){
64+
translate([14.2,0,0]) cylinder(4.1,1.6,1.6);
65+
translate([-14.2,0,0]) cylinder(4.1,1.6,1.6);
66+
translate([14.2,45.5,0]) cylinder(4.1,1.6,1.6);
67+
translate([-14.2,45.5,0]) cylinder(4.1,1.6,1.6);
5868
}
5969
}
6070
}

main.scad

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module connectorPCB(height=6){
1313
}
1414

1515
//IO PCB dummy
16-
module ioPCB(height=6){
16+
module ioPCB(height=9){
1717
$fn=100;
1818
difference(){
1919
cube([35,42,height]);
@@ -25,7 +25,7 @@ module ioPCB(height=6){
2525
}
2626

2727
//main PCB dummy
28-
module mainPCB(height=12){
28+
module mainPCB(height=14){
2929
$fn=100;
3030
difference(){
3131
cube([35,52,height]);
@@ -36,6 +36,8 @@ module mainPCB(height=12){
3636
}
3737
}
3838

39-
shell();
39+
%shell();
40+
translate([2.5,7.5,10]) mainPCB();
41+
translate([2.5,7.5,24]) ioPCB();
4042
translate([1,1,1]) carrierPlate();
4143
translate([1,1,1]) mirror([0,0,1]) basePlate();

shell.scad

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module rampe(height=2){
5252
}
5353

5454
//shell
55-
module shell(height=25){
55+
module shell(height=35){
5656
length=66;
5757
width=40;
5858
$fn=100;
@@ -83,10 +83,15 @@ module shell(height=25){
8383
}
8484

8585
//cutout for the buttons
86-
translate([width/2,17,height-2.1]){
86+
translate([width/2,23,height-2.1]){
8787
translate([-9.47,0,0]) rotate([0,0,180]) ButtonCutOut(armWidth=8.53);
8888
translate([9.47,0,0]) rotate([0,0,0]) ButtonCutOut(armWidth=8.53);
8989
}
90+
91+
//cutout for the display
92+
translate([width/2,34,height-2.1]){
93+
translate([-16,0,0]) cube([32,12.9,2.2]);
94+
}
9095
}
9196

9297
//main screw mount body
@@ -100,18 +105,23 @@ module shell(height=25){
100105
translate([width-3,length-3,7]) rotate([0,0,225]) cylinder45Cut();
101106

102107
//buttonparts
103-
translate([width/2,17,height-2]){
104-
translate([-9.47,0,2]) rotate([0,0,180]) mirror([0,0,1]) Button(gapWidth=3, gapHeight=1, armWidth=8.53);
105-
translate([9.47,0,2]) rotate([0,0,0]) mirror([0,0,1]) Button(gapWidth=3, gapHeight=1, armWidth=8.53);
108+
translate([width/2,23,height-2]){
109+
translate([-9.47,0,2]) rotate([0,0,180]) mirror([0,0,1]) Button(gapWidth=3, gapHeight=1, armWidth=8.53, buttonClickHeight=3, buttonClickRadius=1.25);
110+
translate([9.47,0,2]) rotate([0,0,0]) mirror([0,0,1]) Button(gapWidth=3, gapHeight=1, armWidth=8.53, buttonClickHeight=3, buttonClickRadius=1.25);
106111
}
107112

108113
//io-pcb srew mount body
109-
translate([width/2-14.2,17-8.38,height-7]){
110-
cylinder(5,3,3);
114+
translate([width/2-14.2,23-8.38,height-7]){
115+
cylinder(7,3,3);
111116
translate([28.48,0,0]) cylinder(5,3,3);
112117
translate([0,35.3,0]) cylinder(5,3,3);
113118
translate([28.48,35.3,0]) cylinder(5,3,3);
114119
}
120+
121+
//body display cutout
122+
translate([width/2,33,height-4]){
123+
translate([-17,0,0]) cube([34,15,2]);
124+
}
115125
}
116126
//main screw mount holes
117127
translate([3,3,1.9]) cylinder(5.1,1.6,1.6);
@@ -120,12 +130,18 @@ module shell(height=25){
120130
translate([width-3,length-3,1.9]) cylinder(5.1,1.6,1.6);
121131

122132
//io-pcb srew mount holes
123-
translate([width/2-14.2,17-8.38,height-7.1]){
133+
translate([width/2-14.2,23-8.38,height-7.1]){
124134
cylinder(5,1.6,1.6);
125135
translate([28.48,0,0]) cylinder(5.1,1.6,1.6);
126136
translate([0,35.3,0]) cylinder(5.1,1.6,1.6);
127137
translate([28.48,35.3,0]) cylinder(5.1,1.6,1.6);
128138
}
139+
140+
//hole display cutout
141+
translate([width/2,34,height-4.1]){
142+
translate([-16,0,0]) cube([32,12.9,2.2]);
143+
}
129144
}
130145
}
131-
shell();
146+
147+
shell();

0 commit comments

Comments
 (0)