Created
October 23, 2016 14:49
-
-
Save Stemer114/9e1642e887908853560847621fe539ba to your computer and use it in GitHub Desktop.
slot hole (asymmetric)
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
// slot hole, asymmetric (different dias at ends) | |
module slot_hole_asymmetric( | |
w1 = 5, //dia left | |
w2 = 5, //dia right (if different) | |
l = 20, //length | |
h = 5 //thickness | |
) | |
{ | |
hull() { | |
//left | |
translate([-l/2+w1/2, 0, 0]) polyhole(h=h, d=w1); | |
//right | |
translate([l/2-w2/2, 0, 0]) polyhole(h=h, d=w2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment