le commit en chocolat

This commit is contained in:
Tonton Th
2025-04-22 00:49:18 +02:00
parent a9ec016184
commit c82f6f4de5
18 changed files with 176 additions and 132 deletions

View File

@@ -8,9 +8,15 @@
union {
#local RA = R_basecone;
#local RB = 0.001;
cone { 0, RA, y*0.89, 0.0001 }
sphere { 0, RA*1.098 scale <1, 0.58, 3.03>
translate -0.02*y }
difference {
cone { 0, RA, y*0.89, 0.0001 }
cone { 0, RA, y*0.89, 0.0001 translate -0.014*y }
}
difference {
sphere { 0, RA*1.098 scale <1, 0.58, 3.03> }
sphere { 0, RA*1.096 scale <1, 0.58, 3.03> }
translate -0.02*y
}
}
// }
#end
@@ -60,8 +66,8 @@ merge {
#for (foo, 0, 360, 30)
#local Tx = E * sin(radians(foo));
#local Ty = E * cos(radians(foo));
#local Dza = z * 0.20;
#local Dzb = z * 0.90;
#local Dza = z * 0.25;
#local Dzb = z * 0.95;
cylinder { -Dza, Dzb, R translate <Tx, Ty, 0> }
sphere { -Dza, R*1.8 translate <Tx, Ty, 0> }
sphere { Dzb, R*1.8 translate <Tx, Ty, 0> }
@@ -74,8 +80,6 @@ merge {
}
#end
// XXX #declare Benz_Fuseau = object
// XXX {
#macro Benz_Fuseau ()
difference {
sphere { 0, R_Tube*0.39 }
@@ -91,7 +95,6 @@ scale <1, 1, 4.4>
#end
#end // end macro
// XXX }
#declare Benz_Fuseau_Flash = object
{
@@ -125,13 +128,16 @@ translate z*L_Tube*1.18
#declare Benz_Cylindre = object
{
#local E_tube = 0.02;
#local R_int = R_Tube - E_tube;
difference {
union {
cylinder { z*L_Tube*1.6, -z*L_Tube, R_Tube }
/* les deux bouts du cylindre creux */
torus { R_Tube, 0.012
#local R2 = (R_Tube + R_int) / 2;
torus { R2, E_tube scale <1, 4, 1>
rotate x*90 translate z*L_Tube*1.6 }
torus { R_Tube, 0.012
torus { R2, E_tube scale <1, 4, 1>
rotate x*90 translate -z*L_Tube }
/* cette sphere devrait devenir
@@ -139,7 +145,7 @@ difference {
object { Forme_Cockpit
translate y*R_Tube*0.97}
}
cylinder { z*4, -z*4, R_Tube*0.95 }
cylinder { z*4, -z*4, R_int }
}
texture { Soft_Silver scale 6.0 }
}