Skip to content

Instantly share code, notes, and snippets.

@pulsar256
Created June 14, 2016 13:04
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 pulsar256/a1e78b2c8c4134e8210e3f3fff3b9c56 to your computer and use it in GitHub Desktop.
Save pulsar256/a1e78b2c8c4134e8210e3f3fff3b9c56 to your computer and use it in GitHub Desktop.
module pusteblume(radius=10, nupsies=40){
rotate_extrude(convexity=10) translate([radius, 0, 0]) circle(r=1, $fn=50);
for(i=[0:(360/nupsies):360-(360/nupsies)]) {
rotate([0,0,i]) translate([radius-2.2,0,0]) rotate([0,90,0]) cylinder(h=2,d1=0.5,d2=1.8,$fn=25);
}
}
difference() {
cylinder(h=2,d=8,$fn=100);
translate([0,0,-1]) cylinder(h=4,d=3.2,$fn=100);
}
for(j=[0:60:360]) rotate([0,0,j]) {
translate([-1,3,0]) {
cube([2,20,2]);
translate([0,30,1]) pusteblume();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment