chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a2e05ffa42310011065e7b54ca2672df8b1869a8
[reprap-play.git]
/
led-panel-ceiling-bracket.scad
1
// -*- C -*-
2
3
holespc = 20;
4
5
len = 50;
6
width = 20;
7
backspc = 10;
8
light_height = 12.5;
9
hole_from_back = 7.2 + 0.5;
10
hole_dia = 3.5 + 0.5;
11
12
height = light_height + backspc;
13
14
module Bracket(){
15
difference(){
16
translate([-len/2, 0,0])
17
cube([len, width, height]);
18
for (xsgn=[-1,+1]) {
19
translate([xsgn * holespc/2, -1, light_height - hole_from_back]) {
20
rotate([-90,0,0])
21
rotate([0,0,360/8/2])
22
cylinder(r=hole_dia/2, h=50, $fn=8);
23
}
24
}
25
}
26
}
27
28
Bracket();