|
@@ -0,0 +1,54 @@
|
|
1
|
+include </home/thomas/Projekte/3d/opi-pc-plus/cam-holder.scad>
|
|
2
|
+use </home/thomas/Projekte/3d/opi-pc-plus/opi-cam-mount.scad>
|
|
3
|
+
|
|
4
|
+light_height = 8;
|
|
5
|
+light_wall = 3;
|
|
6
|
+light_wall_add = 2;
|
|
7
|
+light_dia = 150;
|
|
8
|
+light_cut = 20;
|
|
9
|
+lights_off = 5.8;
|
|
10
|
+
|
|
11
|
+light_h = light_height + (2 * light_wall_add);
|
|
12
|
+
|
|
13
|
+module lights_ring() {
|
|
14
|
+ $fn = 50;
|
|
15
|
+ translate([0, light_dia / 2, 0])
|
|
16
|
+ difference() {
|
|
17
|
+ cylinder(h = light_h, d = light_dia);
|
|
18
|
+
|
|
19
|
+ translate([0, 0, -1])
|
|
20
|
+ cylinder(h = light_h + 2, d = light_dia - light_wall - light_wall_add);
|
|
21
|
+
|
|
22
|
+ translate([0, 0, light_wall_add])
|
|
23
|
+ cylinder(h = light_height, d = light_dia - light_wall);
|
|
24
|
+
|
|
25
|
+ translate([-light_dia / 2, -light_dia / 2 + light_cut, -1])
|
|
26
|
+ cube([light_dia, light_dia, light_h + 2]);
|
|
27
|
+ }
|
|
28
|
+}
|
|
29
|
+
|
|
30
|
+module lights_mount() {
|
|
31
|
+ translate([0, -edge / 2 - length + hole_off, height - forw_height + mock_pole_height - mock_pole_off * 2 - 10])
|
|
32
|
+ difference() {
|
|
33
|
+ union() {
|
|
34
|
+ cylinder(d = hole_size + hole_wiggle + cam_wall * 2, h = light_h);
|
|
35
|
+
|
|
36
|
+ translate([0, lights_off, 0])
|
|
37
|
+ lights_ring();
|
|
38
|
+ }
|
|
39
|
+
|
|
40
|
+ translate([0, 0, -1])
|
|
41
|
+ cylinder(d = hole_size + hole_wiggle, h = light_h + 2);
|
|
42
|
+ }
|
|
43
|
+}
|
|
44
|
+
|
|
45
|
+lights_mount();
|
|
46
|
+
|
|
47
|
+/*
|
|
48
|
+cam_holder_mount();
|
|
49
|
+
|
|
50
|
+color("white")
|
|
51
|
+%translate([13, -37, 75])
|
|
52
|
+ rotate([90, 0, 180])
|
|
53
|
+ cam_holder();
|
|
54
|
+*/
|