add the hexatube
This commit is contained in:
1 parent
96a402b9d8
commit
f0886b01f2
9 files changed
+88
-10
No files matched your search
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
#local Rtube = R_basecone * 2.75;
|
||||
#local Stube = 1.00;
|
||||
#declare Etube = 0.02;
|
||||
|
||||
#declare HexaTube_shape_0 = object
|
||||
{
|
||||
difference {
|
||||
merge {
|
||||
cylinder { <-Stube, 0, 0>, <Stube, 0, 0>, Rtube }
|
||||
cylinder { <0, -Stube, 0>, <0, Stube, 0>, Rtube }
|
||||
cylinder { <0, 0, -Stube>, <0, 0, Stube>, Rtube }
|
||||
}
|
||||
merge {
|
||||
#local S2 = Stube + 1;
|
||||
#local R2 = Rtube - Etube;
|
||||
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
|
||||
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
|
||||
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
|
||||
}
|
||||
texture { Flashy scale 3 }
|
||||
}
|
||||
}
|
||||
|
||||
#declare HexaTube_base = object
|
||||
{
|
||||
cylinder { 0, y, 3 }
|
||||
pigment { color Cyan }
|
||||
}
|
||||
|
||||
#declare HexaTube = object
|
||||
{
|
||||
union {
|
||||
object { HexaTube_shape_0 rotate y*clock translate y*2.5 }
|
||||
object { HexaTube_base }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user