-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path008_LeftGR.scad
46 lines (35 loc) · 1005 Bytes
/
008_LeftGR.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
difference() {
// Top track guard rail. Height of part is 4mm. Holes r=2.15mm, d=4.3mm.
union() {
// same dimensions as original track
cube([8,16,4]);
// 8cos(45)=8sin(45)~=5.6568
translate([5.6568,5.6568,0])
rotate([0,0,225])
cube([8,22.63,4]);
translate([16,-16,0])
cube([96,8,4]);
// adding guard rails
// 8tan(22.5)~=3.3137
translate([8,3.3137,0])
cube([8,12.686,4]);
translate([8,3.3137,0])
rotate([0,0,315])
cube([16,8,4]);
translate([19.3137,-8,0])
cube([92.6863,8,4]);
}
// Holes are numbered from top to bottom, left to right
// Hole 1 (compatible with lego board)
translate([4,4,-2])
cylinder(r=2.15,44, $fn=30);
// Hole 3
translate([20,-12,-2])
cylinder(r=2.15,45, $fn=30);
// Hole 5 (compatible with lego board)
translate([36,-12,-2])
cylinder(r=2.15,45, $fn=30);
// Hole 7
translate([100,-12,-2])
cylinder(r=2.15,44, $fn=30);
}