openScad TubeTest by karolyish 3d model
3dmdb logo
Thingiverse
openScad TubeTest by karolyish

openScad TubeTest by karolyish

by Thingiverse
Last crawled date: 3 years, 1 month ago
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 that which is multiple of 4 has its vertices wrap the square that would fit the bounds of poly sized 1 (non multiples of 4 are too hard to word in english)

Tags