123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- include </home/thomas/Projekte/3d/opi-pc-plus/cam-holder.scad>
- use </home/thomas/Projekte/3d/opi-pc-plus/opi-cam-mount.scad>
-
- light_height = 8;
- light_wall = 3;
- light_wall_add = 2;
- light_dia = 150;
- light_cut = 20;
- lights_off = 5.8;
-
- light_h = light_height + (2 * light_wall_add);
-
- module lights_ring() {
- $fn = 50;
- translate([0, light_dia / 2, 0])
- difference() {
- cylinder(h = light_h, d = light_dia);
-
- translate([0, 0, -1])
- cylinder(h = light_h + 2, d = light_dia - light_wall - light_wall_add);
-
- translate([0, 0, light_wall_add])
- cylinder(h = light_height, d = light_dia - light_wall);
-
- translate([-light_dia / 2, -light_dia / 2 + light_cut, -1])
- cube([light_dia, light_dia, light_h + 2]);
- }
- }
-
- module lights_mount() {
- translate([0, -edge / 2 - length + hole_off, height - forw_height + mock_pole_height - mock_pole_off * 2 - 10])
- difference() {
- union() {
- cylinder(d = hole_size + hole_wiggle + cam_wall * 2, h = light_h);
-
- translate([0, lights_off, 0])
- lights_ring();
- }
-
- translate([0, 0, -1])
- cylinder(d = hole_size + hole_wiggle, h = light_h + 2);
- }
- }
-
- lights_mount();
-
- /*
- cam_holder_mount();
-
- color("white")
- %translate([13, -37, 75])
- rotate([90, 0, 180])
- cam_holder();
- */
|