technical change
This commit is contained in:
1 parent
24e0f0f75f
commit
2ea7bc58aa
2 files changed
+13
-10
No files matched your search
+4
-4
@@ -29,22 +29,22 @@
|
||||
// #debug concat("X ", str(posX,7,3), " Z ", str(posZ,7,3), "\n")
|
||||
// #debug concat("position Z ", str(posZ,7,3),"\n")
|
||||
|
||||
#declare Limit = 1.370;
|
||||
#declare Limit = 1.350;
|
||||
#if ( (abs(posX)>Limit) & (abs(posZ)>Limit) ) // position
|
||||
#local Y_mean = Y_mean + posY;
|
||||
#local Y_count = Y_count + 1;
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.33)
|
||||
#if (R < 0.25)
|
||||
object { HexaCone () rotate <Rx, Ry, Rz>
|
||||
translate <posX, posY, posZ> }
|
||||
#elseif (R < 0.50)
|
||||
object { HexaStar rotate y*90 rotate <Rx, Ry, Rz>
|
||||
translate <posX, posY, posZ> }
|
||||
#elseif (R < 0.85)
|
||||
#elseif (R < 0.75)
|
||||
object { HexaBenz () rotate <Rx, Ry, Rz>
|
||||
translate <posX, posY, posZ> }
|
||||
#else
|
||||
object { Un_HexaTube rotate <Rx, Ry, Rz>
|
||||
object { HexaTube rotate <Rx, Ry, Rz>
|
||||
translate <posX, posY, posZ> }
|
||||
#end
|
||||
#end // if position...
|
||||
|
||||
Reference in new issue
Block a user