Created
July 3, 2014 01:08
-
-
Save croepha/c50dcd97b9d542915650 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Distances are in thousands of an inch | |
width = 1000; // One inch wide | |
length = 6000; // Six inches long | |
base_thickness = 250; // Quarter inch thickness | |
camera_holder_ring_thickness = base_thickness; | |
module camera_holder_ring() { | |
translate([0,width,0]) | |
difference() { | |
cylinder(h = camera_holder_ring_thickness,r = width, center = true); | |
union() { | |
cylinder( | |
h = camera_holder_ring_thickness + 10, | |
r = width - camera_holder_ring_thickness, | |
center = true | |
); | |
translate([0,width,0]) | |
cube([width * 2, width * 2, width* 2], center = true) | |
; | |
}; | |
} | |
; | |
} | |
module mirror_stand() { | |
translate([ - width / 2, base_thickness / 2, 0]) | |
difference() { | |
cube([width, width, width]); | |
union() { | |
rotate([-45, 0, 0]) | |
cube([width * 2, width * 2, width* 2]) | |
; | |
translate([width / 2 - base_thickness, 0 ,0]) | |
cube([width - base_thickness * 2, width * 2, width * 2]); | |
}; | |
} | |
; | |
}; | |
cube([width, base_thickness, length], center = true); | |
translate([0, 0, - (length / 2) + 1000]) camera_holder_ring(); | |
translate([0, 0, - (length / 2) + 4000]) camera_holder_ring(); | |
translate([0, 0, - (length / 2) + 5000]) mirror_stand(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment