techno-solutionnisme
This commit is contained in:
1 parent
4868a52033
commit
0dd201fa5d
2 files changed
+41
-9
No files matched your search
+40
-8
@@ -1,10 +1,13 @@
|
||||
/*
|
||||
|
||||
* H E X A T U B E --- De la famille hexaconique.
|
||||
* création de l'automne 2026, aux Bourtoulots.
|
||||
*/
|
||||
|
||||
#local Rtube = R_basecone * 1.71;
|
||||
#local Stube = 0.80;
|
||||
#declare Etube = 0.04;
|
||||
#local Rtube = R_basecone * 1.33;
|
||||
#local Stube = 0.63;
|
||||
#declare Etube = 0.03;
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
#declare HexaTube_shape_0 = object
|
||||
{
|
||||
@@ -21,14 +24,16 @@ difference {
|
||||
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
|
||||
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
|
||||
}
|
||||
texture { Flashy scale 19 }
|
||||
texture { Flashy scale 22 }
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
#local HT_tube_int = object
|
||||
{
|
||||
merge {
|
||||
#local S2 = Stube + 0.22;
|
||||
#local S2 = Stube + 0.17;
|
||||
#local R2 = Rtube * 0.23;
|
||||
sphere { 0, R2 scale <4.51, 1, 1> translate <-S2, 0, 0> }
|
||||
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
|
||||
@@ -48,13 +53,40 @@ merge {
|
||||
texture { T_WIP_dents }
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// new Wed Nov 25 04:40:47 PM UTC 2026
|
||||
|
||||
#macro HT_un_anneau (Taille, Teinte)
|
||||
torus {
|
||||
#local R1 = Rtube * Taille;
|
||||
#local R2 = R1 * 0.09;
|
||||
R1, R2
|
||||
texture { Teinte }
|
||||
}
|
||||
#end // macro
|
||||
|
||||
#macro HT_deux_anneaux (Ecart)
|
||||
union {
|
||||
#local DY = Stube * Ecart;
|
||||
#local SA = 1.17 + (0.22 * cos(clock));
|
||||
object { HT_un_anneau (SA, tPlasticPrune)
|
||||
translate -y*DY }
|
||||
object { HT_un_anneau (SA, tPlasticGreen)
|
||||
translate y*DY }
|
||||
}
|
||||
#end // macro
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------
|
||||
/* MUST BE A MACRO !!! */
|
||||
|
||||
#declare HexaTube = object
|
||||
{
|
||||
union {
|
||||
object { HexaTube_shape_0 }
|
||||
object { HexaTube_interieur }
|
||||
object { HexaTube_shape_0 }
|
||||
object { HexaTube_interieur }
|
||||
object { HT_deux_anneaux (0.95) }
|
||||
}
|
||||
rotate <15, 0, -18+(42*NormClock)>
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user