add border to the hole
This commit is contained in:
parent
1bef5baa93
commit
ceb4dea907
13
contexte.inc
13
contexte.inc
@ -11,7 +11,7 @@
|
|||||||
#macro Trois_Portiques (Dist)
|
#macro Trois_Portiques (Dist)
|
||||||
union {
|
union {
|
||||||
object { Portique_A () }
|
object { Portique_A () }
|
||||||
object { Portique_A () scale <1, 1.1, 1> translate z*5 }
|
object { Portique_A () scale <1, 1.15, 1> translate z*5 }
|
||||||
object { Portique_A () translate z*10 }
|
object { Portique_A () translate z*10 }
|
||||||
// XXX scale 1.85
|
// XXX scale 1.85
|
||||||
}
|
}
|
||||||
@ -255,14 +255,19 @@ difference {
|
|||||||
box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> }
|
box { <-Big, -0.21, -Big>, < Big, 0.0000, Big> }
|
||||||
#undef Big
|
#undef Big
|
||||||
#for (Foo, 0, 5)
|
#for (Foo, 0, 5)
|
||||||
cylinder { -y*5, y*5, 3.1 translate UnderHoles[Foo] }
|
cylinder { -y*5, y*5, R_hole translate UnderHoles[Foo] }
|
||||||
#end
|
#end
|
||||||
texture { Ground_Texture }
|
texture { Ground_Texture }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX
|
/* 10 fev 2026, on place des bordures autour des trous */
|
||||||
* L'indispensable Repere est parti dans 'gadgets.inc' ! */
|
/* -> xperiment.inc */
|
||||||
|
#for (foo, 0, 5)
|
||||||
|
#local YHB = (0.08 + (0.5*rand(Rng1)) * y);
|
||||||
|
object { HoleBorder (1.14) translate YHB + UnderHoles[foo] }
|
||||||
|
#end
|
||||||
|
|
||||||
/* ======================================================= */
|
/* ======================================================= */
|
||||||
/*
|
/*
|
||||||
* nouvel éclairage du 10 février 2025
|
* nouvel éclairage du 10 février 2025
|
||||||
|
|||||||
@ -4,6 +4,25 @@
|
|||||||
* A cosy place for experimental things (2025/10/27)
|
* A cosy place for experimental things (2025/10/27)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* =============================================================== */
|
||||||
|
/*
|
||||||
|
* nouveau : Tue Feb 10 12:42:43 AM UTC 2026
|
||||||
|
*/
|
||||||
|
#macro HoleBorder (V)
|
||||||
|
difference {
|
||||||
|
#local RA = V * R_hole * 1.005;
|
||||||
|
#local RB = V * R_hole * 0.995;
|
||||||
|
cylinder { 0, y*0.22, RA }
|
||||||
|
cylinder { -y, y*2, RB }
|
||||||
|
#local R = rand(Rng1);
|
||||||
|
#if (R < 0.50)
|
||||||
|
texture { LeGris }
|
||||||
|
#else
|
||||||
|
texture { Flashy scale 38 }
|
||||||
|
#end
|
||||||
|
}
|
||||||
|
#end
|
||||||
/* =============================================================== */
|
/* =============================================================== */
|
||||||
/*
|
/*
|
||||||
* new Tue Dec 30 07:39:09 AM UTC 2025
|
* new Tue Dec 30 07:39:09 AM UTC 2025
|
||||||
@ -12,7 +31,7 @@
|
|||||||
{
|
{
|
||||||
union {
|
union {
|
||||||
#local EX = 2.4;
|
#local EX = 2.4;
|
||||||
#local EZ = 2.1 + (0.5*sin(NormClock));
|
#local EZ = 2.1 + (0.5*sin(NormClock*2));
|
||||||
object { Trident_A () rotate x*87 }
|
object { Trident_A () rotate x*87 }
|
||||||
object { HexaBenz () translate <-EX, 0, -EZ> }
|
object { HexaBenz () translate <-EX, 0, -EZ> }
|
||||||
object { HexaCone () translate < EX, -0.4, -EZ> }
|
object { HexaCone () translate < EX, -0.4, -EZ> }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user