;//JR東日本211系,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,1.36,1,-19.5
AddVertex,1.475,1.6,-19.5
AddVertex,1.475,3.4,-19.5
AddVertex,1.425,3.495,-19.5
AddVertex,1.325,3.565,-19.5
AddVertex,0.97,3.635,-19.5
AddVertex,0.46,3.7,-19.5
AddVertex,0,3.72,-19.5
AddVertex,-0.46,3.7,-19.5
AddVertex,-0.97,3.635,-19.5
AddVertex,-1.325,3.565,-19.5
AddVertex,-1.425,3.495,-19.5
AddVertex,-1.475,3.4,-19.5
AddVertex,-1.475,1.6,-19.5,
AddVertex,-1.36,1,-19.5,
AddFace,0,14,13,1
AddFace,1,13,12,2
AddFace,2,12,11,3
AddFace,3,11,10,4
AddFace,4,10,9,5
AddFace,5,9,8,6
AddFace,6,8,7,
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結幌,,
AddVertex     ,-0.38,3.2,-20,
AddVertex     ,-0.38,3.2,-19.5,
AddVertex     ,0.38,3.2,-19.5,
AddVertex     ,0.38,3.2,-20,
AddVertex     ,0.45,3.13,-19.5,
AddVertex     ,0.45,3.13,-20,
AddVertex     ,0.45,1.19,-19.5,
AddVertex     ,0.45,1.19,-20,
AddVertex     ,0.38,1.12,-19.5,
AddVertex     ,0.38,1.12,-20,
AddVertex     ,-0.45,3.13,-20,
AddVertex     ,-0.45,3.13,-19.5,
AddVertex     ,-0.45,1.19,-19.5,
AddVertex     ,-0.45,1.19,-20,
AddVertex     ,-0.38,1.12,-19.5,
AddVertex     ,-0.38,1.12,-20,
AddFace2,0,1,2,3
AddFace2,4,2,3,5
AddFace2,6,4,5,7
AddFace2,8,6,7,9
AddFace2,1,11,10,0
AddFace2,11,12,13,10
AddFace2,12,14,15,13
AddFace2,8,14,15,9
GenerateNormals,,,,

LoadTexture,horo.bmp,,,
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,0,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,1,0,
SetTextureCoordinates,6,0,5,
SetTextureCoordinates,7,1,0
SetTextureCoordinates,8,0,1
SetTextureCoordinates,9,1,0
SetTextureCoordinates,10,1,0
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,0,5
SetTextureCoordinates,13,1,0
SetTextureCoordinates,14,0,1
SetTextureCoordinates,15,1,0


CreateMeshBuilder,,;//左側面,
AddVertex,1.36,1,-19.5
AddVertex,1.475,1.6,-19.5
AddVertex,1.475,3.4,-19.5
AddVertex,1.36,1,0
AddVertex,1.475,1.6,0,
AddVertex,1.475,3.4,0,
AddFace,0,1,4,3
AddFace,1,2,5,4
GenerateNormals,,,,

LoadTexture,side2.bmp,,,
SetTextureCoordinates,0,0.001,0.998,
SetTextureCoordinates,1,0.001,0.75,
SetTextureCoordinates,2,0.001,0,
SetTextureCoordinates,3,0.999,0.998,
SetTextureCoordinates,4,0.999,0.75,
SetTextureCoordinates,5,0.999,0,


CreateMeshBuilder,,;//左側面転落防止幌,,
AddVertex,1.41,1.27,0,
AddVertex,1.41,2.42,0,
AddVertex,1.41,2.42,0.2,
AddVertex,1.41,1.27,0.2,
AddVertex,1.41,1.27,-19.5,
AddVertex,1.41,2.42,-19.5,
AddVertex,1.41,2.42,-19.7,
AddVertex,1.41,1.27,-19.7,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,horo2.bmp,,,
SetTextureCoordinates,0,0.01,1,
SetTextureCoordinates,1,0.01,0,
SetTextureCoordinates,2,0.99,0,
SetTextureCoordinates,3,0.99,1,
SetTextureCoordinates,4,0.01,1,
SetTextureCoordinates,5,0.01,0,
SetTextureCoordinates,6,0.99,0,
SetTextureCoordinates,7,0.99,1,


CreateMeshBuilder,,;//右側面,,
AddVertex,-1.36,1,-19.5,
AddVertex,-1.475,1.6,-19.5,
AddVertex,-1.475,3.4,-19.5,
AddVertex,-1.36,1,0,
AddVertex,-1.475,1.6,0,
AddVertex,-1.475,3.4,0,
AddFace,0,3,4,1
AddFace,1,4,5,2
GenerateNormals,,,

LoadTexture,side2-2.bmp,,
SetTextureCoordinates,0,0.001,0.998
SetTextureCoordinates,1,0.001,0.75
SetTextureCoordinates,2,0.001,0
SetTextureCoordinates,3,0.999,0.998
SetTextureCoordinates,4,0.999,0.75
SetTextureCoordinates,5,0.999,0


CreateMeshBuilder,,;//右側面転落防止幌,
AddVertex,-1.41,1.27,0
AddVertex,-1.41,2.42,0
AddVertex,-1.41,2.42,0.2
AddVertex,-1.41,1.27,0.2
AddVertex,-1.41,1.27,-19.5,
AddVertex,-1.41,2.42,-19.5,
AddVertex,-1.41,2.42,-19.7,
AddVertex,-1.41,1.27,-19.7,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,horo2.bmp,,,
SetTextureCoordinates,0,0.01,1,
SetTextureCoordinates,1,0.01,0,
SetTextureCoordinates,2,0.99,0,
SetTextureCoordinates,3,0.99,1,
SetTextureCoordinates,4,0.01,1,
SetTextureCoordinates,5,0.01,0,
SetTextureCoordinates,6,0.99,0,
SetTextureCoordinates,7,0.99,1


CreateMeshBuilder,,;//後面,
AddVertex,1.36,1,0
AddVertex,1.475,1.6,0
AddVertex,1.475,3.4,0
AddVertex,1.425,3.495,0
AddVertex,1.325,3.565,0
AddVertex,0.97,3.635,0
AddVertex,0.46,3.7,0
AddVertex,0,3.72,0
AddVertex,-0.46,3.7,0
AddVertex,-0.97,3.635,0
AddVertex,-1.325,3.565,0
AddVertex,-1.425,3.495,0
AddVertex,-1.475,3.4,0,
AddVertex,-1.475,1.6,0,
AddVertex,-1.36,1,0,
AddFace,0,1,13,14
AddFace,1,2,12,13
AddFace,2,3,11,12
AddFace,3,4,10,11
AddFace,4,5,9,10
AddFace,5,6,8,9
AddFace,6,7,8,
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//底面,,
AddVertex,-1.36,1,0,
AddVertex,-1.36,1,-19.5,
AddVertex,1.36,1,-19.5,
AddVertex,1.36,1,0,
AddFace,0,1,2,3
SetColor,0,0,0,
GenerateNormals,,,,


;------屋根------,,,,
CreateMeshBuilder,,;//屋根,,
AddVertex,-1.475,3.4,-19.5,
AddVertex,-1.425,3.495,-19.5,
AddVertex,-1.325,3.565,-19.5,
AddVertex,-0.97,3.635,-19.5,
AddVertex,-0.46,3.7,-19.5,
AddVertex,0,3.72,-19.5,
AddVertex,0.46,3.7,-19.5
AddVertex,0.97,3.635,-19.5
AddVertex,1.325,3.565,-19.5
AddVertex,1.425,3.495,-19.5
AddVertex,1.475,3.4,-19.5
AddVertex,-1.475,3.4,0
AddVertex,-1.425,3.495,0
AddVertex,-1.325,3.565,0
AddVertex,-0.97,3.635,0
AddVertex,-0.46,3.7,0
AddVertex,0,3.72,0
AddVertex,0.46,3.7,0
AddVertex,0.97,3.635,0
AddVertex,1.325,3.565,0
AddVertex,1.425,3.495,0
AddVertex,1.475,3.4,0
AddFace,1,0,11,12
AddFace,2,1,12,13
AddFace,3,2,13,14
AddFace,4,3,14,15
AddFace,5,4,15,16
AddFace,6,5,16,17
AddFace,7,6,17,18
AddFace,8,7,18,19
AddFace,9,8,19,20
AddFace,10,9,20,21
GenerateNormals,,,,

LoadTexture,yane2.bmp,,,
SetTextureCoordinates,0,0,0.99,
SetTextureCoordinates,1,0.01,0.99,
SetTextureCoordinates,2,0.05,0.99,
SetTextureCoordinates,3,0.17,0.99
SetTextureCoordinates,4,0.34,0.99
SetTextureCoordinates,5,0.5,0.99
SetTextureCoordinates,6,0.66,0.99
SetTextureCoordinates,7,0.83,0.99
SetTextureCoordinates,8,0.95,0.99
SetTextureCoordinates,9,0.99,0.99
SetTextureCoordinates,10,1,0.99
SetTextureCoordinates,11,0,0.01
SetTextureCoordinates,12,0.01,0.01
SetTextureCoordinates,13,0.05,0.01
SetTextureCoordinates,14,0.17,0.01
SetTextureCoordinates,15,0.34,0.01
SetTextureCoordinates,16,0.5,0.01
SetTextureCoordinates,17,0.66,0.01
SetTextureCoordinates,18,0.83,0.01
SetTextureCoordinates,19,0.95,0.01
SetTextureCoordinates,20,0.99,0.01
SetTextureCoordinates,21,1,0.01


CreateMeshBuilder,,;//屋根,
Cube,0.13,0.05,9.7495
SetColor,110,110,110
Translate            ,-1.19,3.565,-9.75
GenerateNormals,,,


CreateMeshBuilder,,;//屋根,
Cube,0.13,0.05,9.7495
SetColor,110,110,110
Translate            ,1.19,3.565,-9.75
GenerateNormals,,,


;------屋根上機器------,,,
CreateMeshBuilder,,;//クーラー,
AddVertex ,0.8,3.66,-14.15
AddVertex ,0.8,3.86,-14.15
AddVertex ,0.8,3.86,-11.95
AddVertex ,0.8,3.66,-11.95
AddVertex ,0.7,3.92,-14.15
AddVertex ,0.7,3.92,-11.95
AddVertex ,-0.7,3.92,-14.15
AddVertex ,-0.7,3.92,-11.95
AddVertex ,-0.8,3.66,-14.15
AddVertex ,-0.8,3.86,-14.15
AddVertex ,-0.8,3.86,-11.95
AddVertex ,-0.8,3.66,-11.95,
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,6,7,5
AddFace,6,9,10,7
AddFace,9,8,11,10
GenerateNormals,,,,

LoadTexture,cooler.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.875,
SetTextureCoordinates,2,0,0.875,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,1,0.82,
SetTextureCoordinates,5,0,0.82,
SetTextureCoordinates,6,1,0.18,
SetTextureCoordinates,7,0,0.18
SetTextureCoordinates,8,1,0
SetTextureCoordinates,9,1,0.125
SetTextureCoordinates,10,0,0.125
SetTextureCoordinates,11,0,0


CreateMeshBuilder,,;//クーラー,
AddVertex ,0.8,3.66,-14.15
AddVertex ,0.8,3.86,-14.15
AddVertex ,0.8,3.86,-11.95
AddVertex ,0.8,3.66,-11.95
AddVertex ,0.7,3.92,-14.15
AddVertex ,0.7,3.92,-11.95
AddVertex ,-0.7,3.92,-14.15
AddVertex ,-0.7,3.92,-11.95
AddVertex ,-0.8,3.66,-14.15,,,
AddVertex ,-0.8,3.86,-14.15,,,
AddVertex ,-0.8,3.86,-11.95,,,
AddVertex ,-0.8,3.66,-11.95,,,
AddFace,8,9,6,4,1,0
AddFace,11,3,2,5,7,10
GenerateNormals,,,,,,

LoadTexture,cooler-side.bmp,,,,,
SetTextureCoordinates,0,1,1,,,
SetTextureCoordinates,1,1,0.23,,,
SetTextureCoordinates,2,1,0.23,,,
SetTextureCoordinates,3,1,1,,,
SetTextureCoordinates,4,0.9375,0.005,,,
SetTextureCoordinates,5,0.9375,0.005,,,
SetTextureCoordinates,6,0.0625,0.005,,,
SetTextureCoordinates,7,0.0625,0.005
SetTextureCoordinates,8,0,1
SetTextureCoordinates,9,0,0.23
SetTextureCoordinates,10,0,0.23
SetTextureCoordinates,11,0,1


CreateMeshBuilder,,;//クーラー,
AddVertex ,0.8,3.66,-7.55
AddVertex ,0.8,3.86,-7.55
AddVertex ,0.8,3.86,-5.35
AddVertex ,0.8,3.66,-5.35
AddVertex ,0.7,3.92,-7.55
AddVertex ,0.7,3.92,-5.35
AddVertex ,-0.7,3.92,-7.55
AddVertex ,-0.7,3.92,-5.35
AddVertex ,-0.8,3.66,-7.55,
AddVertex ,-0.8,3.86,-7.55,
AddVertex ,-0.8,3.86,-5.35,
AddVertex ,-0.8,3.66,-5.35,
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,6,7,5
AddFace,6,9,10,7
AddFace,9,8,11,10
SetColor,200,200,200,
GenerateNormals,,,,

LoadTexture,cooler.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.875,
SetTextureCoordinates,2,1,0.875,
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,0.82
SetTextureCoordinates,5,1,0.82
SetTextureCoordinates,6,0,0.18
SetTextureCoordinates,7,1,0.18
SetTextureCoordinates,8,0,0
SetTextureCoordinates,9,0,0.125
SetTextureCoordinates,10,1,0.125
SetTextureCoordinates,11,1,0


CreateMeshBuilder,,;//クーラー,
AddVertex ,0.8,3.66,-7.55
AddVertex ,0.8,3.86,-7.55
AddVertex ,0.8,3.86,-5.35
AddVertex ,0.8,3.66,-5.35
AddVertex ,0.7,3.92,-7.55,,,
AddVertex ,0.7,3.92,-5.35,,,
AddVertex ,-0.7,3.92,-7.55,,,
AddVertex ,-0.7,3.92,-5.35,,,
AddVertex ,-0.8,3.66,-7.55,,,
AddVertex ,-0.8,3.86,-7.55,,,
AddVertex ,-0.8,3.86,-5.35,,,
AddVertex ,-0.8,3.66,-5.35,,,
AddFace,8,9,6,4,1,0
AddFace,11,3,2,5,7,10
GenerateNormals,,,,,,

LoadTexture,cooler-side.bmp,,,,,
SetTextureCoordinates,0,1,1,,,
SetTextureCoordinates,1,1,0.23,,,
SetTextureCoordinates,2,1,0.23,,,
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0.9375,0.005
SetTextureCoordinates,5,0.9375,0.005
SetTextureCoordinates,6,0.0625,0.005
SetTextureCoordinates,7,0.0625,0.005
SetTextureCoordinates,8,0,1
SetTextureCoordinates,9,0,0.23
SetTextureCoordinates,10,0,0.23
SetTextureCoordinates,11,0,1


CreateMeshBuilder,,;//ベンチレータ,
AddVertex,-0.35,3.6,-16.6
AddVertex,-0.35,3.87,-16.6
AddVertex,0.1,3.87,-16.6
AddVertex,0.1,3.6,-16.6
AddVertex,-0.35,3.6,-15.9,
AddVertex,-0.35,3.87,-15.9,
AddVertex,0.1,3.87,-15.9,
AddVertex,0.1,3.6,-15.9,
AddVertex,-0.32,3.9,-16.6,
AddVertex,-0.32,3.9,-15.9,
AddVertex,0.07,3.9,-15.9,
AddVertex,0.07,3.9,-16.6,
AddFace,0,1,2,3
AddFace,4,7,6,5
AddFace,8,9,10,11
AddFace,1,8,11,2
AddFace,5,6,10,9
AddFace,2,11,10,6
AddFace,1,5,9,8
AddFace,3,2,6,7
AddFace,0,4,5,1
SetColor,130,140,145,
GenerateNormals,,,,


CreateMeshBuilder,,;//ベンチレータ,,
AddVertex,0.35,3.6,-10.1,
AddVertex,0.35,3.87,-10.1,
AddVertex,-0.1,3.87,-10.1,
AddVertex,-0.1,3.6,-10.1,
AddVertex,0.35,3.6,-9.4,
AddVertex,0.35,3.87,-9.4,
AddVertex,-0.1,3.87,-9.4,
AddVertex,-0.1,3.6,-9.4,
AddVertex,0.32,3.9,-10.1,
AddVertex,0.32,3.9,-9.4,
AddVertex,-0.07,3.9,-9.4,
AddVertex,-0.07,3.9,-10.1,
AddFace,0,3,2,1
AddFace,4,5,6,7
AddFace,8,11,10,9
AddFace,1,2,11,8
AddFace,5,9,10,6
AddFace,2,6,10,11
AddFace,1,8,9,5
AddFace,3,7,6,2
AddFace,0,1,5,4
SetColor,130,140,145,
GenerateNormals,,,,


CreateMeshBuilder,,;//ベンチレータ,,
AddVertex,-0.35,3.6,-3.6,
AddVertex,-0.35,3.87,-3.6,
AddVertex,0.1,3.87,-3.6,
AddVertex,0.1,3.6,-3.6,
AddVertex,-0.35,3.6,-2.9,
AddVertex,-0.35,3.87,-2.9,
AddVertex,0.1,3.87,-2.9,
AddVertex,0.1,3.6,-2.9,
AddVertex,-0.32,3.9,-3.6,
AddVertex,-0.32,3.9,-2.9,
AddVertex,0.07,3.9,-2.9,
AddVertex,0.07,3.9,-3.6,
AddFace,0,1,2,3
AddFace,4,7,6,5
AddFace,8,9,10,11
AddFace,1,8,11,2
AddFace,5,6,10,9
AddFace,2,11,10,6
AddFace,1,5,9,8
AddFace,3,2,6,7
AddFace,0,4,5,1
SetColor,130,140,145,
GenerateNormals,,,,


;------連結器------,,,,
CreateMeshBuilder,,;//前面連結器,,
Cube,0.1,0.1,0.25,
SetColor,55,50,35,
Translate,0,0.9,-19.5,
GenerateNormals,,,,


CreateMeshBuilder,,;//後面連結器,,
Cube,0.1,0.1,0.25,
SetColor,55,50,35,
Translate,0,0.9,0,
GenerateNormals,,,,


;------台車(前）------,,,,
CreateMeshBuilder,,;//車輪左前,,
Cylinder,16,0.46,0.43,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0.56,0.43,-17.65,


CreateMeshBuilder,,;//車輪左前,,
AddVertex   ,0.6,0,-18.08,
AddVertex   ,0.6,0.86,-18.08,
AddVertex   ,0.6,0.86,-17.22,
AddVertex   ,0.6,0,-17.22,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪右前,,
Cylinder,16,0.43,0.46,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-17.65,


CreateMeshBuilder,,;//車輪右前,,
AddVertex   ,-0.6,0,-18.08,
AddVertex   ,-0.6,0.86,-18.08,
AddVertex   ,-0.6,0.86,-17.22,
AddVertex   ,-0.6,0,-17.22,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪左後,,
Cylinder,16,0.46,0.43,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0.56,0.43,-15.55,


CreateMeshBuilder,,;//車輪左後,,
AddVertex   ,0.6,0,-18.08,
AddVertex   ,0.6,0.86,-18.08,
AddVertex   ,0.6,0.86,-17.22,
AddVertex   ,0.6,0,-17.22,
AddFace,0,1,2,3
Translate,0,0,2.1,
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪右後,,
Cylinder,16,0.43,0.46,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-15.55,


CreateMeshBuilder,,;//車輪右後,,
AddVertex   ,-0.6,0,-18.08,
AddVertex   ,-0.6,0.86,-18.08,
AddVertex   ,-0.6,0.86,-17.22,
AddVertex   ,-0.6,0,-17.22,
AddFace,0,3,2,1
Translate,0,0,2.1,
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.9,0.07,-18.12,
AddVertex   ,0.9,0.9,-18.12,
AddVertex   ,0.9,0.9,-15.08,
AddVertex   ,0.9,0.07,-15.08,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.75,0.07,-18.12,
AddVertex   ,0.75,0.9,-18.12,
AddVertex   ,0.75,0.9,-15.08,
AddVertex   ,0.75,0.07,-15.08,
AddFace2,0,1,2,3
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//左台車,
AddVertex   ,1.15,0.5,-17.69
AddVertex   ,1.15,0.78,-17.69
AddVertex   ,1.15,0.78,-17.11
AddVertex   ,1.15,0.5,-17.11
AddVertex   ,0.9,0.62,-17.7
AddVertex   ,0.9,0.78,-17.61
AddVertex   ,1.15,0.78,-17.61
AddVertex   ,1.15,0.62,-17.7,
AddVertex   ,0.9,0.5,-17.635,
AddVertex   ,0.9,0.62,-17.7,
AddVertex   ,1.15,0.62,-17.7,
AddVertex   ,1.15,0.5,-17.635,
AddVertex   ,0.9,0.62,-17.1,
AddVertex   ,0.9,0.78,-17.19,
AddVertex   ,1.15,0.78,-17.19,
AddVertex   ,1.15,0.62,-17.1,
AddVertex   ,0.9,0.5,-17.165,
AddVertex   ,0.9,0.62,-17.1,
AddVertex   ,1.15,0.62,-17.1,
AddVertex   ,1.15,0.5,-17.165,
AddFace,0,1,2,3
AddFace,4,5,6,7
AddFace,8,9,10,11
AddFace,12,15,14,13
AddFace,16,19,18,17
AddFace2,5,13,14,6
AddFace2,8,16,19,11
Translate,0,0,0.8,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,0.72,0.5,
SetTextureCoordinates,5,0.72,0,
SetTextureCoordinates,6,0.75,0,
SetTextureCoordinates,7,0.75,0.5,
SetTextureCoordinates,8,0.72,1
SetTextureCoordinates,9,0.72,0.5
SetTextureCoordinates,10,0.75,0.5
SetTextureCoordinates,11,0.75,1
SetTextureCoordinates,12,0.72,0.5
SetTextureCoordinates,13,0.72,0
SetTextureCoordinates,14,0.75,0
SetTextureCoordinates,15,0.75,0.5
SetTextureCoordinates,16,0.72,1
SetTextureCoordinates,17,0.72,0.5
SetTextureCoordinates,18,0.75,0.5
SetTextureCoordinates,19,0.75,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//右台車,
AddVertex   ,-0.9,0.07,-18.12,
AddVertex   ,-0.9,0.9,-18.12,
AddVertex   ,-0.9,0.9,-15.08,
AddVertex   ,-0.9,0.07,-15.08,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.75,0.07,-18.12,
AddVertex   ,-0.75,0.9,-18.12,
AddVertex   ,-0.75,0.9,-15.08,
AddVertex   ,-0.75,0.07,-15.08,
AddFace2,0,3,2,1
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,
AddVertex   ,-1.15,0.5,-17.69
AddVertex   ,-1.15,0.78,-17.69
AddVertex   ,-1.15,0.78,-17.11
AddVertex   ,-1.15,0.5,-17.11
AddVertex   ,-0.9,0.62,-17.7
AddVertex   ,-0.9,0.78,-17.61
AddVertex   ,-1.15,0.78,-17.61
AddVertex   ,-1.15,0.62,-17.7
AddVertex   ,-0.9,0.5,-17.635
AddVertex   ,-0.9,0.62,-17.7
AddVertex   ,-1.15,0.62,-17.7
AddVertex   ,-1.15,0.5,-17.635
AddVertex   ,-0.9,0.62,-17.1
AddVertex   ,-0.9,0.78,-17.19
AddVertex   ,-1.15,0.78,-17.19
AddVertex   ,-1.15,0.62,-17.1,
AddVertex   ,-0.9,0.5,-17.165,
AddVertex   ,-0.9,0.62,-17.1,
AddVertex   ,-1.15,0.62,-17.1,
AddVertex   ,-1.15,0.5,-17.165,
AddFace,0,3,2,1
AddFace,4,7,6,5
AddFace,8,11,10,9
AddFace,12,13,14,15
AddFace,16,17,18,19
AddFace2,5,6,14,13
AddFace2,8,11,19,16
Translate,0,0,0.8,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,0.72,0.5
SetTextureCoordinates,5,0.72,0
SetTextureCoordinates,6,0.75,0
SetTextureCoordinates,7,0.75,0.5
SetTextureCoordinates,8,0.72,1
SetTextureCoordinates,9,0.72,0.5
SetTextureCoordinates,10,0.75,0.5
SetTextureCoordinates,11,0.75,1
SetTextureCoordinates,12,0.72,0.5
SetTextureCoordinates,13,0.72,0
SetTextureCoordinates,14,0.75,0
SetTextureCoordinates,15,0.75,0.5
SetTextureCoordinates,16,0.72,1,
SetTextureCoordinates,17,0.72,0.5,
SetTextureCoordinates,18,0.75,0.5,
SetTextureCoordinates,19,0.75,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex   ,0.62,0.15,-17.52,
AddVertex   ,0.62,0.55,-17.52,
AddVertex   ,0.62,0.55,-15.68,
AddVertex   ,0.62,0.15,-15.68,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex   ,0.55,0.15,-17.52,
AddVertex   ,0.55,0.55,-17.52,
AddVertex   ,0.55,0.55,-15.68,
AddVertex   ,0.55,0.15,-15.68,
AddFace2,0,1,2,3
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex   ,-0.62,0.15,-17.52,
AddVertex   ,-0.62,0.55,-17.52,
AddVertex   ,-0.62,0.55,-15.68,
AddVertex   ,-0.62,0.15,-15.68,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex   ,-0.55,0.15,-17.52,
AddVertex   ,-0.55,0.55,-17.52,
AddVertex   ,-0.55,0.55,-15.68,
AddVertex   ,-0.55,0.15,-15.68,
AddFace2,0,1,2,3
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0,0.45,-17.65,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0,0.45,-15.55,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,6,0.36,0.36,0.15
SetColor,25,25,25,
Translate     ,1,0.93,-16.6,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,6,0.36,0.36,0.15
SetColor,25,25,25,
Translate     ,-1,0.93,-16.6,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,4,0.2,0.2,0.2
SetColor,50,45,30,
Translate     ,1,0.88,-16.6,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,4,0.2,0.2,0.2
SetColor,50,45,30,
Translate     ,-1,0.88,-16.6,


CreateMeshBuilder,,;//台車内部,,
Cube,0.3,0.5,0.3,
SetColor,20,20,20,
Translate           ,0,0.8,-17.5,
GenerateNormals,,,,


CreateMeshBuilder,,;//台車内部,,
Cube,0.3,0.5,0.3,
SetColor,20,20,20,
Translate           ,0,0.8,-15.7,
GenerateNormals,,,,


;------台車(後）------,,,,
CreateMeshBuilder,,;//車輪左前,,
Cylinder,16,0.46,0.43,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0.56,0.43,-3.95,


CreateMeshBuilder,,;//車輪左前,,
AddVertex   ,0.6,0,-4.38,
AddVertex   ,0.6,0.86,-4.38,
AddVertex   ,0.6,0.86,-3.52,
AddVertex   ,0.6,0,-3.52,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪右前,,
Cylinder,16,0.43,0.46,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-3.95,


CreateMeshBuilder,,;//車輪右前,,
AddVertex   ,-0.6,0,-4.38,
AddVertex   ,-0.6,0.86,-4.38,
AddVertex   ,-0.6,0.86,-3.52,
AddVertex   ,-0.6,0,-3.52,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪左後,,
Cylinder,16,0.46,0.43,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0.56,0.43,-1.85,


CreateMeshBuilder,,;//車輪左後,,
AddVertex   ,0.6,0,-4.38,
AddVertex   ,0.6,0.86,-4.38,
AddVertex   ,0.6,0.86,-3.52,
AddVertex   ,0.6,0,-3.52,
AddFace,0,1,2,3
Translate,0,0,2.1,
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車輪右後,,
Cylinder,16,0.43,0.46,0.07
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-1.85,


CreateMeshBuilder,,;//車輪右後,,
AddVertex   ,-0.6,0,-4.38,
AddVertex   ,-0.6,0.86,-4.38,
AddVertex   ,-0.6,0.86,-3.52,
AddVertex   ,-0.6,0,-3.52,
AddFace,0,3,2,1
Translate,0,0,2.1,
GenerateNormals,,,,

LoadTexture,sharin.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.9,0.07,-18.12,
AddVertex   ,0.9,0.9,-18.12,
AddVertex   ,0.9,0.9,-15.08,
AddVertex   ,0.9,0.07,-15.08,
AddFace,0,1,2,3
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.75,0.07,-18.12,
AddVertex   ,0.75,0.9,-18.12,
AddVertex   ,0.75,0.9,-15.08,
AddVertex   ,0.75,0.07,-15.08,
AddFace2,0,1,2,3
SetColor,30,30,30,
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,1.15,0.5,-17.69
AddVertex   ,1.15,0.78,-17.69
AddVertex   ,1.15,0.78,-17.11
AddVertex   ,1.15,0.5,-17.11
AddVertex   ,0.9,0.62,-17.7
AddVertex   ,0.9,0.78,-17.61
AddVertex   ,1.15,0.78,-17.61
AddVertex   ,1.15,0.62,-17.7
AddVertex   ,0.9,0.5,-17.635
AddVertex   ,0.9,0.62,-17.7
AddVertex   ,1.15,0.62,-17.7
AddVertex   ,1.15,0.5,-17.635
AddVertex   ,0.9,0.62,-17.1
AddVertex   ,0.9,0.78,-17.19
AddVertex   ,1.15,0.78,-17.19
AddVertex   ,1.15,0.62,-17.1
AddVertex   ,0.9,0.5,-17.165,
AddVertex   ,0.9,0.62,-17.1,
AddVertex   ,1.15,0.62,-17.1,
AddVertex   ,1.15,0.5,-17.165,
AddFace,0,1,2,3
AddFace,4,5,6,7
AddFace,8,9,10,11
AddFace,12,15,14,13
AddFace,16,19,18,17
AddFace2,5,13,14,6
AddFace2,8,16,19,11
Translate,0,0,14.5,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0.72,0.5
SetTextureCoordinates,5,0.72,0
SetTextureCoordinates,6,0.75,0
SetTextureCoordinates,7,0.75,0.5
SetTextureCoordinates,8,0.72,1
SetTextureCoordinates,9,0.72,0.5
SetTextureCoordinates,10,0.75,0.5
SetTextureCoordinates,11,0.75,1
SetTextureCoordinates,12,0.72,0.5
SetTextureCoordinates,13,0.72,0
SetTextureCoordinates,14,0.75,0
SetTextureCoordinates,15,0.75,0.5
SetTextureCoordinates,16,0.72,1
SetTextureCoordinates,17,0.72,0.5,
SetTextureCoordinates,18,0.75,0.5,
SetTextureCoordinates,19,0.75,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.9,0.07,-18.12,
AddVertex   ,-0.9,0.9,-18.12,
AddVertex   ,-0.9,0.9,-15.08,
AddVertex   ,-0.9,0.07,-15.08,
AddFace,0,3,2,1
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.75,0.07,-18.12,
AddVertex   ,-0.75,0.9,-18.12,
AddVertex   ,-0.75,0.9,-15.08,
AddVertex   ,-0.75,0.07,-15.08,
AddFace2,0,3,2,1
SetColor,30,30,30,
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,daisha.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//右台車,
AddVertex   ,-1.15,0.5,-17.69
AddVertex   ,-1.15,0.78,-17.69
AddVertex   ,-1.15,0.78,-17.11
AddVertex   ,-1.15,0.5,-17.11
AddVertex   ,-0.9,0.62,-17.7
AddVertex   ,-0.9,0.78,-17.61
AddVertex   ,-1.15,0.78,-17.61,
AddVertex   ,-1.15,0.62,-17.7,
AddVertex   ,-0.9,0.5,-17.635,
AddVertex   ,-0.9,0.62,-17.7,
AddVertex   ,-1.15,0.62,-17.7,
AddVertex   ,-1.15,0.5,-17.635,
AddVertex   ,-0.9,0.62,-17.1,
AddVertex   ,-0.9,0.78,-17.19,
AddVertex   ,-1.15,0.78,-17.19,
AddVertex   ,-1.15,0.62,-17.1,
AddVertex   ,-0.9,0.5,-17.165,
AddVertex   ,-0.9,0.62,-17.1,
AddVertex   ,-1.15,0.62,-17.1,
AddVertex   ,-1.15,0.5,-17.165,
AddFace,0,3,2,1
AddFace,4,7,6,5
AddFace,8,11,10,9
AddFace,12,13,14,15
AddFace,16,17,18,19
AddFace2,5,6,14,13
AddFace2,8,11,19,16
Translate,0,0,14.5,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.72,0.5,
SetTextureCoordinates,5,0.72,0,
SetTextureCoordinates,6,0.75,0,
SetTextureCoordinates,7,0.75,0.5
SetTextureCoordinates,8,0.72,1
SetTextureCoordinates,9,0.72,0.5
SetTextureCoordinates,10,0.75,0.5
SetTextureCoordinates,11,0.75,1
SetTextureCoordinates,12,0.72,0.5
SetTextureCoordinates,13,0.72,0
SetTextureCoordinates,14,0.75,0
SetTextureCoordinates,15,0.75,0.5
SetTextureCoordinates,16,0.72,1
SetTextureCoordinates,17,0.72,0.5
SetTextureCoordinates,18,0.75,0.5
SetTextureCoordinates,19,0.75,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex   ,0.62,0.15,-17.52,
AddVertex   ,0.62,0.55,-17.52,
AddVertex   ,0.62,0.55,-15.68,
AddVertex   ,0.62,0.15,-15.68,
AddFace,0,1,2,3
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex   ,0.55,0.15,-17.52,
AddVertex   ,0.55,0.55,-17.52,
AddVertex   ,0.55,0.55,-15.68,
AddVertex   ,0.55,0.15,-15.68,
AddFace2,0,1,2,3
SetColor,30,30,30,
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex   ,-0.62,0.15,-17.52,
AddVertex   ,-0.62,0.55,-17.52,
AddVertex   ,-0.62,0.55,-15.68,
AddVertex   ,-0.62,0.15,-15.68,
AddFace,0,3,2,1
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex   ,-0.55,0.15,-17.52,
AddVertex   ,-0.55,0.55,-17.52,
AddVertex   ,-0.55,0.55,-15.68,
AddVertex   ,-0.55,0.15,-15.68,
AddFace2,0,1,2,3
SetColor,30,30,30,
Translate,0,0,13.7,
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0,0.45,-3.95,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,26,19,
Rotate,0,0,1,90
Translate ,0,0.45,-1.85,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,6,0.36,0.36,0.15
SetColor,25,25,25,
Translate     ,1,0.93,-2.9,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,6,0.36,0.36,0.15
SetColor,25,25,25,
Translate     ,-1,0.93,-2.9,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,4,0.2,0.2,0.2
SetColor,50,45,30,
Translate     ,1,0.88,-2.9,


CreateMeshBuilder,,;//空気バネ,,
Cylinder,4,0.2,0.2,0.2
SetColor,50,45,30,
Translate     ,-1,0.88,-2.9,


CreateMeshBuilder,,;//台車内部,,
Cube,0.3,0.5,0.3,
SetColor,20,20,20,
Translate           ,0,0.8,-3.8,
GenerateNormals,,,


CreateMeshBuilder,,;//台車内部,
Cube,0.3,0.5,0.3
SetColor,20,20,20
Translate           ,0,0.8,-2
GenerateNormals,,,


;------床下機器------,,,
CreateMeshBuilder,,;//床下機器,
AddVertex     ,1.1,0.25,-14.7
AddVertex     ,1.1,1,-14.7
AddVertex     ,1.1,1,-4.7
AddVertex     ,1.1,0.25,-4.7
AddVertex     ,-1.1,0.25,-14.7,
AddVertex     ,-1.1,1,-14.7,
AddVertex     ,-1.1,1,-4.7,
AddVertex     ,-1.1,0.25,-4.7,
AddFace,0,1,2,3
AddFace,4,7,6,5
GenerateNormals,,,,

LoadTexture,M-under.bmp,,,
SetTextureCoordinates,0,1,0.99,
SetTextureCoordinates,1,1,0.005,
SetTextureCoordinates,2,0,0.005,
SetTextureCoordinates,3,0,0.99,
SetTextureCoordinates,4,1,0.99,
SetTextureCoordinates,5,1,0.005,
SetTextureCoordinates,6,0,0.005,
SetTextureCoordinates,7,0,0.99,


CreateMeshBuilder,,;//床下機器,,
AddVertex     ,-1.1,0.25,-14.7,
AddVertex     ,-1.1,1,-14.7,
AddVertex     ,1.1,1,-14.7,
AddVertex     ,1.1,0.25,-14.7,
AddVertex     ,-1.1,0.25,-4.7,
AddVertex     ,-1.1,1,-4.7,
AddVertex     ,1.1,1,-4.7,
AddVertex     ,1.1,0.25,-4.7,
AddFace,0,1,2,3
AddFace,4,7,6,5
SetColor,22,19,10,
GenerateNormals,,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.15,0.7
SetColor,22,19,10
Translate,0,0.9,-18.799
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.15,0.7
SetColor,22,19,10
Translate,0,0.9,-0.701
GenerateNormals,,,


;------影------,,,,
CreateMeshBuilder,,;//影,,
AddVertex   ,-1.4,-0.1,-19.75,
AddVertex   ,-1.4,-0.1,0.25,
AddVertex   ,1.4,-0.1,0.25,
AddVertex   ,1.4,-0.1,-19.75,
AddFace,0,1,2,3
SetColor,0,0,0,150
GenerateNormals,,,,

;------openBVE用------,,,,
translateall,0,0,10
rotateall,0,1,0,180

;（Ｃ）２００７ ＲＯＮ,,,,
