Skip to content

Instantly share code, notes, and snippets.

@croepha
Created July 3, 2014 01:08
Show Gist options
  • Save croepha/c50dcd97b9d542915650 to your computer and use it in GitHub Desktop.
Save croepha/c50dcd97b9d542915650 to your computer and use it in GitHub Desktop.
// 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();
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment