CreateMeshBuilder,
Addvertex,0.750, 0, 0.3,
Addvertex,0.720, 0, 0.3,
Addvertex,0.800, 0, 5.000,
Addvertex,0.720, 0, 5.000,
Addvertex,0.800, 0, 10.000,
Addvertex,0.720, 0, 10.000,
Addvertex,0.800, 0, 15.000,
Addvertex,0.720, 0, 15.000,
Addvertex,0.800, 0, 20.000,
Addvertex,0.720, 0, 20.000,
Addvertex,0.800, 0, 21.642,
Addvertex,0.720, 0, 21.057,
Addvertex,0.800, 0, 22.226,
Addvertex,0.720, 0, 21.642,
Addvertex,0.800, 0, 25.000,
Addvertex,0.720, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
Addface,15,14,12,13,
GenerateNormals,
LoadTexture, Rail.png
SetTextureCoordinates,0, -0.02, 0,
SetTextureCoordinates,1, 1.02, 1,
SetTextureCoordinates,2, -0.02, 0,
SetTextureCoordinates,3, 1.02, 1,
SetTextureCoordinates,4, -0.02, 0,
SetTextureCoordinates,5, 1.02, 1,
SetTextureCoordinates,6, -0.02, 0,
SetTextureCoordinates,7, 1.02, 1,
SetTextureCoordinates,8, -0.02, 0,
SetTextureCoordinates,9, 1.02, 1,
SetTextureCoordinates,10, -0.02, 0,
SetTextureCoordinates,11, 1.02, 1,
SetTextureCoordinates,12, -0.02, 0,
SetTextureCoordinates,13, 1.02, 1,
SetTextureCoordinates,14, -0.02, 0,
SetTextureCoordinates,15, 1.02, 1,

;Left track, left rail:
CreateMeshBuilder,
Addvertex,-0.800, 0, 0,
Addvertex,-0.800, 0, 25,
Addvertex,-0.720, 0, 25,
Addvertex,-0.720, 0, 0,
Addface,0,1,2,3
GenerateNormals,
LoadTexture, Rail.png
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
Addvertex,-0.81, -0.169, 0,
Addvertex,-0.81, -0.169, 25,
Addvertex,-0.71, -0.169, 25,
Addvertex,-0.71, -0.169, 0,
Addface,0,1,2,3
SetColor,60,43,30

;Right track, right rail:
CreateMeshBuilder,
Addvertex,0.800, 0, 0.000,
Addvertex,0.720, 0, 0.000,
Addvertex,0.876, 0, 5.000,
Addvertex,0.796, 0, 5.000,
Addvertex,1.104, 0, 10.000,
Addvertex,1.024, 0, 10.000,
Addvertex,1.483, 0, 15.000,
Addvertex,1.403, 0, 15.000,
Addvertex,2.015, 0, 20.000,
Addvertex,1.935, 0, 20.000,
Addvertex,2.700, 0, 25.000,
Addvertex,2.620, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
GenerateNormals,
LoadTexture, Rail.png
SetTextureCoordinates,0, -0.02, 1,
SetTextureCoordinates,1, 1.02, 1,
SetTextureCoordinates,2, -0.02, 1,
SetTextureCoordinates,3, 1.02, 1,
SetTextureCoordinates,4, -0.02, 1,
SetTextureCoordinates,5, 1.02, 1,
SetTextureCoordinates,6, -0.02, 1,
SetTextureCoordinates,7, 1.02, 1,
SetTextureCoordinates,8, -0.02, 1,
SetTextureCoordinates,9, 1.02, 1,
SetTextureCoordinates,10, -0.02, 1,
SetTextureCoordinates,11, 1.02, 1,

CreateMeshBuilder,
Addvertex,0.810, -0.169, 0.000,
Addvertex,0.710, -0.169, 0.000,
Addvertex,0.886, -0.169, 5.000,
Addvertex,0.786, -0.169, 5.000,
Addvertex,1.114, -0.169, 10.000,
Addvertex,1.014, -0.169, 10.000,
Addvertex,1.493, -0.169, 15.000,
Addvertex,1.393, -0.169, 15.000,
Addvertex,2.025, -0.169, 20.000,
Addvertex,1.925, -0.169, 20.000,
Addvertex,2.710, -0.169, 25.000,
Addvertex,2.610, -0.169, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
SetColor,60,43,30

;Right track, left rail:
CreateMeshBuilder,
Addvertex,-0.585, 0, 0.3,
Addvertex,-0.610, 0, 0.3,
Addvertex,-0.544, 0, 5.000,
Addvertex,-0.624, 0, 5.000,
Addvertex,-0.366, 0, 10.000,
Addvertex,-0.446, 0, 10.000,
Addvertex,-0.037, 0, 15.000,
Addvertex,-0.117, 0, 15.000,
Addvertex,0.495, 0, 20.000,
Addvertex,0.415, 0, 20.000,
Addvertex,0.640, 0, 21.057,
Addvertex,0.640, 0, 21.642,
Addvertex,0.720, 0, 21.642,
Addvertex,0.720, 0, 22.226,
Addvertex,1.180, 0, 25.000,
Addvertex,1.100, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
Addface,15,14,12,13,
GenerateNormals,
LoadTexture, Rail.png
SetTextureCoordinates,0, 1.02, 1,
SetTextureCoordinates,1, -0.02, 1,
SetTextureCoordinates,2, 1.02, 1,
SetTextureCoordinates,3, -0.02, 1,
SetTextureCoordinates,4, 1.02, 1,
SetTextureCoordinates,5, -0.02, 1,
SetTextureCoordinates,6, 1.02, 1,
SetTextureCoordinates,7, -0.02, 1,
SetTextureCoordinates,8, 1.02, 1,
SetTextureCoordinates,9, -0.02, 1,
SetTextureCoordinates,10, 1.02, 1,
SetTextureCoordinates,11, -0.02, 1,
SetTextureCoordinates,12, 1.02, 1,
SetTextureCoordinates,13, -0.02, 1,
SetTextureCoordinates,14, 1.02, 1,
SetTextureCoordinates,15, -0.02, 1,

;Ballast right:
CreateMeshBuilder,
Addvertex,1.14, -0.17, 0,
Addvertex,2.800, -0.4, 0,
Addvertex,1.23, -0.17, 5,
Addvertex,2.876, -0.4, 5,
Addvertex,1.43, -0.17, 10,
Addvertex,3.104, -0.4, 10,
Addvertex,1.83, -0.17, 15,
Addvertex,3.483, -0.4, 15,
Addvertex,2.36, -0.17, 20,
Addvertex,4.015, -0.4, 20,
Addvertex,3.06, -0.17, 25,
Addvertex,4.700, -0.4, 25,
Addface,1,0,2,3,
Addface,3,2,4,5,
Addface,5,4,6,7,
Addface,7,6,8,9,
Addface,9,8,10,11,
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 0, 1,
SetTextureCoordinates,2, 2, 0,
SetTextureCoordinates,3, 2, 1,
SetTextureCoordinates,4, 4, 0,
SetTextureCoordinates,5, 4, 1,
SetTextureCoordinates,6, 6, 0,
SetTextureCoordinates,7, 6, 1,
SetTextureCoordinates,8, 8, 0,
SetTextureCoordinates,9, 8, 1,
SetTextureCoordinates,10, 10, 0,
SetTextureCoordinates,11, 10, 1,

;Ballast left:
CreateMeshBuilder,
Addvertex,1.13, -0.4, 1.2,
Addvertex,1.13, -0.4, 25,
Addvertex,2.8, -0.17, 25,
Addvertex,2.8, -0.17, 1.2,
Translate, -3.9,0,0
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0, 9.6,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 9.6,

CreateMeshBuilder,
Addvertex,2.3, -0.4, 0,
Addvertex,2.3, -0.4, 1.2,
Addvertex,2.8, -0.331, 1.2,
Addvertex,2.8, -0.331, 0,
Translate, -5.07,0,0
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0.7, 1,
SetTextureCoordinates,1, 0.7, 0.6,
SetTextureCoordinates,2, 1, 0.6,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
Addvertex,1.13, -0.331, 0,
Addvertex,1.13, -0.331, 0.45,
Addvertex,2.3, -0.17, 0.45,
Addvertex,2.3, -0.17, 0,
Translate, -3.4,0,0
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.85,
SetTextureCoordinates,2, 0.7, 0.85,
SetTextureCoordinates,3, 0.7, 1,

;Sleepers left:

CreateMeshBuilder,
Addvertex,-1.11, -0.17, 0,
Addvertex,0.000, -0.17, 0,
Addvertex,-1.11, -0.17, 5,
Addvertex,0.038, -0.17, 5,
Addvertex,-1.11, -0.17, 10,
Addvertex,0.152, -0.17, 10,
Addvertex,-1.11, -0.17, 15,
Addvertex,0.342, -0.17, 15,
Addvertex,-1.11, -0.17, 20,
Addvertex,0.608, -0.17, 20,
Addvertex,-1.11, -0.17, 25,
Addvertex,0.950, -0.17, 25,
Addface,1,0,2,3,
Addface,3,2,4,5,
Addface,5,4,6,7,
Addface,7,6,8,9,
Addface,9,8,10,11,
GenerateNormals,
LoadTexture,weiche1b.png,
SetTextureCoordinates,0, 1.005, 0,
SetTextureCoordinates,1, 0.750, 0,
SetTextureCoordinates,2, 1.005, -2,
SetTextureCoordinates,3, 0.743, -2,
SetTextureCoordinates,4, 1.005, -4,
SetTextureCoordinates,5, 0.722, -4,
SetTextureCoordinates,6, 1.005, -6,
SetTextureCoordinates,7, 0.687, -6,
SetTextureCoordinates,8, 1.005, -8,
SetTextureCoordinates,9, 0.637, -8,
SetTextureCoordinates,10, 1.005, -10,
SetTextureCoordinates,11, 0.545, -10,

;Sleepers right:

CreateMeshBuilder,
Addvertex,1.14, -0.17, 0,
Addvertex,0.000, -0.17, 0,
Addvertex,1.23, -0.17, 5,
Addvertex,0.038, -0.17, 5,
Addvertex,1.43, -0.17, 10,
Addvertex,0.152, -0.17, 10,
Addvertex,1.83, -0.17, 15,
Addvertex,0.342, -0.17, 15,
Addvertex,2.36, -0.17, 20,
Addvertex,0.608, -0.17, 20,
Addvertex,3.06, -0.17, 25,
Addvertex,0.950, -0.17, 25,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
GenerateNormals,
LoadTexture,weiche1b.png,
SetTextureCoordinates,0, 1.005, 0,
SetTextureCoordinates,1, 0.77, 0,
SetTextureCoordinates,2, 1.005, -2,
SetTextureCoordinates,3, 0.76, -2,
SetTextureCoordinates,4, 1.005, -4,
SetTextureCoordinates,5, 0.74, -4,
SetTextureCoordinates,6, 1.005, -6,
SetTextureCoordinates,7, 0.69, -6,
SetTextureCoordinates,8, 1.005, -8,
SetTextureCoordinates,9, 0.64, -8,
SetTextureCoordinates,10, 1.005, -10,
SetTextureCoordinates,11, 0.58, -10,

;Closure rails:

CreateMeshBuilder,
Addvertex,0.560, -0.001, 22.642,
Addvertex,0.640, -0.001, 22.642,
Addvertex,0.640, -0.001, 21.642,
Addvertex,0.580, -0.001, 20.957,
Addface,0,1,2,3,
SetColor,60,43,30
GenerateNormals,

CreateMeshBuilder,
Addvertex,1.017, -0.001, 22.642,
Addvertex,0.937, -0.001, 22.642,
Addvertex,0.800, -0.001, 21.642,
Addvertex,0.780, -0.001, 20.957,
Addface,3,2,1,0,
SetColor,60,43,30

;Left track, right 3D-rail:

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.760, -0.01, 0.000,
Addvertex,0.760,-0.17, 0.000,
Addvertex,0.760, -0.01, 5.000,
Addvertex,0.760,-0.17, 5.000,
Addvertex,0.760, -0.01, 10.000,
Addvertex,0.760,-0.17, 10.000,
Addvertex,0.760, -0.01, 15.000,
Addvertex,0.760,-0.17, 15.000,
Addvertex,0.760, -0.01, 20.000,
Addvertex,0.760,-0.17, 20.000,
Addvertex,0.760, -0.01, 21.057,
Addvertex,0.760,-0.17, 21.057,
Addvertex,0.760, -0.01, 22.226,
Addvertex,0.760,-0.17, 22.226,
Addvertex,0.760, -0.01, 25.000,
Addvertex,0.760,-0.17, 25.000,
Addface,3,2,0,1,
Addface,1,0,2,3,
Addface,5,4,2,3,
Addface,3,2,4,5,
Addface,7,6,4,5,
Addface,5,4,6,7,
Addface,9,8,6,7,
Addface,7,6,8,9,
Addface,11,10,8,9,
Addface,9,8,10,11,
Addface,15,14,12,13,
Addface,13,12,14,15,
SetColor,60,43,30

;Right track, left 3D-rail:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.610, -0.01, 0.3,
Addvertex,-0.610,-0.17, 0.3,
Addvertex,-0.584, -0.01, 5.000,
Addvertex,-0.584,-0.17, 5.000,
Addvertex,-0.406, -0.01, 10.000,
Addvertex,-0.406,-0.17, 10.000,
Addvertex,-0.077, -0.01, 15.000,
Addvertex,-0.077,-0.17, 15.000,
Addvertex,0.455, -0.01, 20.000,
Addvertex,0.455,-0.17, 20.000,
Addvertex,0.600, -0.01, 21.057,
Addvertex,0.600,-0.17, 21.057,
Addvertex,0.760, -0.01, 22.226,
Addvertex,0.760,-0.17, 22.226,
Addvertex,1.140, -0.01, 25.000,
Addvertex,1.140,-0.17, 25.000,
Addface,3,2,0,1,
Addface,1,0,2,3,
Addface,5,4,2,3,
Addface,3,2,4,5,
Addface,7,6,4,5,
Addface,5,4,6,7,
Addface,9,8,6,7,
Addface,7,6,8,9,
Addface,11,10,8,9,
Addface,9,8,10,11,
Addface,15,14,12,13,
Addface,13,12,14,15,
SetColor,60,43,30

;Right track, right 3D-rail:

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.760, -0.01, 0.000,
Addvertex,0.760, -0.17, 0.000,
Addvertex,0.836, -0.01, 5.000,
Addvertex,0.836, -0.17, 5.000,
Addvertex,1.064, -0.01, 10.000,
Addvertex,1.064, -0.17, 10.000,
Addvertex,1.443, -0.01, 15.000,
Addvertex,1.443, -0.17, 15.000,
Addvertex,1.975, -0.01, 20.000,
Addvertex,1.975, -0.17, 20.000,
Addvertex,2.660, -0.01, 25.000,
Addvertex,2.660, -0.17, 25.000,
Addface,3,2,0,1,
Addface,1,0,2,3,
Addface,5,4,2,3,
Addface,3,2,4,5,
Addface,7,6,4,5,
Addface,5,4,6,7,
Addface,9,8,6,7,
Addface,7,6,8,9,
Addface,11,10,8,9,
Addface,9,8,10,11,
SetColor,60,43,30

;Left track, left 3D-rail:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.760, -0.17, 0.000,
Addvertex,-0.760, -0.01, 0.000,
Addvertex,-0.760, -0.01, 25.000,
Addvertex,-0.760, -0.17, 25.000,
Addface2,0,1,2,3
SetColor,60,43,30

;3D-closure rails:

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.600, -0.17, 22.642,
Addvertex,0.600, -0.01, 22.642,
Addvertex,0.600, -0.01, 21.057,
Addvertex,0.600, -0.17, 21.057,
Addface,0,1,2,3,
Addface,3,2,1,0,
SetColor,60,43,30

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.977, -0.17, 22.642,
Addvertex,0.977, -0.01, 22.642,
Addvertex,0.760, -0.01, 21.057,
Addvertex,0.760, -0.17, 21.057,
Addface,0,1,2,3,
Addface,3,2,1,0,
SetColor,60,43,30

;Guard rails left:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.600, 0, 22.300,
Addvertex,-0.560, 0, 22.300,
Addvertex,-0.640, 0, 21.800,
Addvertex,-0.560, 0, 21.800,
Addvertex,-0.640, 0, 20.000,
Addvertex,-0.560, 0, 20.000,
Addvertex,-0.640, 0, 19.300,
Addvertex,-0.560, 0, 19.300,
Addvertex,-0.600, 0, 18.800,
Addvertex,-0.560, 0, 18.800,
Addface,0,1,3,2,
Addface,2,3,5,4,
Addface,4,5,7,6,
Addface,6,7,9,8,
SetColor,60,43,30

;Guard rails right:

GenerateNormals,

CreateMeshBuilder,
Addvertex,2.130, 0, 22.300,
Addvertex,2.090, 0, 22.300,
Addvertex,2.102, 0, 21.800,
Addvertex,2.022, 0, 21.800,
Addvertex,1.855, 0, 20.000,
Addvertex,1.775, 0, 20.000,
Addvertex,1.781, 0, 19.300,
Addvertex,1.701, 0, 19.300,
Addvertex,1.687, 0, 18.800,
Addvertex,1.647, 0, 18.800,
Addface,2,3,1,0,
Addface,4,5,3,2,
Addface,6,7,5,4,
Addface,8,9,7,6,
SetColor,60,43,30

;3D-Guard rails left:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.600, 0, 22.300,
Addvertex,-0.600, -0.17, 22.300,
Addvertex,-0.640, 0, 21.800,
Addvertex,-0.640, -0.17, 21.800,
Addvertex,-0.640, 0, 20.000,
Addvertex,-0.640, -0.17, 20.000,
Addvertex,-0.640, 0, 19.300,
Addvertex,-0.640, -0.17, 19.300,
Addvertex,-0.600, 0, 18.800,
Addvertex,-0.600, -0.17, 18.800,
Addface,0,1,3,2,
Addface,2,3,1,0,
Addface,2,3,5,4,
Addface,4,5,3,2,
Addface,4,5,7,6,
Addface,6,7,5,4,
Addface,6,7,9,8,
Addface,8,9,7,6,
SetColor,60,43,30

;3D-Guard rails right:

GenerateNormals,

CreateMeshBuilder,
Addvertex,2.130, 0, 22.300,
Addvertex,2.130, -0.17, 22.300,
Addvertex,2.102, 0, 21.800,
Addvertex,2.102, -0.17, 21.800,
Addvertex,1.855, 0, 20.000,
Addvertex,1.855, -0.17, 20.000,
Addvertex,1.781, 0, 19.300,
Addvertex,1.781, -0.17, 19.300,
Addvertex,1.687, 0, 18.800,
Addvertex,1.687, -0.17, 18.800,
Addface,0,1,3,2,
Addface,2,3,1,0,
Addface,2,3,5,4,
Addface,4,5,3,2,
Addface,4,5,7,6,
Addface,6,7,5,4,
Addface,6,7,9,8,
Addface,8,9,7,6,
SetColor,60,43,30

;Overhead line right:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.02, 5.5, 0,
Addvertex,0.02, 5.5, 0,
Addvertex,1.920, 5.5, 25,
Addvertex,1.880, 5.5, 25,
Addface,0,1,2,3,
SetColor,0,0,0,

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 0,
Addvertex,0.01, 6.5, 0,
Addvertex,1.910,6.5, 25,
Addvertex,1.890, 6.5, 25,
Addface,0,1,2,3,
SetColor,0,0,0,

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.010, 6.5, 0,
Addvertex,0.010, 6.5, 0,
Addvertex,0.010, 5.5, 0,
Addvertex,-0.010, 5.5, 0,
Addface,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,0.370, 6.5, 5,
Addvertex,0.390, 6.5, 5,
Addvertex,0.390, 5.5, 5,
Addvertex,0.370, 5.5, 5,
Addface,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,0.750, 6.5, 10,
Addvertex,0.770, 6.5, 10,
Addvertex,0.770, 5.5, 10,
Addvertex,0.750, 5.5, 10,
Addface,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,1.130, 6.5, 15,
Addvertex,1.150, 6.5, 15,
Addvertex,1.150, 5.5, 15,
Addvertex,1.130, 5.5, 15,
Addface,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,1.510, 6.5, 20,
Addvertex,1.530, 6.5, 20,
Addvertex,1.530, 5.5, 20,
Addvertex,1.510, 5.5, 20,
Addface,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,1.890, 6.5, 25,
Addvertex,1.910, 6.5, 25,
Addvertex,1.910, 5.5, 25,
Addvertex,1.890, 5.5, 25,
Addface,0,1,2,3,
SetColor,0,0,0,

;Overhead line left:
;;;;
CreateMeshBuilder,
Addvertex,-0.01, 5.5, -0.05,
Addvertex,-0.01, 5.5, 25.05,
Addvertex,0.01, 5.5, 25.05,
Addvertex,0.01, 5.5, -0.05,
Addface,3,2,1,0
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.01, 5.5, 25.05,
Addvertex,-0.01, 5.51, 25.05,
Addvertex,-0.01, 5.51, -0.05,
Addvertex,-0.01, 5.5, -0.05,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.01, 5.5, 25.05,
Addvertex,0.01, 5.51, 25.05,
Addvertex,0.01, 5.51, -0.05,
Addvertex,0.01, 5.5, -0.05,
Addface,3,2,1,0
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.01, 5.51, -0.05,
Addvertex,-0.01, 5.51, 25.05,
Addvertex,0.01, 5.51, 25.05,
Addvertex,0.01, 5.51, -0.05,
Addface,0,1,2,3
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.01, 6.5, -0.05,
Addvertex,-0.01, 6.5, 25.05,
Addvertex,0.01, 6.5, 25.05,
Addvertex,0.01, 6.5, -0.05,
Addface,3,2,1,0
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 25.05,
Addvertex,-0.01, 6.51, 25.05,
Addvertex,-0.01, 6.51, -0.05,
Addvertex,-0.01, 6.5, -0.05,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.01, 6.5, 25.05,
Addvertex,0.01, 6.51, 25.05,
Addvertex,0.01, 6.51, -0.05,
Addvertex,0.01, 6.5, -0.05,
Addface,3,2,1,0
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.01, 6.51, -0.05,
Addvertex,-0.01, 6.51, 25.05,
Addvertex,0.01, 6.51, 25.05,
Addvertex,0.01, 6.51, -0.05,
Addface,0,1,2,3
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 0,
Addvertex,-0.005, 6.5, 0,
Addvertex,0.005, 6.5, 0,
Addvertex,0.005, 5.51, 0,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 0.005,
Addvertex,-0.005, 6.5, 0.005,
Addvertex,-0.005, 6.5, 0,
Addvertex,-0.005, 5.51, 0,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 0,
Addvertex,0.005, 6.5, 0,
Addvertex,0.005, 6.5, 0.005,
Addvertex,0.005, 5.51, 0.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 0.005,
Addvertex,-0.005, 6.5, 0.005,
Addvertex,0.005, 6.5, 0.005,
Addvertex,0.005, 5.51, 0.005,
Addface,3,2,1,0
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 5,
Addvertex,-0.005, 6.5, 5,
Addvertex,0.005, 6.5, 5,
Addvertex,0.005, 5.51, 5,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 5.005,
Addvertex,-0.005, 6.5, 5.005,
Addvertex,-0.005, 6.5, 5,
Addvertex,-0.005, 5.51, 5,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 5,
Addvertex,0.005, 6.5, 5,
Addvertex,0.005, 6.5, 5.005,
Addvertex,0.005, 5.51, 5.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 5.005,
Addvertex,-0.005, 6.5, 5.005,
Addvertex,0.005, 6.5, 5.005,
Addvertex,0.005, 5.51, 5.005,
Addface,3,2,1,0
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 10,
Addvertex,-0.005, 6.5, 10,
Addvertex,0.005, 6.5, 10,
Addvertex,0.005, 5.51, 10,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 10.005,
Addvertex,-0.005, 6.5, 10.005,
Addvertex,-0.005, 6.5, 10,
Addvertex,-0.005, 5.51, 10,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 10,
Addvertex,0.005, 6.5, 10,
Addvertex,0.005, 6.5, 10.005,
Addvertex,0.005, 5.51, 10.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 10.005,
Addvertex,-0.005, 6.5, 10.005,
Addvertex,0.005, 6.5, 10.005,
Addvertex,0.005, 5.51, 10.005,
Addface,3,2,1,0
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 15,
Addvertex,-0.005, 6.5, 15,
Addvertex,0.005, 6.5, 15,
Addvertex,0.005, 5.51, 15,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 15.005,
Addvertex,-0.005, 6.5, 15.005,
Addvertex,-0.005, 6.5, 15,
Addvertex,-0.005, 5.51, 15,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 15,
Addvertex,0.005, 6.5, 15,
Addvertex,0.005, 6.5, 15.005,
Addvertex,0.005, 5.51, 15.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 15.005,
Addvertex,-0.005, 6.5, 15.005,
Addvertex,0.005, 6.5, 15.005,
Addvertex,0.005, 5.51, 15.005,
Addface,3,2,1,0
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 20,
Addvertex,-0.005, 6.5, 20,
Addvertex,0.005, 6.5, 20,
Addvertex,0.005, 5.51, 20,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 20.005,
Addvertex,-0.005, 6.5, 20.005,
Addvertex,-0.005, 6.5, 20,
Addvertex,-0.005, 5.51, 20,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 20,
Addvertex,0.005, 6.5, 20,
Addvertex,0.005, 6.5, 20.005,
Addvertex,0.005, 5.51, 20.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 20.005,
Addvertex,-0.005, 6.5, 20.005,
Addvertex,0.005, 6.5, 20.005,
Addvertex,0.005, 5.51, 20.005,
Addface,3,2,1,0
SetColor,50,50,50

;;;;
CreateMeshBuilder,
Addvertex,-0.005, 5.51, 25,
Addvertex,-0.005, 6.5, 25,
Addvertex,0.005, 6.5, 25,
Addvertex,0.005, 5.51, 25,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 25.005,
Addvertex,-0.005, 6.5, 25.005,
Addvertex,-0.005, 6.5, 25,
Addvertex,-0.005, 5.51, 25,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,0.005, 5.51, 25,
Addvertex,0.005, 6.5, 25,
Addvertex,0.005, 6.5, 25.005,
Addvertex,0.005, 5.51, 25.005,
Addface,0,1,2,3
SetColor,50,50,50

CreateMeshBuilder,
Addvertex,-0.005, 5.51, 25.005,
Addvertex,-0.005, 6.5, 25.005,
Addvertex,0.005, 6.5, 25.005,
Addvertex,0.005, 5.51, 25.005,
Addface,3,2,1,0
SetColor,50,50,50

;ej
CreateMeshBuilder,
AddVertex,1.45, -0.12, 0.65,
AddVertex,1.45, -0.12, 0.95,
AddVertex,1.95, -0.12, 0.95,
AddVertex,1.95, -0.12, 0.65,
Translate,-3.38,0,0,
AddFace,0, 1, 2, 3,
GenerateNormals,
LoadTexture,rozvod_vyhybka.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.45, -0.27, 0.65,
AddVertex,1.45, -0.12, 0.65,
AddVertex,1.95, -0.12, 0.65,
AddVertex,1.95, -0.27, 0.65,
Translate,-3.38,0,0,
AddFace,0, 1, 2, 3,
GenerateNormals,
LoadTexture,rozvod_vyhybka_bok.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.45, -0.27, 0.65,
AddVertex,1.45, -0.12, 0.65,
AddVertex,1.45, -0.12, 0.95,
AddVertex,1.45, -0.27, 0.95,
Translate,-3.38,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,rozvod_vyhybka_bok.png,
SetTextureCoordinates,0,0.6,1,
SetTextureCoordinates,1,0.6,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.45, -0.27, 0.95,
AddVertex,1.45, -0.12, 0.95,
AddVertex,1.95, -0.12, 0.95,
AddVertex,1.95, -0.27, 0.95,
Translate,-3.38,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,rozvod_vyhybka_bok.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.95, -0.27, 0.65,
AddVertex,1.95, -0.12, 0.65,
AddVertex,1.95, -0.12, 0.95,
AddVertex,1.95, -0.27, 0.95,
Translate,-3.38,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,rozvod_vyhybka_bok.png,
SetTextureCoordinates,0,0.6,1,
SetTextureCoordinates,1,0.6,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.13, -0.17, 0.72,
AddVertex,1.13, -0.17, 0.88,
AddVertex,1.45, -0.17, 0.88,
AddVertex,1.45, -0.17, 0.72,
Translate,-2.56,0,0,
AddFace,0, 1, 2, 3,
GenerateNormals,
LoadTexture,rozvod_vyhybka_kryt.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.13, -0.27, 0.72,
AddVertex,1.13, -0.17, 0.72,
AddVertex,1.45, -0.17, 0.72,
AddVertex,1.45, -0.27, 0.72,
Translate,-2.56,0,0,
AddFace,0,1,2,3,
GenerateNormals,
LoadTexture,rozvod_vyhybka_kryt_bok.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.02,
SetTextureCoordinates,2,1,0.02,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,1.13, -0.27, 0.88,
AddVertex,1.13, -0.17, 0.88,
AddVertex,1.45, -0.17, 0.88,
AddVertex,1.45, -0.27, 0.88,
Translate,-2.56,0,0,
AddFace,3,2,1,0,
GenerateNormals,
LoadTexture,rozvod_vyhybka_kryt_bok.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

;ohrada
CreateMeshBuilder,
AddVertex,1.13, -0.36, 1.2,
AddVertex,1.13, -0.1, 1.2,
AddVertex,2.3, -0.1, 1.2,
AddVertex,2.3, -0.36, 1.2,
Translate,-3.41,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.53,
SetTextureCoordinates,2,0.35,0.53,
SetTextureCoordinates,3,0.35,1,

CreateMeshBuilder,
AddVertex,1.13, -0.1, 1.16,
AddVertex,1.13, -0.1, 1.2,
AddVertex,2.26, -0.1, 1.2,
AddVertex,2.26, -0.1, 1.16,
Translate,-3.37,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0.35,0.47,
SetTextureCoordinates,1,0.35,0.53,
SetTextureCoordinates,2,0,0.53,
SetTextureCoordinates,3,0,0.47,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 1.16,
AddVertex,1.13, -0.1, 1.16,
AddVertex,2.26, -0.1, 1.16,
AddVertex,2.26, -0.36, 1.16,
Translate,-3.37,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,0.47,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.35,0,
SetTextureCoordinates,3,0.35,0.47,

CreateMeshBuilder,
AddVertex,2.26, -0.36, 1.16,
AddVertex,2.26, -0.1, 1.16,
AddVertex,2.26, -0.1, 0.49,
AddVertex,2.26, -0.36, 0.49,
Translate,-4.5,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0.35,0.47,
SetTextureCoordinates,1,0.35,0,
SetTextureCoordinates,2,0.65,0,
SetTextureCoordinates,3,0.65,0.47,

CreateMeshBuilder,
AddVertex,2.26, -0.1, 1.2,
AddVertex,2.3, -0.1, 1.2,
AddVertex,2.3, -0.1, 0.45,
AddVertex,2.26, -0.1, 0.45,
Translate,-4.54,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0.35,0.47,
SetTextureCoordinates,1,0.35,0,
SetTextureCoordinates,2,0.65,0,
SetTextureCoordinates,3,0.65,0.47,

CreateMeshBuilder,
AddVertex,2.3, -0.36, 1.2,
AddVertex,2.3, -0.1, 1.2,
AddVertex,2.3, -0.1, 0.45,
AddVertex,2.3, -0.36, 0.45,
Translate,-4.58,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0.35,1,
SetTextureCoordinates,1,0.35,0.53,
SetTextureCoordinates,2,0.65,0.53,
SetTextureCoordinates,3,0.65,1,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 0.45,
AddVertex,1.13, -0.1, 0.45,
AddVertex,2.3, -0.1, 0.45,
AddVertex,2.3, -0.36, 0.45,
Translate,-3.41,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.53,
SetTextureCoordinates,2,0.65,0.53,
SetTextureCoordinates,3,0.65,1,

CreateMeshBuilder,
AddVertex,1.13, -0.1, 0.45,
AddVertex,1.13, -0.1, 0.49,
AddVertex,2.26, -0.1, 0.49,
AddVertex,2.26, -0.1, 0.45,
Translate,-3.37,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,1,0.53,
SetTextureCoordinates,1,1,0.47,
SetTextureCoordinates,2,0.65,0.47,
SetTextureCoordinates,3,0.65,0.53,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 0.49,
AddVertex,1.13, -0.1, 0.49,
AddVertex,2.26, -0.1, 0.49,
AddVertex,2.26, -0.36, 0.49,
Translate,-3.37,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.47,
SetTextureCoordinates,2,0.35,0.47,
SetTextureCoordinates,3,0.35,0,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 0.45,
AddVertex,1.13, -0.17, 0.45,
AddVertex,1.13, -0.17, 1.2,
AddVertex,1.13, -0.36, 1.2,
Translate,-2.24,0,0,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.47,
SetTextureCoordinates,2,0.35,0.47,
SetTextureCoordinates,3,0.35,0,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 0.49,
AddVertex,1.13, -0.1, 0.49,
AddVertex,1.13, -0.1, 0.45,
AddVertex,1.13, -0.36, 0.45,
Translate,-2.25,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.47,
SetTextureCoordinates,2,0.1,0.47,
SetTextureCoordinates,3,0.1,0,

CreateMeshBuilder,
AddVertex,1.13, -0.36, 1.2,
AddVertex,1.13, -0.1, 1.2,
AddVertex,1.13, -0.1, 1.16,
AddVertex,1.13, -0.36, 1.16,
Translate,-2.25,0,0,
AddFace,3,2,1,0
GenerateNormals,
LoadTexture,..\Scenery\beton.png
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.47,
SetTextureCoordinates,2,0.1,0.47,
SetTextureCoordinates,3,0.1,0,

CreateMeshBuilder,
AddVertex,1.13, -0.25, 0.49,
AddVertex,1.13, -0.25, 1.2,
AddVertex,2.26, -0.25, 1.2,
AddVertex,2.26, -0.25, 0.49,
Translate,-3.37,0,0,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,crack.png,
SetTextureCoordinates,0,1.5,1,
SetTextureCoordinates,1,1.5,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
