Thingiverse
openScad TubeTest
by karolyish
4
Downloads
0
Likes
0
Makes
module tubTest(fn){
fn=fn;
tube([1,1,0.5], odd=false, $fn=fn);
color([0.8,0.2,0.3,0.4]) tube([1,1,0.1], odd=true, $fn=fn);
color([0.4,0.2,0.3,0.4]) translate([0,0,1]) tube([1,1,0.1], odd="elip", $fn=fn);
color([0.2,0.8,0.3,0.4]) translate([0,0,-1]) tube([1,1,0.1], odd="sqr", $fn=fn);
}
for(i=[3:1:20]){
translate([0,(i-4)*3,0]) tubTest(i);
}
odd is the polygon that has side 1
odd=flase is the polygon that is radius 1
odd=elip is the poly that fits into radius 1
odd=sqr is the poly
fn=fn;
tube([1,1,0.5], odd=false, $fn=fn);
color([0.8,0.2,0.3,0.4]) tube([1,1,0.1], odd=true, $fn=fn);
color([0.4,0.2,0.3,0.4]) translate([0,0,1]) tube([1,1,0.1], odd="elip", $fn=fn);
color([0.2,0.8,0.3,0.4]) translate([0,0,-1]) tube([1,1,0.1], odd="sqr", $fn=fn);
}
for(i=[3:1:20]){
translate([0,(i-4)*3,0]) tubTest(i);
}
odd is the polygon that has side 1
odd=flase is the polygon that is radius 1
odd=elip is the poly that fits into radius 1
odd=sqr is the poly
Sign in to leave a comment
Sign in