1+ thickness = 2.5 ;
2+ thicknessWC = 1 ;
3+ length = 2.5 ;
4+ lengthTop = 6.75 ;
5+ gapWidth = 4.2 ;
6+ pi = 3.141592653589793 ;
7+ webcamSide = 23.5 ;
8+ webcamSideCut = 20 ;
9+ webcamHeight = 8 ;
10+ barOffset = 15 ;
11+ barLength = 60 ;
12+ barDrop = 15 ;
13+ wireHolderWidth = 2.75 ;
14+ wireGapWidth = 5 ;
15+ // Good w and w/o band
16+ glassTouchpadHeight = 16.8 ;
17+ glassTouchpadWidth = 7.55 ;
18+
19+
20+ // Make webcam holder
21+ rotate ([45 , 0 , 0 ]) {
22+ translate ([0 , - 33 , 13 ]) {
23+ difference () {
24+ cube ([webcamSide + thicknessWC * 2 , webcamSide + thicknessWC * 2 , thicknessWC + webcamHeight]);
25+ translate ([thicknessWC, thicknessWC, - thicknessWC]) cube ([webcamSide, webcamSide, webcamHeight + thicknessWC]);
26+ translate ([0 , thicknessWC/2 + webcamSide / 2 - wireGapWidth / 2 , - thicknessWC]) cube ([webcamSide + thicknessWC, wireGapWidth, webcamHeight * 3 / 4 ]);
27+ translate ([thicknessWC + (webcamSide - webcamSideCut) / 2 , thicknessWC + (webcamSide - webcamSideCut) / 2 , webcamHeight]) cube ([webcamSideCut, webcamSideCut, thicknessWC]);
28+ }
29+ }
30+ }
31+ rotate ([15 , 0 , 0 ]) {
32+ translate ([0 , - 14 , 7.20 ]) {
33+ translate ([0 , 0 , 0 ]) cube ([prismWidth, 15.73 , 0 + thickness ]);
34+ }}
35+
36+
37+
38+ thickness = 1 ;
39+ fudge = .3 ;
40+ prismHeightGlass = 12 + fudge;
41+ prismHeight = 12 + fudge;
42+ prismWidth = 7 + fudge;
43+ prismDepth = 14 + fudge;
44+ prismDepthGlass = 14 + fudge;
45+ mirrorSide = 25.7 ;
46+ mirrorSideEdge = 4 ;
47+ mirrorDepth = 2.5 ;
48+ translate ([0 , 0 , - 8 ]) {
49+ difference () {
50+ translate ([0 , - thickness, 0 ]) cube ([prismWidth, prismHeight + thickness * 3 , prismDepth + thickness * 2 ]);
51+ translate ([0 , thickness, thickness]) cube ([prismWidth - thickness * 3 , prismHeight, prismDepth]);
52+ translate ([0 , thickness + thickness / 2 , thickness + thickness / 2 ]) cube ([prismWidth, prismHeight - thickness, prismDepth - thickness]);
53+
54+ }
55+ }
0 commit comments