ajustements
This commit is contained in:
parent
0b04ffd359
commit
46b0f2005b
10
gadgets.inc
10
gadgets.inc
@ -36,8 +36,8 @@ merge {
|
|||||||
#local CK = NormClock * (9.876+rand(Rng1));
|
#local CK = NormClock * (9.876+rand(Rng1));
|
||||||
#for (Foo, 0, 7)
|
#for (Foo, 0, 7)
|
||||||
#local CK2 = CK + Foo;
|
#local CK2 = CK + Foo;
|
||||||
#local C2X = 2.4 * sin(CK2+rand(Rng1)) * sin(CK*3);
|
#local C2X = 1.9 * sin(CK2+rand(Rng1)) * sin(CK*3);
|
||||||
#local C2Z = 2.3 * (sin(-CK2+rand(Rng1)) * cos(CK*(rand(Rng1))));
|
#local C2Z = 2.0 * (sin(-CK2+rand(Rng1)) * cos(CK*(rand(Rng1))));
|
||||||
#local R = 0.06+(0.04*Cos_010(NormClock));
|
#local R = 0.06+(0.04*Cos_010(NormClock));
|
||||||
#local H = 4.2;
|
#local H = 4.2;
|
||||||
cylinder { 0, <C2X, H, C2Z>, R }
|
cylinder { 0, <C2X, H, C2Z>, R }
|
||||||
@ -105,7 +105,7 @@ prism {
|
|||||||
#macro HexaPole_tubes ()
|
#macro HexaPole_tubes ()
|
||||||
#local R = 0.04;
|
#local R = 0.04;
|
||||||
#local E = 0.58;
|
#local E = 0.58;
|
||||||
#local H = H_cone*1.8;
|
#local H = H_cone*1.5;
|
||||||
union {
|
union {
|
||||||
#for (A, 0, 359, 60)
|
#for (A, 0, 359, 60)
|
||||||
#local Xp = E * cos(radians(A));
|
#local Xp = E * cos(radians(A));
|
||||||
@ -113,7 +113,7 @@ union {
|
|||||||
union {
|
union {
|
||||||
#local H2 = H + rand(Rng1) + rand(Rng1);
|
#local H2 = H + rand(Rng1) + rand(Rng1);
|
||||||
cylinder { 0, y*H2, R }
|
cylinder { 0, y*H2, R }
|
||||||
sphere { 0, R*2 scale <1, 0.666, 1> }
|
sphere { 0, R*2 scale <1, 0.555, 1> }
|
||||||
sphere { 0, R*2 scale <1, 1.555, 1> translate y*H2 }
|
sphere { 0, R*2 scale <1, 1.555, 1> translate y*H2 }
|
||||||
#local Ra = rand(Rng1);
|
#local Ra = rand(Rng1);
|
||||||
#if (Ra < 0.25)
|
#if (Ra < 0.25)
|
||||||
@ -144,7 +144,7 @@ union {
|
|||||||
#macro HexaPole ()
|
#macro HexaPole ()
|
||||||
union {
|
union {
|
||||||
object { Base_hexapole () scale <0.24, 0.2, 0.24> }
|
object { Base_hexapole () scale <0.24, 0.2, 0.24> }
|
||||||
object { HexaPole_tubes () translate y*0.20 }
|
object { HexaPole_tubes () translate y*0.15 }
|
||||||
rotate y*(53*rand(Rng1))
|
rotate y*(53*rand(Rng1))
|
||||||
}
|
}
|
||||||
#end // macro
|
#end // macro
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user