welcome here, hexa-patrol

This commit is contained in:
Tonton Th
2026-02-14 13:35:54 +01:00
parent 6a983ee560
commit 606536c3f3
18 changed files with 198 additions and 199 deletions

View File

@@ -13,12 +13,13 @@
difference {
#local RA = V * R_hole * 1.004;
#local RB = V * R_hole * 0.996;
cylinder { 0, y*0.42, RA }
#local HB_H = 0.53;
cylinder { 0, y*HB_H, RA }
cylinder { -y, y*2, RB }
#for (foo, 0, 179, 6)
#for (foo, 0, 179, 4)
cylinder {
<-20, 0, 0>, < 20, 0, 0>, 0.07
scale <1, 2, 1> translate y*0.21
<-20, 0, 0>, < 20, 0, 0>, 0.075
scale <1, 2.2, 1> translate y*(HB_H/2)
rotate y*foo
}
#end // for
@@ -29,17 +30,30 @@ difference {
}
#end
/* --------------------------------------------------------------- */
#macro HoleBorder_B (V)
union {
#local Ra = R_hole * 1.02;
#local Rb = 0.04;
torus { Ra, Rb texture { tPlasticBlue }
translate y*0.50 }
torus { Ra, Rb texture { T_WIP_color }
translate y*0.80 }
torus { Ra, Rb texture { T_WIP_dents }
translate y*1.10 }
#local Ra = V * R_hole * 1.02;
#local Rb = 0.028;
#local KY = 0.21;
torus { Ra, Rb texture { T_Beton_2 } translate y*KY }
torus { Ra, Rb texture { T_WIP_color } translate y*(KY*2) }
torus { Ra, Rb texture { T_WIP_dents } translate y*(KY*3) }
#for (foo, 0, 359.99, 15)
#local Dx = Ra * sin(radians(foo));
#local Dz = Ra * cos(radians(foo));
cylinder { 0, y*(3.2*KY), Rb*0.72
#local R = rand(Rng1);
#if (R < 0.67) texture { tPlasticPrune }
#else texture { tPlasticGreen }
#end // if R
translate <Dx, 0, Dz>
}
#end // for
}
#end
/* =============================================================== */
/*
@@ -48,8 +62,8 @@ union {
#declare Patrouille = object
{
union {
#local EX = 2.4;
#local EZ = 2.1 + (0.5*sin(NormClock*2));
#local EX = 1.9;
#local EZ = 2.0 + (0.5*sin(NormClock*2));
object { Trident_A () rotate x*87 }
object { HexaBenz () translate <-EX, 0, -EZ> }
object { HexaCone () translate < EX, -0.4, -EZ> }