1- // roundedCubeEdge --> eighth of a sphere
1+ // Rounded Edge for the main body
22module roundedCubeEdge(r=2){
33 $ fn= 100 ;
44 difference (){
@@ -9,7 +9,7 @@ module roundedCubeEdge(r=2){
99 }
1010}
1111
12- // Button
12+ // Case button
1313module Button(gapWidth=1, gapHeight=0.4, armWidth=9, buttonClickRadius=1, buttonClickHeight=2){
1414 $ fn= 100 ;
1515 rampeWidth = (2 - gapHeight)/tan (60 );
@@ -23,7 +23,7 @@ module Button(gapWidth=1, gapHeight=0.4, armWidth=9, buttonClickRadius=1, button
2323 translate ([0 ,- 3 ,0 ]) cube ([armWidth- 2 * rampeWidth- gapWidth,6 ,2 ]);
2424}
2525
26- // cutout for the button
26+ // cutout for the case button
2727module ButtonCutOut(armWidth=9){
2828 $ fn= 100 ;
2929 cylinder (2.2 ,5 ,5 );
@@ -41,7 +41,7 @@ module rampe(height=2){
4141 }
4242}
4343
44- // shell
44+ // main shell for the extension module
4545module shell(height=35){
4646 length= 66 ;
4747 width= 40 ;
@@ -61,6 +61,7 @@ module shell(height=35){
6161 translate ([width- 4 ,length- 4 ,0 ]) cylinder (height- 2 ,2 ,2 );
6262 translate ([width- 4 ,length- 4 ,height- 2 ]) rotate ([0 ,0 ,0 ]) roundedCubeEdge();
6363 }
64+
6465 // innerskin
6566 translate ([2 ,2 ,- 0.2 ]) cube ([width- 4 ,length- 4 ,height- 1.8 ]);
6667
@@ -78,7 +79,7 @@ module shell(height=35){
7879 translate ([9.47 ,0 ,0 ]) rotate ([0 ,0 ,0 ]) ButtonCutOut(armWidth= 8.53 );
7980 }
8081
81- // cutout for the display
82+ // cutout for the display in the outer skin
8283 translate ([width/2 ,35 ,height- 2.1 ]){
8384 translate ([- 11 ,0 ,0 ]) cube ([27 ,11 ,2.2 ]);
8485 }
@@ -104,21 +105,21 @@ module shell(height=35){
104105 cylinder (6 ,3 ,3 );
105106 }
106107
107- // buttonparts
108+ // insert the two buttons
108109 translate ([width/2 ,23 ,height- 2 ]){
109110 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 );
110111 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 );
111112 }
112113
113114 // io-pcb srew mount body
114115 translate ([width/2 - 14.2 ,23 - 8.38 ,height- 7 ]){
115- cylinder (7 ,3 ,3 );
116+ cylinder (5 ,3 ,3 );
116117 translate ([28.48 ,0 ,0 ]) cylinder (5 ,3 ,3 );
117118 translate ([0 ,35.3 ,0 ]) cylinder (5 ,3 ,3 );
118119 translate ([28.48 ,35.3 ,0 ]) cylinder (5 ,3 ,3 );
119120 }
120121
121- // body display cutout
122+ // body for the display cutout
122123 translate ([width/2 ,34 ,height- 4 ]){
123124 translate ([- 12 ,0 ,0 ]) cube ([29 ,13 ,2 ]);
124125 }
@@ -137,7 +138,7 @@ module shell(height=35){
137138 translate ([28.48 ,35.3 ,0 ]) cylinder (5.1 ,1.6 ,1.6 );
138139 }
139140
140- // hole display cutout
141+ // display cutout in the extra display body
141142 translate ([width/2 ,35 ,height- 4.1 ]){
142143 translate ([- 11 ,0 ,0 ]) cube ([27 ,11 ,2.2 ]);
143144 }
0 commit comments