41 lines
751 B
PHP
41 lines
751 B
PHP
/*
|
|
|
|
*/
|
|
|
|
#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 }
|
|
}
|
|
}
|