Skip to content

Instantly share code, notes, and snippets.

@corporateanon
Last active September 16, 2016 07:42
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 corporateanon/468f0a1482cd34fa9cea9a6f8a858dcd to your computer and use it in GitHub Desktop.
Save corporateanon/468f0a1482cd34fa9cea9a6f8a858dcd to your computer and use it in GitHub Desktop.
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