Last active
September 16, 2016 07:42
-
-
Save corporateanon/468f0a1482cd34fa9cea9a6f8a858dcd to your computer and use it in GitHub Desktop.
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
module Pyramid(angle) { | |
num = 3; | |
for (a = [0:num-1]) { | |
rotate([0,0,a*360/num]) rotate([0,angle,0]) children(0); | |
} | |
} | |
module Leg() { | |
cylH = 1000; | |
cylR = 10; | |
Pyramid(angle=10) { | |
cylinder(h=cylH, r=cylR); | |
} | |
} | |
Pyramid(angle=40) translate([0,0,1000]) rotate([180, 0, 0]) Leg(); | |
color([0,0,1, 0.3]) translate([0,0,770]) cylinder(h=10, d=2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment