last commits before xmas

This commit is contained in:
Tonton Th
2025-12-23 08:35:07 +01:00
parent 4e960026d2
commit 836e8e7c17
9 changed files with 27 additions and 34 deletions

View File

@@ -4,7 +4,7 @@
*/
/* ======================================================= */
#declare R_C = 0.42;
#declare R_C = 0.35;
/* ce truc mérite un nom plus parlant ! */
#macro Chose_le_pied ()
@@ -37,7 +37,7 @@ union {
cos(CK*(rand(Rng1))));
#local Rt = 0.015+(0.03*Cos_010(NormClock));
#local B = <0, -0.05, 0>;
#local H = 1.16;
#local H = 0.80;
cylinder { B, <C2X, H, C2Z>, Rt }
sphere { <C2X, H, C2Z>, Rt }
#end
@@ -54,7 +54,7 @@ union {
// ------------------------------------------------------ ##
#macro Chose_le_corps () // = object
difference {
#local H = 0.50 + (0.10 * rand(Rng1));
#local H = 0.42 + (0.10 * rand(Rng1));
cone { 0, R_C*0.52, y*H, R_C }
sphere { y*H, R_C*0.75 }
#local R = rand(Rng1);
@@ -121,7 +121,7 @@ prism {
#macro HexaPole_tubes ()
#local R = 0.04;
#local E = 0.51;
#local H = H_cone*1.25;
#local H = H_cone*0.875;
union {
#for (A, 0, 359, 60)
#local Xp = E * cos(radians(A));