techno-solutionnisme
This commit is contained in:
1 parent
4868a52033
commit
0dd201fa5d
2 files changed
+39
-7
No files matched your search
+38
-6
@@ -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 Rtube = R_basecone * 1.33;
|
||||||
#local Stube = 0.80;
|
#local Stube = 0.63;
|
||||||
#declare Etube = 0.04;
|
#declare Etube = 0.03;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
#declare HexaTube_shape_0 = object
|
#declare HexaTube_shape_0 = object
|
||||||
{
|
{
|
||||||
@@ -21,14 +24,16 @@ difference {
|
|||||||
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
|
cylinder { <0, -S2, 0>, <0, S2, 0>, R2 }
|
||||||
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
|
cylinder { <0, 0, -S2>, <0, 0, S2>, R2 }
|
||||||
}
|
}
|
||||||
texture { Flashy scale 19 }
|
texture { Flashy scale 22 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
#local HT_tube_int = object
|
#local HT_tube_int = object
|
||||||
{
|
{
|
||||||
merge {
|
merge {
|
||||||
#local S2 = Stube + 0.22;
|
#local S2 = Stube + 0.17;
|
||||||
#local R2 = Rtube * 0.23;
|
#local R2 = Rtube * 0.23;
|
||||||
sphere { 0, R2 scale <4.51, 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 }
|
cylinder { <-S2, 0, 0>, <S2, 0, 0>, R2 }
|
||||||
@@ -48,6 +53,32 @@ merge {
|
|||||||
texture { T_WIP_dents }
|
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 !!! */
|
/* MUST BE A MACRO !!! */
|
||||||
|
|
||||||
#declare HexaTube = object
|
#declare HexaTube = object
|
||||||
@@ -55,6 +86,7 @@ texture { T_WIP_dents }
|
|||||||
union {
|
union {
|
||||||
object { HexaTube_shape_0 }
|
object { HexaTube_shape_0 }
|
||||||
object { HexaTube_interieur }
|
object { HexaTube_interieur }
|
||||||
|
object { HT_deux_anneaux (0.95) }
|
||||||
}
|
}
|
||||||
rotate <15, 0, -18+(42*NormClock)>
|
rotate <15, 0, -18+(42*NormClock)>
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ object { Le_Decor }
|
|||||||
#local LocZ = (8 + Z_hexatube) - (7 * NormClock);
|
#local LocZ = (8 + Z_hexatube) - (7 * NormClock);
|
||||||
|
|
||||||
#declare Loc_cam = <LocX, 4.7, LocZ>;
|
#declare Loc_cam = <LocX, 4.7, LocZ>;
|
||||||
#local H = 1.96 - (NormClock*0.74);
|
#local H = 2.09 - (NormClock*0.74);
|
||||||
#declare Lat_cam = <X_hexatube, H, Z_hexatube>;
|
#declare Lat_cam = <X_hexatube, H, Z_hexatube>;
|
||||||
|
|
||||||
#declare Rpos = Interpolate(Loc_cam, Lat_cam, 0.5);
|
#declare Rpos = Interpolate(Loc_cam, Lat_cam, 0.5);
|
||||||
|
|||||||
Reference in new issue
Block a user