;//ＪＲ東日本１１５系３００番台（モハ１１４−３００）,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,-1.36,1,-19.5
AddVertex,-1.45,1.6,-19.5
AddVertex,-1.45,3.35,-19.5
AddVertex,1.45,3.35,-19.5
AddVertex,1.45,1.6,-19.5
AddVertex,1.36,1,-19.5
AddVertex,-1.405,3.45,-19.5
AddVertex,-1.325,3.5,-19.5
AddVertex,-0.97,3.57,-19.5
AddVertex,-0.46,3.64,-19.5
AddVertex,0,3.655,-19.5
AddVertex,0.46,3.64,-19.5
AddVertex,0.97,3.57,-19.5
AddVertex,1.325,3.5,-19.5,,,,,,,,
AddVertex,1.405,3.45,-19.5,,,,,,,,
AddFace,0,1,4,5,,,,,,,
AddFace,1,2,3,4,,,,,,,
AddFace,2,6,7,8,9,10,11,12,13,14,3
SetColor,18,46,109,,,,,,,,
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,0
AddVertex,-1.45,1.6,0
AddVertex,-1.45,3.35,0
AddVertex,1.45,3.35,0
AddVertex,1.45,1.6,0
AddVertex,1.36,1,0
AddVertex,-1.405,3.45,0
AddVertex,-1.325,3.5,0
AddVertex,-0.97,3.57,0,,,,,,,,
AddVertex,-0.46,3.64,0,,,,,,,,
AddVertex,0,3.655,0,,,,,,,,
AddVertex,0.46,3.64,0,,,,,,,,
AddVertex,0.97,3.57,0,,,,,,,,
AddVertex,1.325,3.5,0,,,,,,,,
AddVertex,1.405,3.45,0,,,,,,,,
AddFace,0,5,4,1,,,,,,,
AddFace,1,4,3,2,,,,,,,
AddFace,2,3,14,13,12,11,10,9,8,7,6
SetColor,18,46,109,,,,,,,,
GenerateNormals,,,,,,,,,,,


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

LoadTexture,side2.bmp,,,
SetTextureCoordinates,0,0,0.996,
SetTextureCoordinates,1,0,0.745,
SetTextureCoordinates,2,0,0.002,
SetTextureCoordinates,3,1,0.996,
SetTextureCoordinates,4,1,0.745,
SetTextureCoordinates,5,1,0.002,


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

LoadTexture,side2-2.bmp,,,
SetTextureCoordinates,0,0,0.996,
SetTextureCoordinates,1,0,0.745,
SetTextureCoordinates,2,0,0.002
SetTextureCoordinates,3,1,0.996
SetTextureCoordinates,4,1,0.745
SetTextureCoordinates,5,1,0.002


CreateMeshBuilder,,;//左側面転落防止幌,
AddVertex,1.4,1.3,0
AddVertex,1.45,1.6,0
AddVertex,1.45,2.47,0
AddVertex,1.4,1.3,0.22
AddVertex,1.45,1.6,0.22
AddVertex,1.45,2.47,0.22
AddVertex,1.4,1.3,-19.72
AddVertex,1.45,1.6,-19.72
AddVertex,1.45,2.47,-19.72
AddVertex,1.4,1.3,-19.5,
AddVertex,1.45,1.6,-19.5,
AddVertex,1.45,2.47,-19.5,
AddFace2,0,1,4,3
AddFace2,1,2,5,4
AddFace2,6,7,10,9
AddFace2,7,8,11,10
GenerateNormals,,,,

LoadTexture,horo2.bmp,,,
SetTextureCoordinates,0,0.01,0.99,
SetTextureCoordinates,1,0.01,0.7,
SetTextureCoordinates,2,0.01,0.01,
SetTextureCoordinates,3,0.99,0.99,
SetTextureCoordinates,4,0.99,0.7,
SetTextureCoordinates,5,0.99,0.01,
SetTextureCoordinates,6,0.99,0.99
SetTextureCoordinates,7,0.99,0.7
SetTextureCoordinates,8,0.99,0.01
SetTextureCoordinates,9,0.01,0.99
SetTextureCoordinates,10,0.01,0.7
SetTextureCoordinates,11,0.01,0.01


CreateMeshBuilder,,;//右側面転落防止幌,
AddVertex,-1.4,1.3,0
AddVertex,-1.45,1.6,0
AddVertex,-1.45,2.47,0
AddVertex,-1.4,1.3,0.22
AddVertex,-1.45,1.6,0.22
AddVertex,-1.45,2.47,0.22
AddVertex,-1.4,1.3,-19.72
AddVertex,-1.45,1.6,-19.72,
AddVertex,-1.45,2.47,-19.72,
AddVertex,-1.4,1.3,-19.5,
AddVertex,-1.45,1.6,-19.5,
AddVertex,-1.45,2.47,-19.5,
AddFace2,0,1,4,3
AddFace2,1,2,5,4
AddFace2,6,7,10,9
AddFace2,7,8,11,10
GenerateNormals,,,,

LoadTexture,horo2.bmp,,,
SetTextureCoordinates,0,0.01,0.99,
SetTextureCoordinates,1,0.01,0.7,
SetTextureCoordinates,2,0.01,0.01,
SetTextureCoordinates,3,0.99,0.99,
SetTextureCoordinates,4,0.99,0.7,
SetTextureCoordinates,5,0.99,0.01,
SetTextureCoordinates,6,0.99,0.99,
SetTextureCoordinates,7,0.99,0.7,
SetTextureCoordinates,8,0.99,0.01,
SetTextureCoordinates,9,0.01,0.99,
SetTextureCoordinates,10,0.01,0.7,
SetTextureCoordinates,11,0.01,0.01,


CreateMeshBuilder,,;//左側面方向幕,,
AddVertex,1.455,3.05,-1.43,
AddVertex,1.455,3.2,-1.43,
AddVertex,1.455,3.2,-0.93,
AddVertex,1.455,3.05,-0.93,
AddFace,0,1,2,3
Translate,0,0,0.29,
GenerateNormals,,,,

LoadTexture,ikisaki.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,


CreateMeshBuilder,,;//右側面方向幕,,
AddVertex,-1.455,3.05,-1.42,
AddVertex,-1.455,3.2,-1.42,
AddVertex,-1.455,3.2,-0.92,
AddVertex,-1.455,3.05,-0.92,
AddFace,0,3,2,1
Translate,0,0,0.29,
GenerateNormals,,,,

LoadTexture,ikisaki.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,


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


;------屋根------,,,
CreateMeshBuilder,,;//屋根,
AddVertex,-1.45,3.35,-19.5
AddVertex,-1.405,3.45,-19.5
AddVertex,-1.325,3.5,-19.5
AddVertex,-0.97,3.57,-19.5
AddVertex,-0.46,3.64,-19.5
AddVertex,0,3.655,-19.5
AddVertex,0.46,3.64,-19.5
AddVertex,0.97,3.57,-19.5
AddVertex,1.325,3.5,-19.5
AddVertex,1.405,3.45,-19.5
AddVertex,1.45,3.35,-19.5,
AddVertex,-1.45,3.35,0,
AddVertex,-1.405,3.45,0,
AddVertex,-1.325,3.5,0,
AddVertex,-0.97,3.57,0,
AddVertex,-0.46,3.64,0,
AddVertex,0,3.655,0,
AddVertex,0.46,3.64,0,
AddVertex,0.97,3.57,0,
AddVertex,1.325,3.5,0,
AddVertex,1.405,3.45,0,
AddVertex,1.45,3.35,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,yane.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0.01,1,
SetTextureCoordinates,2,0.05,1,
SetTextureCoordinates,3,0.17,1,
SetTextureCoordinates,4,0.34,1,
SetTextureCoordinates,5,0.5,1,
SetTextureCoordinates,6,0.66,1,
SetTextureCoordinates,7,0.83,1
SetTextureCoordinates,8,0.95,1
SetTextureCoordinates,9,0.99,1
SetTextureCoordinates,10,1,1
SetTextureCoordinates,11,0,0
SetTextureCoordinates,12,0.01,0
SetTextureCoordinates,13,0.05,0
SetTextureCoordinates,14,0.17,0
SetTextureCoordinates,15,0.34,0
SetTextureCoordinates,16,0.5,0
SetTextureCoordinates,17,0.66,0
SetTextureCoordinates,18,0.83,0
SetTextureCoordinates,19,0.95,0
SetTextureCoordinates,20,0.99,0
SetTextureCoordinates,21,1,0


CreateMeshBuilder,,;//ランボード,,
AddVertex,-1.39,3.35,-12.2,
AddVertex,-1.39,3.35,-7.35,
AddVertex,1.39,3.35,-12.2,
AddVertex,1.39,3.35,-7.35,
AddVertex,-1.3,3.55,-12.2,
AddVertex,-1.3,3.55,-7.35,
AddVertex,1.3,3.55,-12.2,
AddVertex,1.3,3.55,-7.35,
AddFace,4,5,7,6
AddFace,2,6,7,3
AddFace,0,1,5,4
AddFace,0,4,6,2
AddFace,1,3,7,5
SetColor,120,120,120,
GenerateNormals,,,


CreateMeshBuilder,,;//ランボード,
Cube,1.18,0.05,0.88
SetColor,120,120,120
Translate,0,3.53,-16.75
GenerateNormals,,,


;------屋根上機器------,,,
CreateMeshBuilder,,;//クーラー,
AddVertex,-1,3.55,-11.6
AddVertex,-1,3.55,-7.9
AddVertex,-1,3.76,-11.6
AddVertex,-1,3.76,-7.9
AddVertex,-0.6,3.97,-11.6,
AddVertex,-0.6,3.97,-7.9,
AddVertex,0,4.06,-11.6,
AddVertex,0,4.06,-7.9,
AddVertex,0.6,3.97,-11.6,
AddVertex,0.6,3.97,-7.9,
AddVertex,1,3.76,-11.6,
AddVertex,1,3.76,-7.9,
AddVertex,1,3.55,-11.6,
AddVertex,1,3.55,-7.9,
AddFace,0,1,3,2
AddFace,2,3,5,4
AddFace,4,5,7,6
AddFace,6,7,9,8
AddFace,8,9,11,10
AddFace,10,11,13,12
GenerateNormals,,,

LoadTexture,cooler.bmp,,
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,0,1
SetTextureCoordinates,2,1,0.935
SetTextureCoordinates,3,0,0.935
SetTextureCoordinates,4,1,0.66
SetTextureCoordinates,5,0,0.66
SetTextureCoordinates,6,1,0.5
SetTextureCoordinates,7,0,0.5
SetTextureCoordinates,8,1,0.34
SetTextureCoordinates,9,0,0.34
SetTextureCoordinates,10,1,0.065
SetTextureCoordinates,11,0,0.065
SetTextureCoordinates,12,1,0
SetTextureCoordinates,13,0,0


CreateMeshBuilder,,;//クーラー,
AddVertex,-1,3.55,-11.6
AddVertex,-1,3.76,-11.6
AddVertex,-0.6,3.97,-11.6
AddVertex,0,4.06,-11.6
AddVertex,0.6,3.97,-11.6
AddVertex,1,3.76,-11.6
AddVertex,1,3.55,-11.6
AddVertex,-1,3.55,-7.9
AddVertex,-1,3.76,-7.9
AddVertex,-0.6,3.97,-7.9
AddVertex,0,4.06,-7.9
AddVertex,0.6,3.97,-7.9
AddVertex,1,3.76,-7.9,,,,
AddVertex,1,3.55,-7.9,,,,
AddFace2,0,1,2,3,4,5,6
AddFace2,7,8,9,10,11,12,13
SetColor,200,200,200,,,,
GenerateNormals,,,,,,,


CreateMeshBuilder,,;//ベンチレータ,,,,,
AddVertex,-0.05,3.62,-17.5,,,,
AddVertex,-0.05,3.85,-17.55,,,,
AddVertex,0.4,3.85,-17.55,,,,
AddVertex,0.4,3.62,-17.5,,,,
AddVertex,-0.05,3.62,-16.6,,,,
AddVertex,-0.05,3.85,-16.55,,,,
AddVertex,0.4,3.85,-16.55,,,,
AddVertex,0.4,3.62,-16.6,
AddVertex,-0.02,3.88,-17.55,
AddVertex,-0.02,3.88,-16.55,
AddVertex,0.37,3.88,-16.55,
AddVertex,0.37,3.88,-17.55,
AddFace2,0,1,2,3
AddFace2,4,7,6,5
AddFace2,8,9,10,11
AddFace2,1,8,11,2
AddFace2,5,6,10,9
AddFace2,2,11,10,6
AddFace2,1,5,9,8
AddFace2,3,2,6,7
AddFace2,0,4,5,1
AddFace2,7,6,5,4
AddFace2,6,10,9,5
Translate,-0.35,0,2.5
GenerateNormals,,,

LoadTexture,bench.bmp,,
SetTextureCoordinates,0,0.003,0.95
SetTextureCoordinates,1,0.003,0.1
SetTextureCoordinates,2,0.997,0.1
SetTextureCoordinates,3,0.997,0.95
SetTextureCoordinates,4,0,0.95
SetTextureCoordinates,5,0,0.1
SetTextureCoordinates,6,1,0.1
SetTextureCoordinates,7,1,0.95
SetTextureCoordinates,8,0.07,0
SetTextureCoordinates,9,0.07,0
SetTextureCoordinates,10,0.93,0
SetTextureCoordinates,11,0.93,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//ベンチレータ,
AddVertex,-0.05,3.62,-17.5
AddVertex,-0.05,3.85,-17.55
AddVertex,0.4,3.85,-17.55
AddVertex,0.4,3.62,-17.5
AddVertex,-0.05,3.62,-16.6
AddVertex,-0.05,3.85,-16.55
AddVertex,0.4,3.85,-16.55
AddVertex,0.4,3.62,-16.6
AddVertex,-0.02,3.88,-17.55
AddVertex,-0.02,3.88,-16.55
AddVertex,0.37,3.88,-16.55
AddVertex,0.37,3.88,-17.55
AddFace2,0,1,2,3
AddFace2,4,7,6,5
AddFace2,8,9,10,11
AddFace2,1,8,11,2
AddFace2,5,6,10,9
AddFace2,2,11,10,6
AddFace2,1,5,9,8
AddFace2,3,2,6,7
AddFace2,0,4,5,1
AddFace2,7,6,5,4
AddFace2,6,10,9,5
Translate,0,0,4.5,
GenerateNormals,,,,

LoadTexture,bench.bmp,,,
SetTextureCoordinates,0,0.003,0.95,
SetTextureCoordinates,1,0.003,0.1
SetTextureCoordinates,2,0.997,0.1
SetTextureCoordinates,3,0.997,0.95
SetTextureCoordinates,4,0,0.95
SetTextureCoordinates,5,0,0.1
SetTextureCoordinates,6,1,0.1
SetTextureCoordinates,7,1,0.95
SetTextureCoordinates,8,0.07,0
SetTextureCoordinates,9,0.07,0
SetTextureCoordinates,10,0.93,0
SetTextureCoordinates,11,0.93,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//ベンチレータ,
AddVertex,-0.05,3.62,-17.5
AddVertex,-0.05,3.85,-17.55,
AddVertex,0.4,3.85,-17.55,
AddVertex,0.4,3.62,-17.5,
AddVertex,-0.05,3.62,-16.6,
AddVertex,-0.05,3.85,-16.55,
AddVertex,0.4,3.85,-16.55,
AddVertex,0.4,3.62,-16.6,
AddVertex,-0.02,3.88,-17.55,
AddVertex,-0.02,3.88,-16.55,
AddVertex,0.37,3.88,-16.55,
AddVertex,0.37,3.88,-17.55,
AddFace2,0,1,2,3
AddFace2,4,7,6,5
AddFace2,8,9,10,11
AddFace2,1,8,11,2
AddFace2,5,6,10,9
AddFace2,2,11,10,6
AddFace2,1,5,9,8
AddFace2,3,2,6,7
AddFace2,0,4,5,1
AddFace2,7,6,5,4
AddFace2,6,10,9,5
Translate,0,0,11.45,
GenerateNormals,,,,

LoadTexture,bench.bmp,,,
SetTextureCoordinates,0,0.003,0.95,
SetTextureCoordinates,1,0.003,0.1,
SetTextureCoordinates,2,0.997,0.1,
SetTextureCoordinates,3,0.997,0.95,
SetTextureCoordinates,4,0,0.95,
SetTextureCoordinates,5,0,0.1,
SetTextureCoordinates,6,1,0.1
SetTextureCoordinates,7,1,0.95
SetTextureCoordinates,8,0.07,0
SetTextureCoordinates,9,0.07,0
SetTextureCoordinates,10,0.93,0
SetTextureCoordinates,11,0.93,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//ベンチレータ,
AddVertex,-0.05,3.62,-17.5
AddVertex,-0.05,3.85,-17.55
AddVertex,0.4,3.85,-17.55
AddVertex,0.4,3.62,-17.5
AddVertex,-0.05,3.62,-16.6
AddVertex,-0.05,3.85,-16.55
AddVertex,0.4,3.85,-16.55,
AddVertex,0.4,3.62,-16.6,
AddVertex,-0.02,3.88,-17.55,
AddVertex,-0.02,3.88,-16.55,
AddVertex,0.37,3.88,-16.55,
AddVertex,0.37,3.88,-17.55,
AddFace2,0,1,2,3
AddFace2,4,7,6,5
AddFace2,8,9,10,11
AddFace2,1,8,11,2
AddFace2,5,6,10,9
AddFace2,2,11,10,6
AddFace2,1,5,9,8
AddFace2,3,2,6,7
AddFace2,0,4,5,1
AddFace2,7,6,5,4
AddFace2,6,10,9,5
Translate,-0.35,0,13.45,
GenerateNormals,,,,

LoadTexture,bench.bmp,,,
SetTextureCoordinates,0,0.003,0.95,
SetTextureCoordinates,1,0.003,0.1,
SetTextureCoordinates,2,0.997,0.1,
SetTextureCoordinates,3,0.997,0.95,
SetTextureCoordinates,4,0,0.95,
SetTextureCoordinates,5,0,0.1,
SetTextureCoordinates,6,1,0.1,
SetTextureCoordinates,7,1,0.95,
SetTextureCoordinates,8,0.07,0,
SetTextureCoordinates,9,0.07,0,
SetTextureCoordinates,10,0.93,0,
SetTextureCoordinates,11,0.93,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//ベンチレータ,
AddVertex,-0.05,3.62,-17.5
AddVertex,-0.05,3.85,-17.55
AddVertex,0.4,3.85,-17.55
AddVertex,0.4,3.62,-17.5
AddVertex,-0.05,3.62,-16.6
AddVertex,-0.05,3.85,-16.55
AddVertex,0.4,3.85,-16.55
AddVertex,0.4,3.62,-16.6
AddVertex,-0.02,3.88,-17.55
AddVertex,-0.02,3.88,-16.55
AddVertex,0.37,3.88,-16.55
AddVertex,0.37,3.88,-17.55,
AddFace2,0,1,2,3
AddFace2,4,7,6,5
AddFace2,8,9,10,11
AddFace2,1,8,11,2
AddFace2,5,6,10,9
AddFace2,2,11,10,6
AddFace2,1,5,9,8
AddFace2,3,2,6,7
AddFace2,0,4,5,1
AddFace2,7,6,5,4
AddFace2,6,10,9,5
Translate,0,0,15.45,
GenerateNormals,,,,

LoadTexture,bench.bmp,,,
SetTextureCoordinates,0,0.003,0.95
SetTextureCoordinates,1,0.003,0.1
SetTextureCoordinates,2,0.997,0.1
SetTextureCoordinates,3,0.997,0.95
SetTextureCoordinates,4,0,0.95
SetTextureCoordinates,5,0,0.1
SetTextureCoordinates,6,1,0.1
SetTextureCoordinates,7,1,0.95
SetTextureCoordinates,8,0.07,0
SetTextureCoordinates,9,0.07,0
SetTextureCoordinates,10,0.93,0
SetTextureCoordinates,11,0.93,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//避雷器,
Cylinder,8,0.16,0.16,0.4
Translate,0,3.77,-18.5,
SetColor,180,180,180,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱,,
Cube,0.12,0.08,0.35,
SetColor,130,130,130,
Translate,0.37,3.85,-18.72,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.25
Translate,0.37,3.7,-18.53,
SetColor,100,100,100,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.25
Translate,0.37,3.7,-18.91,
SetColor,100,100,100,
GenerateNormals,,,,


;------連結器------,,,,
CreateMeshBuilder,,;//連結器,,
Cube,0.13,0.12,0.25,
SetColor,20,20,20,
Translate,0,0.88,-19.5,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.13,0.12,0.25,
SetColor,20,20,20,
Translate,0,0.88,0,
GenerateNormals,,,,


;------台車(前）------,,,,
CreateMeshBuilder,,;//車輪左前,,
Cylinder,16,0.48,0.45,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.45,-17.8,


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-18.25,
AddVertex,0.6,0.9,-18.25,
AddVertex,0.6,0.9,-17.35,
AddVertex,0.6,0,-17.35,
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.48,0.45,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.45,-15.7,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-16.15,
AddVertex,0.6,0.9,-16.15,
AddVertex,0.6,0.9,-15.25,
AddVertex,0.6,0,-15.25,
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.45,0.48,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.45,-17.8,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-18.25,
AddVertex,-0.6,0.9,-18.25,
AddVertex,-0.6,0.9,-17.35,
AddVertex,-0.6,0,-17.35,
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.45,0.48,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.45,-15.7,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-16.15,
AddVertex,-0.6,0.9,-16.15,
AddVertex,-0.6,0.9,-15.25,
AddVertex,-0.6,0,-15.25,
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,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.45,-17.8,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.45,-15.7,


CreateMeshBuilder,,;//左台車,,
AddVertex,0.95,0.01,-18.43,
AddVertex,0.95,0.97,-18.43,
AddVertex,0.95,0.97,-15.07,
AddVertex,0.95,0.01,-15.07,
AddFace,0,1,2,3
GenerateNormals,,,,

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


CreateMeshBuilder,,;//左台車,,
AddVertex,0.8,0.01,-18.43,
AddVertex,0.8,0.97,-18.43,
AddVertex,0.8,0.97,-15.07,
AddVertex,0.8,0.01,-15.07,
AddFace2,0,1,2,3
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha1.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,-17.26,
AddVertex,1.15,0.95,-17.26,
AddVertex,1.15,0.95,-16.24,
AddVertex,1.15,0,-16.24,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex,1.05,0,-17.26,
AddVertex,1.05,0.95,-17.26,
AddVertex,1.05,0.95,-16.24,
AddVertex,1.05,0,-16.24,
AddFace2,0,1,2,3
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex,-0.95,0.01,-18.43,
AddVertex,-0.95,0.97,-18.43,
AddVertex,-0.95,0.97,-15.07,
AddVertex,-0.95,0.01,-15.07,
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//右台車,,
AddVertex,-0.8,0.01,-18.43,
AddVertex,-0.8,0.97,-18.43,
AddVertex,-0.8,0.97,-15.07,
AddVertex,-0.8,0.01,-15.07,
AddFace2,0,3,2,1
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha1.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,-17.26,
AddVertex,-1.15,0.95,-17.26,
AddVertex,-1.15,0.95,-16.24,
AddVertex,-1.15,0,-16.24,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex,-1.05,0,-17.26,
AddVertex,-1.05,0.95,-17.26,
AddVertex,-1.05,0.95,-16.24,
AddVertex,-1.05,0,-16.24,
AddFace2,0,3,2,1
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,
SetTextureCoordinates,0,0,0.94
SetTextureCoordinates,1,0,0.05
SetTextureCoordinates,2,1,0.05
SetTextureCoordinates,3,1,0.94
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//左ブレーキ,
AddVertex,0.62,0.1,-18.7
AddVertex,0.62,0.85,-18.7
AddVertex,0.62,0.85,-16.9
AddVertex,0.62,0.1,-16.9
AddVertex,0.62,0.1,-16.6
AddVertex,0.62,0.85,-16.6
AddVertex,0.62,0.85,-14.8,
AddVertex,0.62,0.1,-14.8,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex,-0.62,0.1,-18.7,
AddVertex,-0.62,0.85,-18.7,
AddVertex,-0.62,0.85,-16.9,
AddVertex,-0.62,0.1,-16.9,
AddVertex,-0.62,0.1,-16.6,
AddVertex,-0.62,0.85,-16.6,
AddVertex,-0.62,0.85,-14.8,
AddVertex,-0.62,0.1,-14.8,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,1.05,0.76,-17.88,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,1.05,0.76,-17.95,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,1.05,0.76,-15.62,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,1.05,0.76,-15.55,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,-1.05,0.76,-17.88,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,-1.05,0.76,-17.95,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,-1.05,0.76,-15.62,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,-1.05,0.76,-15.55,
GenerateNormals,,,,


CreateMeshBuilder,,;//台車,,
Cube,1.15,0.1,0.25,
SetColor,20,20,20,
Translate,0,0.95,-16.75,
GenerateNormals,,,,


;------台車(後）------,,,,
CreateMeshBuilder,,;//車輪左前,,
Cylinder,16,0.48,0.45,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.45,-3.8,


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-18.25,
AddVertex,0.6,0.9,-18.25,
AddVertex,0.6,0.9,-17.35,
AddVertex,0.6,0,-17.35,
AddFace,0,1,2,3
Translate,0,0,14,
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.48,0.45,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.45,-1.7,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-16.15,
AddVertex,0.6,0.9,-16.15,
AddVertex,0.6,0.9,-15.25,
AddVertex,0.6,0,-15.25,
AddFace,0,1,2,3
Translate,0,0,14,
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.45,0.48,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.45,-3.8,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-18.25,
AddVertex,-0.6,0.9,-18.25,
AddVertex,-0.6,0.9,-17.35,
AddVertex,-0.6,0,-17.35,
AddFace,0,3,2,1
Translate,0,0,14,
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.45,0.48,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.45,-1.7,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-16.15,
AddVertex,-0.6,0.9,-16.15,
AddVertex,-0.6,0.9,-15.25,
AddVertex,-0.6,0,-15.25,
AddFace,0,3,2,1
Translate,0,0,14,
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,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.45,-3.8,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.45,-1.7,


CreateMeshBuilder,,;//左台車,,
AddVertex,0.95,0.01,-4.43,
AddVertex,0.95,0.97,-4.43,
AddVertex,0.95,0.97,-1.07,
AddVertex,0.95,0.01,-1.07,
AddFace,0,1,2,3
GenerateNormals,,,,

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


CreateMeshBuilder,,;//左台車,,
AddVertex,0.8,0.01,-4.43,
AddVertex,0.8,0.97,-4.43,
AddVertex,0.8,0.97,-1.07,
AddVertex,0.8,0.01,-1.07,
AddFace2,0,1,2,3
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha1.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,-3.26,
AddVertex,1.15,0.95,-3.26,
AddVertex,1.15,0.95,-2.24,
AddVertex,1.15,0,-2.24,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex,1.05,0,-3.26,
AddVertex,1.05,0.95,-3.26,
AddVertex,1.05,0.95,-2.24,
AddVertex,1.05,0,-2.24,
AddFace2,0,1,2,3
SetColor,80,80,80
GenerateNormals,,,

LoadTexture,daisha2.bmp,,
SetTextureCoordinates,0,0,0.94
SetTextureCoordinates,1,0,0.05
SetTextureCoordinates,2,1,0.05
SetTextureCoordinates,3,1,0.94
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//右台車,
AddVertex,-0.95,0.01,-4.43
AddVertex,-0.95,0.97,-4.43
AddVertex,-0.95,0.97,-1.07
AddVertex,-0.95,0.01,-1.07
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//右台車,,
AddVertex,-0.8,0.01,-4.43,
AddVertex,-0.8,0.97,-4.43,
AddVertex,-0.8,0.97,-1.07,
AddVertex,-0.8,0.01,-1.07,
AddFace2,0,3,2,1
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha1.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,-3.26,
AddVertex,-1.15,0.95,-3.26,
AddVertex,-1.15,0.95,-2.24,
AddVertex,-1.15,0,-2.24,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex,-1.05,0,-3.26,
AddVertex,-1.05,0.95,-3.26,
AddVertex,-1.05,0.95,-2.24,
AddVertex,-1.05,0,-2.24,
AddFace2,0,3,2,1
SetColor,80,80,80,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,0.94,
SetTextureCoordinates,1,0,0.05,
SetTextureCoordinates,2,1,0.05,
SetTextureCoordinates,3,1,0.94,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex,0.62,0.1,-4.7,
AddVertex,0.62,0.85,-4.7,
AddVertex,0.62,0.85,-2.9,
AddVertex,0.62,0.1,-2.9,
AddVertex,0.62,0.1,-2.6,
AddVertex,0.62,0.85,-2.6,
AddVertex,0.62,0.85,-0.8,
AddVertex,0.62,0.1,-0.8,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右ブレーキ,,
AddVertex,-0.62,0.1,-4.7,
AddVertex,-0.62,0.85,-4.7,
AddVertex,-0.62,0.85,-2.9,
AddVertex,-0.62,0.1,-2.9,
AddVertex,-0.62,0.1,-2.6,
AddVertex,-0.62,0.85,-2.6,
AddVertex,-0.62,0.85,-0.8,
AddVertex,-0.62,0.1,-0.8,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

LoadTexture,brake.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,1.05,0.76,-3.88,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,1.05,0.76,-3.95,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,1.05,0.76,-1.62,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,1.05,0.76,-1.55,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,-1.05,0.76,-3.88,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cube,0.085,0.085,0.02,
SetColor,47,44,36,
Translate,-1.05,0.76,-3.95,
GenerateNormals,,,,


CreateMeshBuilder,,;//ブレーキシリンダー,,
Cylinder,7,0.085,0.085,0.34
SetColor,47,44,36,
Rotate,1,0,0,90
Translate,-1.05,0.76,-1.62,


CreateMeshBuilder,,;//ブレーキシリンダー,
Cube,0.085,0.085,0.02
SetColor,47,44,36
Translate,-1.05,0.76,-1.55
GenerateNormals,,,


CreateMeshBuilder,,;//台車,
Cube,1.15,0.1,0.25
SetColor,20,20,20
Translate,0,0.95,-2.75
GenerateNormals,,,


;------床下機器------,,,
CreateMeshBuilder,,;//床下機器,
Cube,0.6,0.15,0.5
SetColor,20,20,20
Translate,0,0.9,-18.9
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.8,0.15,0.5
SetColor,20,20,20
Translate,0,0.9,-0.6
GenerateNormals,,,


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

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


;------パンタグラフ------,,,,
CreateMeshBuilder,,;//碍子,,
Cylinder,6,0.08,0.08,0.25
Translate,-0.55,3.64,-16.1,
SetColor,220,220,220,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子,,
Cylinder,6,0.08,0.08,0.25
Translate,-0.55,3.64,-17.4,
SetColor,220,220,220,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子,,
Cylinder,6,0.08,0.08,0.25
Translate,0.55,3.64,-16.1,
SetColor,220,220,220,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子,,
Cylinder,6,0.08,0.08,0.25
Translate,0.55,3.64,-17.4,
SetColor,220,220,220
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.6,0.015,0.05
SetColor,120,120,120
Translate,0,3.78,-17.4
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.6,0.015,0.05
SetColor,120,120,120
Translate,0,3.78,-16.1
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.03,0.015,0.65
SetColor,120,120,120
Translate,-0.35,3.78,-16.75
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.03,0.015,0.65
SetColor,120,120,120
Translate,0.35,3.78,-16.75
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.15,0.015,0.65
SetColor,120,120,120
Translate,0,3.78,-16.75
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.03,0.06,0.05
SetColor,120,120,120
Translate,-0.35,3.85,-16.75
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.03,0.06,0.05
SetColor,120,120,120
Translate,0.35,3.85,-16.75
GenerateNormals,,,


CreateMeshBuilder,,;//アーム,
AddVertex,0.05,3.85,-18.2
AddVertex,0.05,4.45,-19.35
AddVertex,0.05,4.45,-19.25
AddVertex,0.05,3.85,-18.1
AddVertex,-0.05,3.85,-18.2
AddVertex,-0.05,4.45,-19.35
AddVertex,-0.05,4.45,-19.25
AddVertex,-0.05,3.85,-18.1
AddVertex,0.05,5.08,-18
AddVertex,0.05,5.08,-17.9
AddVertex,-0.05,5.08,-18,
AddVertex,-0.05,5.08,-17.9,
AddFace,0,1,2,3
AddFace,4,7,6,5
AddFace,4,5,1,0
AddFace,7,3,2,6
AddFace,1,8,9,2
AddFace,5,6,11,10
AddFace,5,10,8,1
AddFace,6,2,9,10
AddFace,10,11,9,8
SetColor,115,110,100,
Translate,0,0,1.4,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.05,0.05,0.7
SetColor,115,110,100,
Rotate,0,0,1,90
Translate,0,3.85,-16.75,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.015,0.015,1.55
SetColor,115,110,100,
Rotate,1,-0.025,0,245
Translate,0.1,4.75,-17.25,


CreateMeshBuilder,,;//アーム,,
Cube,0.05,0.08,0.03,
SetColor,115,110,100,
Rotate,1,0,0,210
Translate,0,4.37,-17.98,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.02,0.02,0.9
SetColor,115,110,100,
Rotate,1,0,0,307
Translate,0,4.07,-17.65,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム,,
Cube,0.07,0.07,0.3,
SetColor,110,110,105,
Rotate,1,0,0,5
Translate,-0.18,3.86,-17.15,
GenerateNormals,,,,


CreateMeshBuilder,,;//集電部,,
Cube,0.65,0.03,0.05,
SetColor,80,80,80,
Translate,0,5.07,-16.65,
GenerateNormals,,,,


CreateMeshBuilder,,;//集電部,,
Cube,0.65,0.03,0.05,
SetColor,80,80,80,
Translate,0,5.07,-16.45,
GenerateNormals,,,,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,1.5
SetColor,90,90,90,
Rotate,0,0,1,90
Translate,0,5.07,-16.55,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.33
SetColor,90,90,90,
Rotate,0,0,1,45
Translate,0.85,4.96,-16.55,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.33
SetColor,90,90,90,
Rotate,0,0,1,315
Translate,-0.85,4.96,-16.55,


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


;------openBVE用------,,,,
TranslateAll,0,0,9.75,
;openBVEの運転車両用として使う場合は上記;TranslateAllの;を消去してください。,,,,


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

