les anneaux

This commit is contained in:
Tonton Th committed 2026-11-26 15:46:36 +01:00
1 parent 7a67011ccf
commit 251ed5ed5e
1 file changed
+12 -6
+12 -6
View File
@@ -3,8 +3,8 @@
* création de l'automne 2026, aux Bourtoulots. * création de l'automne 2026, aux Bourtoulots.
*/ */
#local Rtube = R_basecone * 1.33; #local Rtube = R_basecone * 1.27;
#local Stube = 0.63; #local Stube = 0.61;
#declare Etube = 0.03; #declare Etube = 0.03;
// --------------------------------------------------------- // ---------------------------------------------------------
@@ -59,7 +59,7 @@ texture { T_WIP_dents }
#macro HT_un_anneau (Taille, Teinte) #macro HT_un_anneau (Taille, Teinte)
torus { torus {
#local R1 = Rtube * Taille; #local R1 = Rtube * Taille;
#local R2 = R1 * 0.09; #local R2 = R1 * 0.07;
R1, R2 R1, R2
texture { Teinte } texture { Teinte }
} }
@@ -76,7 +76,13 @@ union {
} }
#end // macro #end // macro
#macro HT_les_anneaux (Ec)
union {
object { HT_deux_anneaux (Ec) rotate x*90 }
object { HT_deux_anneaux (Ec) }
object { HT_deux_anneaux (Ec) rotate z*90 }
}
#end // macro
// --------------------------------------------------------- // ---------------------------------------------------------
/* MUST BE A MACRO !!! */ /* MUST BE A MACRO !!! */
@@ -86,9 +92,9 @@ union {
union { union {
object { HexaTube_shape_0 } object { HexaTube_shape_0 }
object { HexaTube_interieur } object { HexaTube_interieur }
object { HT_deux_anneaux (0.95) } object { HT_les_anneaux (1.12) }
} }
rotate <15, 0, -18+(42*NormClock)> rotate <15, 0, -18+(36*NormClock)>
} }
/* =============================================================== */ /* =============================================================== */