Skip to content

Commit afe1082

Browse files
committed
Initial Commit
0 parents  commit afe1082

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This is the readme.

shield_clock.scad

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module arm(thickness, length, width, slot_length, slot_width) {
2+
difference(){
3+
cube([length, width, thickness], center = true);
4+
linear_extrude(h = thickness+1, center = true){
5+
hull(){
6+
translate([slot_length/2,0])
7+
circle(r = slot_width/2);
8+
translate([-slot_length/2,0])
9+
circle(r = slot_width/2);
10+
}
11+
}
12+
}
13+
}
14+
15+
module annulus(thickness, r1, r2){
16+
difference(){
17+
cylinder(r = r2, h = thickness, center = true);
18+
cylinder(r = r1, h = thickness+1, center = true);
19+
}
20+
}
21+
22+
module slider(thickness, width, length) {
23+
// linear_extrude(h = thickness, center = true){
24+
hull(){
25+
translate([length/2,0])
26+
circle(r = width/2);
27+
translate([-length/2,0])
28+
circle(r = width/2);
29+
}
30+
// }
31+
}
32+
33+
color("Blue",1)
34+
arm(5, 1000, 100, 900, 20);
35+
36+
translate([0,0,5. 1])
37+
annulus(5, 100, 120);
38+
39+
slider(0, 20, 220);

0 commit comments

Comments
 (0)