Created
March 27, 2016 18:50
-
-
Save possan/65cb963ac13083a84adf to your computer and use it in GitHub Desktop.
This file contains hidden or 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 tube(height, radius, wall, center = false) { | |
difference() { | |
cylinder(h=height, r=radius, center=center); | |
translate([0,0,-1]) cylinder(h=height + 2, r=radius- wall, center=center); | |
} | |
} | |
for(k=[0: 20.5: 300]) { | |
P = k / 300.0; | |
rotate([k*3.0,0,0]) | |
translate([0, 3.3 - 3.3 * P,0]) | |
scale(1.0 - 0.4 * P) | |
// translate([0,0,0.1 * k]) | |
// cylinder(0.1, $fn=50); | |
tube(0.3, 1.0, 0.1, $fn=30); | |
// sphere(1, $fn=40); | |
} | |
sphere(0.6, $fn=40); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment