From 245740d2a2b657811dd1e591d3c132db6947817f Mon Sep 17 00:00:00 2001 From: Tonton Th Date: Fri, 5 Dec 2025 20:23:28 +0100 Subject: [PATCH] meilleur pied pour la chose --- gadgets.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gadgets.inc b/gadgets.inc index ab7a3c3..12dc482 100644 --- a/gadgets.inc +++ b/gadgets.inc @@ -4,14 +4,14 @@ */ /* ======================================================= */ -#declare R_C = 0.72; +#declare R_C = 0.65; /* ce truc mérite un nom plus parlant ! */ #macro Chose_le_pied () merge { #local RCP = R_C * 0.666; cylinder { 0, y/2, 0.07 } - cone { y*0.125, RCP, y*0.250, 0.07 } + sphere { 0, RCP scale <1, 0.17, 1> translate y*0.125 } cylinder { 0, y*0.125, RCP } #local R = rand(Rng1); #if (R < 0.25) texture { tPlasticOrange } @@ -20,7 +20,7 @@ merge { #else texture { tPlasticGreen } #end // if } -#debug "== Fin chose le pied\n" +// #debug "== Fin chose le pied\n" #end // macro // ------------------------------------------------------ ## /* @@ -48,12 +48,12 @@ merge { #end // if translate y*1.05 } -#debug "== Fin chose les tiges\n" +// #debug "== Fin chose les tiges\n" #end // macro // ------------------------------------------------------ ## #macro Chose_le_corps () // = object difference { - cone { 0, R_C*0.55, y, R_C } + cone { 0, R_C*0.46, y, R_C } sphere { y, R_C*0.75 } #local R = rand(Rng1); #if (R < 0.25) texture { tPlasticOrange } @@ -63,7 +63,7 @@ difference { #end // if translate y*0.48 } -#debug "== Fin chose le corps\n" +// #debug "== Fin chose le corps\n" #end // macro // ------------------------------------------------------ ## #macro Chose ()