;//東京臨海高速鉄道７０−０００系中間電動車,,,,
;------ボディ------,,,,
CreateMeshBuilder,,;//前面,,
AddVertex,-1.4,1,-19.5,
AddVertex,-1.4,3.35,-19.5,
AddVertex,-1.3,3.5,-19.5,
AddVertex,-0.5,3.635,-19.5,
AddVertex,0,3.66,-19.5,
AddVertex,0.5,3.635,-19.5,
AddVertex,1.3,3.5,-19.5,
AddVertex,1.4,3.35,-19.5,
AddVertex,1.4,1,-19.5,
AddFace2,0,1,7,8
AddFace2,1,2,6,7
AddFace2,2,3,5,6
AddFace2,3,4,5,
GenerateNormals,,,

LoadTexture,back.bmp,,
SetTextureCoordinates,0,1,0.99
SetTextureCoordinates,1,1,0.14
SetTextureCoordinates,2,0.965,0.1
SetTextureCoordinates,3,0.679,0.03
SetTextureCoordinates,4,0.5,0.01
SetTextureCoordinates,5,0.321,0.03
SetTextureCoordinates,6,0.035,0.1
SetTextureCoordinates,7,0,0.14
SetTextureCoordinates,8,0,0.99
SetDecalTransparentColor,0,0,0,黒透過


CreateMeshBuilder,,;//後面,
AddVertex,-1.4,1,0
AddVertex,-1.4,3.35,0,
AddVertex,-1.3,3.5,0,
AddVertex,-0.5,3.635,0,
AddVertex,0,3.66,0,
AddVertex,0.5,3.635,0,
AddVertex,1.3,3.5,0,
AddVertex,1.4,3.35,0,
AddVertex,1.4,1,0,
AddFace2,0,8,7,1
AddFace2,1,7,6,2
AddFace2,2,6,5,3
AddFace2,3,5,4,
GenerateNormals,,,,

LoadTexture,back.bmp,,,
SetTextureCoordinates,0,1,0.99,
SetTextureCoordinates,1,1,0.14
SetTextureCoordinates,2,0.965,0.1
SetTextureCoordinates,3,0.679,0.03
SetTextureCoordinates,4,0.5,0.01
SetTextureCoordinates,5,0.321,0.03
SetTextureCoordinates,6,0.035,0.1
SetTextureCoordinates,7,0,0.14
SetTextureCoordinates,8,0,0.99
SetDecalTransparentColor,0,0,0,黒透過


CreateMeshBuilder,,;//連結幌,
AddVertex,-0.38,3.2,0.5
AddVertex,-0.38,3.2,0
AddVertex,0.38,3.2,0
AddVertex,0.38,3.2,0.5
AddVertex,0.45,3.13,0
AddVertex,0.45,3.13,0.5,
AddVertex,0.45,1.19,0,
AddVertex,0.45,1.19,0.5,
AddVertex,0.38,1.12,0,
AddVertex,0.38,1.12,0.5,
AddVertex,-0.45,3.13,0.5,
AddVertex,-0.45,3.13,0,
AddVertex,-0.45,1.19,0,
AddVertex,-0.45,1.19,0.5,
AddVertex,-0.38,1.12,0,
AddVertex,-0.38,1.12,0.5,
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.4,1,-19.5,
AddVertex,1.4,3.35,-19.5,
AddVertex,1.4,3.35,0,
AddVertex,1.4,1,0,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,side2.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0,黒透過


CreateMeshBuilder,,;//右側面,,
AddVertex,-1.4,1,-19.5,
AddVertex,-1.4,3.35,-19.5,
AddVertex,-1.4,3.35,0,
AddVertex,-1.4,1,0,
AddFace2,0,3,2,1
GenerateNormals,,,,

LoadTexture,side2-2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,黒透過


CreateMeshBuilder,,;//底面,,
AddVertex,-1.4,1,-19.45,
AddVertex,-1.4,1,0,
AddVertex,1.4,1,0,
AddVertex,1.4,1,-19.45,
AddVertex,-1.35,1,-19.5,
AddVertex,1.35,1,-19.5,
AddFace,0,3,2,1
AddFace,4,5,3,0
SetColor,0,0,0,
GenerateNormals,,,,


;------屋根------,,,
CreateMeshBuilder,,;//屋根,
AddVertex,1.4,3.35,-19.5
AddVertex,1.3,3.5,-19.5
AddVertex,0.5,3.635,-19.5
AddVertex,0,3.66,-19.5
AddVertex,-0.5,3.635,-19.5
AddVertex,-1.3,3.5,-19.5
AddVertex,-1.4,3.35,-19.5
AddVertex,1.4,3.35,0
AddVertex,1.3,3.5,0
AddVertex,0.5,3.635,0
AddVertex,0,3.66,0
AddVertex,-0.5,3.635,0
AddVertex,-1.3,3.5,0
AddVertex,-1.4,3.35,0,
AddFace,0,1,8,7
AddFace,1,2,9,8
AddFace,2,3,10,9
AddFace,3,4,11,10
AddFace,4,5,12,11
AddFace,5,6,13,12
SetColor,200,200,200,
GenerateNormals,,,,

LoadTexture,yane1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0.3,1,
SetTextureCoordinates,3,0.5,1,
SetTextureCoordinates,4,0.7,1,
SetTextureCoordinates,5,1,1
SetTextureCoordinates,6,1,1
SetTextureCoordinates,7,0,0
SetTextureCoordinates,8,0,0
SetTextureCoordinates,9,0.3,0
SetTextureCoordinates,10,0.5,0
SetTextureCoordinates,11,0.7,0
SetTextureCoordinates,12,1,0
SetTextureCoordinates,13,1,0


CreateMeshBuilder,,;//屋根,
AddVertex,1.02,3.55,-19.43
AddVertex,1.02,3.55,-0.07
AddVertex,1.29,3.55,-19.4
AddVertex,1.29,3.55,-0.1
AddVertex,1.33,3.43,-19.4,
AddVertex,1.33,3.43,-0.1,
AddFace,2,0,1,3
AddFace,4,2,3,5
AddFace,0,2,4,
AddFace,1,5,3,
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根,,
AddVertex,-1.02,3.55,-19.43,
AddVertex,-1.02,3.55,-0.07,
AddVertex,-1.29,3.55,-19.4,
AddVertex,-1.29,3.55,-0.1,
AddVertex,-1.33,3.43,-19.4,
AddVertex,-1.33,3.43,-0.1,
AddFace,2,3,1,0
AddFace,4,5,3,2
AddFace,0,4,2,
AddFace,1,3,5,
SetColor,130,130,130,
GenerateNormals,,,,


;------屋根上機器------,,,,
CreateMeshBuilder,,;//クーラー,,
AddVertex,1,3.55,-11.05,
AddVertex,1,3.75,-11.05,
AddVertex,1,3.75,-7.7,
AddVertex,1,3.55,-7.7,
AddVertex,0.6,3.92,-11.05,
AddVertex,0.6,3.92,-7.7,
AddVertex,0,4,-7.7,
AddVertex,0,4,-11.05,
AddVertex,-0.6,3.92,-11.05,
AddVertex,-0.6,3.92,-7.7,
AddVertex,-1,3.55,-11.05,
AddVertex,-1,3.75,-11.05,
AddVertex,-1,3.75,-7.7,
AddVertex,-1,3.55,-7.7,
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,7,6,5
AddFace,7,8,9,6
AddFace,8,11,12,9
AddFace,11,10,13,12
SetColor,200,200,200,
GenerateNormals,,,

LoadTexture,cooler.bmp,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0.18
SetTextureCoordinates,2,1,0.18
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,0,0.5
SetTextureCoordinates,5,1,0.5
SetTextureCoordinates,6,1,0.99
SetTextureCoordinates,7,0,0.99
SetTextureCoordinates,8,0,0.5
SetTextureCoordinates,9,1,0.5
SetTextureCoordinates,10,0,0
SetTextureCoordinates,11,0,0.18
SetTextureCoordinates,12,1,0.18
SetTextureCoordinates,13,1,0


CreateMeshBuilder,,;//クーラー,
AddVertex,-1,3.55,-11.05
AddVertex,-1,3.75,-11.05
AddVertex,-0.6,3.92,-11.05
AddVertex,-0.6,3.6,-11.05
AddVertex,0,4,-11.05
AddVertex,0,3.65,-11.05
AddVertex,0.6,3.92,-11.05
AddVertex,0.6,3.6,-11.05
AddVertex,1,3.75,-11.05
AddVertex,1,3.55,-11.05
AddVertex,-1,3.55,-7.7
AddVertex,-1,3.75,-7.7
AddVertex,-0.6,3.92,-7.7,
AddVertex,-0.6,3.6,-7.7,
AddVertex,0,4,-7.7,
AddVertex,0,3.65,-7.7,
AddVertex,0.6,3.92,-7.7,
AddVertex,0.6,3.6,-7.7,
AddVertex,1,3.75,-7.7,
AddVertex,1,3.55,-7.7,
AddFace,0,1,2,3
AddFace,3,2,4,5
AddFace,5,4,6,7
AddFace,7,6,8,9
AddFace,10,13,12,11
AddFace,13,15,14,12
AddFace,15,17,16,14
AddFace,17,19,18,16
GenerateNormals,,,

LoadTexture,cooler-side.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0.2,0.05
SetTextureCoordinates,3,0.2,0.95
SetTextureCoordinates,4,0.5,-0.2
SetTextureCoordinates,5,0.5,0.83
SetTextureCoordinates,6,0.8,0.05
SetTextureCoordinates,7,0.8,0.95
SetTextureCoordinates,8,1,0
SetTextureCoordinates,9,1,1
SetTextureCoordinates,10,0,1
SetTextureCoordinates,11,0,0
SetTextureCoordinates,12,0.2,0.05
SetTextureCoordinates,13,0.2,0.95
SetTextureCoordinates,14,0.5,-0.2
SetTextureCoordinates,15,0.5,0.83
SetTextureCoordinates,16,0.8,0.05
SetTextureCoordinates,17,0.8,0.95
SetTextureCoordinates,18,1,0
SetTextureCoordinates,19,1,1


CreateMeshBuilder,,;//機器箱,
Cube,0.12,0.08,0.35
SetColor,140,140,140
Translate,-0.35,3.86,-18.57
GenerateNormals,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.25
Translate             ,-0.35,3.7,-18.38,
SetColor,110,110,110,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.25
Translate             ,-0.35,3.7,-18.76,
SetColor,110,110,110,
GenerateNormals,,,,


;------連結器------,,,,
CreateMeshBuilder,,;//後面連結器,,
Cube,0.1,0.1,0.75,
SetColor,35,35,35,
Translate,0,0.88,0,
GenerateNormals,,,,


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


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-17.93,
AddVertex,0.6,0.86,-17.93,
AddVertex,0.6,0.86,-17.07,
AddVertex,0.6,0,-17.07,
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.46,0.43,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.43,-15.4,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-15.83,
AddVertex,0.6,0.86,-15.83,
AddVertex,0.6,0.86,-14.97,
AddVertex,0.6,0,-14.97,
AddFace,0,1,2,3
GenerateNormals,,,,

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


CreateMeshBuilder,,;//車輪右前,,
Cylinder,16,0.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.43,-17.5,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-17.93,
AddVertex,-0.6,0.86,-17.93,
AddVertex,-0.6,0.86,-17.07,
AddVertex,-0.6,0,-17.07,
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.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.43,-15.4,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-15.83,
AddVertex,-0.6,0.86,-15.83,
AddVertex,-0.6,0.86,-14.97,
AddVertex,-0.6,0,-14.97,
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//台車左側,,
AddVertex,0.95,0.2,-17.85,
AddVertex,0.95,0.97,-17.85,
AddVertex,0.95,0.97,-15.05,
AddVertex,0.95,0.2,-15.05,
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.2,-17.85,
AddVertex,0.8,0.97,-17.85,
AddVertex,0.8,0.97,-15.05,
AddVertex,0.8,0.2,-15.05,
AddFace2,0,1,2,3
SetColor,30,30,30,
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.95,0.2,-17.85,
AddVertex,-0.95,0.97,-17.85,
AddVertex,-0.95,0.97,-15.05,
AddVertex,-0.95,0.2,-15.05,
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.2,-17.85,
AddVertex,-0.8,0.97,-17.85,
AddVertex,-0.8,0.97,-15.05,
AddVertex,-0.8,0.2,-15.05,
AddFace2,0,3,2,1
SetColor,30,30,30,
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.58,0.25,-17.15,
AddVertex,0.58,0.7,-17.15,
AddVertex,0.58,0.7,-15.75,
AddVertex,0.58,0.25,-15.75,
AddFace2,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.58,0.25,-17.15,
AddVertex,-0.58,0.7,-17.15,
AddVertex,-0.58,0.7,-15.75,
AddVertex,-0.58,0.25,-15.75,
AddFace2,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,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.43,-17.5,


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


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


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


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


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-4.53,
AddVertex,0.6,0.86,-4.53,
AddVertex,0.6,0.86,-3.67,
AddVertex,0.6,0,-3.67,
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.46,0.43,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0.56,0.43,-2,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-2.43,
AddVertex,0.6,0.86,-2.43,
AddVertex,0.6,0.86,-1.57,
AddVertex,0.6,0,-1.57,
AddFace,0,1,2,3
GenerateNormals,,,,

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


CreateMeshBuilder,,;//車輪右前,,
Cylinder,16,0.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.43,-4.1,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-4.53,
AddVertex,-0.6,0.86,-4.53,
AddVertex,-0.6,0.86,-3.67,
AddVertex,-0.6,0,-3.67,
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.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,-0.56,0.43,-2,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-2.43,
AddVertex,-0.6,0.86,-2.43,
AddVertex,-0.6,0.86,-1.57,
AddVertex,-0.6,0,-1.57,
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//台車左側,,
AddVertex,0.95,0.2,-4.45,
AddVertex,0.95,0.97,-4.45,
AddVertex,0.95,0.97,-1.65,
AddVertex,0.95,0.2,-1.65,
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.2,-4.45,
AddVertex,0.8,0.97,-4.45,
AddVertex,0.8,0.97,-1.65,
AddVertex,0.8,0.2,-1.65,
AddFace2,0,1,2,3
SetColor,30,30,30,
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.95,0.2,-4.45,
AddVertex,-0.95,0.97,-4.45,
AddVertex,-0.95,0.97,-1.65,
AddVertex,-0.95,0.2,-1.65,
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.2,-4.45,
AddVertex,-0.8,0.97,-4.45,
AddVertex,-0.8,0.97,-1.65,
AddVertex,-0.8,0.2,-1.65,
AddFace2,0,3,2,1
SetColor,30,30,30,
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.58,0.25,-3.75,
AddVertex,0.58,0.7,-3.75,
AddVertex,0.58,0.7,-2.35,
AddVertex,0.58,0.25,-2.35,
AddFace2,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.58,0.25,-3.75,
AddVertex,-0.58,0.7,-3.75,
AddVertex,-0.58,0.7,-2.35,
AddVertex,-0.58,0.25,-2.35,
AddFace2,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,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate,0,0.43,-4.1,


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


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


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


;------床下機器------,,,,
CreateMeshBuilder,,;//床下機器,,
Cube,0.75,0.15,0.6,
SetColor,25,25,25,
Translate,0,0.85,-0.6,
GenerateNormals,,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.15,0.6
SetColor,25,25,25
Translate,0,0.85,-18.9
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
AddVertex,1.1,0.25,-13.3
AddVertex,1.1,1,-13.3
AddVertex,1.1,1,-5.2
AddVertex,1.1,0.25,-5.2
AddVertex,-1.1,0.25,-13.3
AddVertex,-1.1,1,-13.3
AddVertex,-1.1,1,-5.2
AddVertex,-1.1,0.25,-5.2
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.14,0.99,
SetTextureCoordinates,1,0.14,0.005,
SetTextureCoordinates,2,1,0.005,
SetTextureCoordinates,3,1,0.99,
SetTextureCoordinates,4,0.14,0.99,
SetTextureCoordinates,5,0.14,0.005,
SetTextureCoordinates,6,1,0.005,
SetTextureCoordinates,7,1,0.99,


;------パンタグラフ------,,,
CreateMeshBuilder,,;//台,
Cube,0.12,0.1,0.8
SetColor,130,130,130
Translate,0.55,3.58,-17.02
GenerateNormals,,,


CreateMeshBuilder,,;//台,,
Cube,0.12,0.1,0.8,
SetColor,130,130,130,
Translate,-0.55,3.58,-17.02,
GenerateNormals,,,,


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


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


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


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


CreateMeshBuilder,,;//台,,
Cube,0.15,0.02,0.05,
SetColor,130,130,130,
Rotate,0,1,0,40
Translate      ,-0.47,3.78,-17.55,
GenerateNormals,,,,


CreateMeshBuilder,,;//台,,
Cube,0.15,0.02,0.05,
SetColor,130,130,130,
Rotate,0,1,0,-40
Translate      ,0.47,3.78,-17.55,
GenerateNormals,,,


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


CreateMeshBuilder,,;//台,
Cube,0.03,0.03,0.68
SetColor,120,120,120
Translate,-0.35,3.78,-17.1
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.03,0.03,0.68
SetColor,120,120,120
Translate,0.35,3.78,-17.1
GenerateNormals,,,


CreateMeshBuilder,,;//台,
Cube,0.15,0.015,0.6
SetColor,120,120,120
Translate,0,3.782,-17.05
GenerateNormals,,,


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


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


CreateMeshBuilder,,;//アーム,
AddVertex,0.035,3.85,-18.4
AddVertex,0.035,4.45,-19.5
AddVertex,0.035,4.45,-19.4,
AddVertex,0.035,3.85,-18.3,
AddVertex,-0.035,3.85,-18.4,
AddVertex,-0.035,4.45,-19.5,
AddVertex,-0.035,4.45,-19.4,
AddVertex,-0.035,3.85,-18.3,
AddVertex,0.035,5.08,-18.15,
AddVertex,0.035,5.08,-18.05,
AddVertex,-0.035,5.08,-18.15,
AddVertex,-0.035,5.08,-18.05,
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,130,130,130,
Translate,0,0,1.4,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.05,0.05,0.7
SetColor,130,130,130,
Rotate,0,0,1,90
Translate,0,3.85,-16.95,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.015,0.015,1.55
SetColor,130,130,130,
Rotate,1,-0.15,0,245
Translate,0.2,4.69,-17.4,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.015,0.015,0.1
Translate,0.36,5.03,-16.7,
SetColor,130,130,130,


CreateMeshBuilder,,;//アーム,,
Cube,0.05,0.08,0.03,
SetColor,130,130,130,
Rotate,1,0,0,210
Translate,0,4.37,-18.13,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.02,0.02,0.9
SetColor,130,130,130,
Rotate,1,0,0,307
Translate,0,4.07,-17.8,
GenerateNormals,,,,


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


CreateMeshBuilder,,;//避雷器,,
Cylinder,8,0.14,0.14,0.27
SetColor,180,180,180,
Translate,0.33,3.92,-17.93,
GenerateNormals,,,,


CreateMeshBuilder,,;//避雷器台,,
Cube,0.17,0.01,0.15,
SetColor,110,110,110,
Translate,0.33,3.76,-17.93,
GenerateNormals,,,,


CreateMeshBuilder,,;//集電部,
Cube,0.6,0.03,0.05
SetColor,110,110,110
Translate,0,5.07,-16.8
GenerateNormals,,,


CreateMeshBuilder,,;//集電部,
Cube,0.6,0.03,0.05
SetColor,110,110,110
Translate,0,5.07,-16.6
GenerateNormals,,,


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


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


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


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


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


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


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,1.2
SetColor,130,130,130,
Rotate,0,0,1,90
Translate,0,5.07,-16.7,


;------影------,,,,
CreateMeshBuilder,,;//影,,
AddVertex,-1.35,-0.1,-19.75,
AddVertex,-1.35,-0.1,0.25,
AddVertex,1.35,-0.1,0.25,
AddVertex,1.35,-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
;openBVEの運転車両用として使う場合は上記;TranslateAllの;を消去してください。,,,,

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