moving "Horloge" to a better place

This commit is contained in:
Tonton Th 2025-05-09 20:06:14 +02:00
parent 03c8c1cbd8
commit 3ce1994e97
2 changed files with 23 additions and 21 deletions

View File

@ -17,20 +17,6 @@
// =======================================================
// #include "dynamic.inc"
/* ======================================================= */
#declare Horloge = object
{
#local Texte = str(NormClock, 6, 4);
#debug concat("Texte horloge ", Texte, "\n\n")
text {
ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
texture { T_WIP_alert }
}
scale 3.00
rotate 90*x
translate <-4.5, 0.02, 0>
}
// =======================================================

View File

@ -3,6 +3,21 @@
* nouveau projet du Thu Dec 5 11:37:05 AM UTC 2024
*/
/* ======================================================= */
#declare Horloge = object
{
#local Texte = str(NormClock, 6, 4);
#debug concat("Texte horloge ", Texte, "\n\n")
text {
ttf "datas/DSEG7Classic-Regular.ttf" Texte 0.1, 0
texture { T_WIP_alert }
}
scale 3.00
rotate 90*x
translate <-4.5, 0.02, 0>
}
// =======================================================
#macro Base_hexapole ()
@ -26,21 +41,22 @@ prism {
#macro HexaPole_tubes ()
#local R = 0.06;
#local E = 0.666666;
#local H = H_cone*4;
#local H = H_cone*3;
union {
#for (A, 0, 359, 60)
#local Xp = E * cos(radians(A));
#local Zp = E * sin(radians(A));
#local Ha = rand(Rng1);
union {
cylinder { 0, y*H, R }
#local H2 = H + rand(Rng1) + rand(Rng1);
cylinder { 0, y*H2, R }
sphere { 0, R*2 scale <1, 0.666, 1> }
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H }
#if (Ha < 0.30)
sphere { 0, R*2 scale <1, 0.666, 1> translate y*H2 }
#local Ra = rand(Rng1);
#if (Ra < 0.30)
texture { T_Chrome_1A }
#elseif (Ha < 0.60)
#elseif (Ra < 0.60)
texture { T_Chrome_4D }
#elseif (Ha < 0.90)
#elseif (Ra < 0.90)
texture { T_Brass_2C }
#else
texture { Soft_Silver }