very small refactoring

This commit is contained in:
Tonton Th
2025-06-19 14:54:49 +02:00
parent 3535e16a20
commit 71cce4f60c
4 changed files with 9 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ prism {
#macro HexaPole_tubes ()
#local R = 0.06;
#local E = 0.666666;
#local E = 0.725;
#local H = H_cone*3;
union {
#for (A, 0, 359, 60)
@@ -50,7 +50,7 @@ union {
#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*H2 }
sphere { 0, R*2 scale <1, 0.555, 1> translate y*H2 }
#local Ra = rand(Rng1);
#if (Ra < 0.30)
texture { T_Chrome_1A }
@@ -72,6 +72,9 @@ union {
#end
// ------------------------------------------------------ ##
/*
* l'assemblage de ces trucs est dans "contexte.inc"
*/
#macro HexaPole ()
union {