chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
crossbar-computer-led-mount: Tests
[reprap-play.git]
/
crossbar-computer-led-mount.scad
1
// -*- C -*-
2
3
led_dia = 5;
4
led_depth = 5;
5
6
test_width = 15;
7
test_height = 12;
8
9
thicks = [1,2,4,6];
10
11
module Tests(){
12
for (thicki=[0:len(thicks)-1]) {
13
translate([thicki*test_width-0.1, 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);
21
}
22
}
23
}
24
}
25
26
Tests();