Last active
November 19, 2020 11:14
-
-
Save haruo31/9df0311f7a2f7fc7072720c1d9230fe7 to your computer and use it in GitHub Desktop.
board_leg_25mm
This file contains 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
$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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment