Created
April 27, 2017 23:55
-
-
Save fincham/b816d588dc6ee0e25b03243cf26fc2cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$fn = 50; | |
corner_radius = 7; | |
module lens(h) { | |
// lens is a cube([192.96, 110.76, 5]) with rounded corners | |
hull() { | |
cylinder(r=corner_radius, h=h); | |
translate([192.96, 110.76, 0]) cylinder(r=corner_radius, h=h); | |
translate([192.96, 0, 0]) cylinder(r=corner_radius, h=h); | |
translate([0, 110.76, 0]) cylinder(r=corner_radius, h=h); | |
} | |
} | |
// frame | |
difference() { | |
lens(3); | |
scale(0.95) translate([4.824, 2.769, -0.1]) lens(10); | |
} | |
// mounting screws | |
translate([20+11.89, 20.08+6.63, 0]) cube(10, 10, 5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment