Skip to content

Instantly share code, notes, and snippets.

@haruo31
Last active November 19, 2020 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haruo31/9df0311f7a2f7fc7072720c1d9230fe7 to your computer and use it in GitHub Desktop.
Save haruo31/9df0311f7a2f7fc7072720c1d9230fe7 to your computer and use it in GitHub Desktop.
board_leg_25mm
$fa = 3;
$fs = 0.1;
module taper_cylinder(d=20, r=2, h=8) {
linear_extrude(h, scale=[(d-h*r)/d,(d-h*r)/d])
circle(d=d);
}
difference() {
union() {
cylinder(d=20,2);
translate([0,0,2]) taper_cylinder();
translate([0,0,23]) cylinder(d=15,2);
translate([0,0,23]) rotate([0,180,0]) taper_cylinder(d=15,r=0.2, h=20);
}
translate([0,0,10]) rotate_extrude() polygon(points=[[0,0],[0,6.5/2],[6.5/2,0]]);
cylinder(d=6.5,h=10);
cylinder(d=3,h=30);
}
Display the source blob
Display the rendered blob
Raw
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