chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
041ca9d675877da848592da4a428dc9a01b86e60
[reprap-play.git]
/
crossbar-computer-led-mount.scad
1
// -*- C -*-
2
3
led_dia = 5 + 0.6;
4
led_depth = 5;
5
6
test_width = 24;
7
test_height = 24;
8
9
thicks = [9,14,21];
10
11
module Tests(){
12
for (thicki=[0:len(thicks)-1]) {
13
translate([thicki*test_width-0.5, 0, 0]) {
14
difference(){
15
cube([test_width,
16
thicks[thicki] + led_depth,
17
test_height]);
18
translate([test_width/2, -1, test_height/2])
19
rotate([-90,0,0])
20
cylinder(r=led_dia/2, h=led_depth+1, $fn=30);
21
}
22
}
23
}
24
}
25
26
Tests();