Skip to content

Instantly share code, notes, and snippets.

@Stemer114
Created October 23, 2016 14:49
Show Gist options
  • Save Stemer114/9e1642e887908853560847621fe539ba to your computer and use it in GitHub Desktop.
Save Stemer114/9e1642e887908853560847621fe539ba to your computer and use it in GitHub Desktop.
slot hole (asymmetric)
// 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