technical change

This commit is contained in:
Tonton Th committed 2026-11-21 12:58:57 +01:00
1 parent 24e0f0f75f
commit 2ea7bc58aa
2 files changed
+13 -10

No files matched your search

+4 -4
View File
@@ -29,22 +29,22 @@
// #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n")
// #debug concat("position Z ", str(posZ,7,3),"\n")
#declare Limit = 1.370;
#declare Limit = 1.350;
#if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position
#local Y_mean = Y_mean + posY;
#local Y_count = Y_count + 1;
#local R = rand(Rng1);
#if (R < 0.33)
#if (R < 0.25)
object { HexaCone () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#elseif (R < 0.50)
object { HexaStar rotate y*90 rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#elseif (R < 0.85)
#elseif (R < 0.75)
object { HexaBenz () rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#else
object { Un_HexaTube rotate <Rx, Ry, Rz>
object { HexaTube rotate <Rx, Ry, Rz>
translate <posX, posY, posZ> }
#end
#end // if position...
+9 -6
View File
@@ -28,11 +28,11 @@ difference {
#local HT_tube_int = object
{
merge {
#local S2 = Stube + 0.23;
#local S2 = Stube + 0.22;
#local R2 = Rtube * 0.23;
sphere { 0, R2 scale <3.57, 1, 1> translate <-S2, 0, 0> }
sphere { 0, R2 scale <4.51, 1, 1> translate <-S2, 0, 0> }
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
sphere { 0, R2 scale <3.57, 1, 1> translate < S2, 0, 0> }
sphere { 0, R2 scale <4.51, 1, 1> translate < S2, 0, 0> }
}
}
@@ -71,10 +71,12 @@ difference {
#local Pz = 2.40 * cos(radians(Foo));
merge {
cylinder { -y, y*10, 0.42 translate <Px, 0, Pz> }
torus { 0.42, 0.14 translate <Px, H_bt*1.05, Pz> }
torus { 0.40, 0.14 scale <1, 0.4, 1>
translate <Px, H_bt*1.07, Pz> }
}
#end
cylinder { 0, y, 0.75 }
cylinder { 0, y*3, 0.75 }
torus { 0.72, 0.32 scale <1, 0.5, 1> translate y*(H_bt*1.05) }
}
texture { LeGris scale 5 }
}
@@ -84,7 +86,8 @@ texture { LeGris scale 5 }
#declare Un_HexaTube = object
{
union {
object { HexaTube rotate y*clock translate y*2.65 }
#local Dxa = 1.5 * abs(sin(NormClock*8));
object { HexaTube rotate y*clock translate <Dxa, 2.65, 0> }
object { HexaTube_base }
}
}