;//東京臨海高速鉄道７０−０００系先頭車,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,-1.4,1.16,0
AddVertex,-1.4,1.16,0.04
AddVertex,-1.18,1.16,0.19
AddVertex,-0.5,1.16,0.25
AddVertex,0,1.16,0.26
AddVertex,0.5,1.16,0.25
AddVertex,1.18,1.16,0.19
AddVertex,1.4,1.16,0.04
AddVertex,1.4,1.16,0
AddVertex,-1.4,1.5,0
AddVertex,-1.4,1.5,0.07
AddVertex,-1.23,1.5,0.24
AddVertex,-0.5,1.5,0.29
AddVertex,0,1.5,0.3
AddVertex,0.5,1.5,0.29
AddVertex,1.23,1.5,0.24
AddVertex,1.4,1.5,0.07
AddVertex,1.4,1.5,0
AddVertex,-1.4,3.35,0
AddVertex,-1.4,3.35,0.07
AddVertex,-1.23,3.32,0.24
AddVertex,-0.5,3.32,0.29
AddVertex,0,3.32,0.3
AddVertex,0.5,3.32,0.29
AddVertex,1.23,3.32,0.24
AddVertex,1.4,3.35,0.07
AddVertex,1.4,3.35,0
AddVertex,-1.1,3.44,0.25
AddVertex,-0.5,3.55,0.29
AddVertex,0,3.57,0.3
AddVertex,0.5,3.55,0.29
AddVertex,1.1,3.44,0.25
AddVertex,-1.3,3.49,0.07
AddVertex,-1.1,3.52,0.07
AddVertex,-0.5,3.62,0.07
AddVertex,0,3.655,0.07
AddVertex,0.5,3.62,0.07
AddVertex,1.1,3.52,0.07
AddVertex,1.3,3.49,0.07
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.2,1.16,0.29
AddVertex,-1,1.16,0.35
AddVertex,-0.5,1.16,0.41
AddVertex,0,1.16,0.43
AddVertex,0.5,1.16,0.41
AddVertex,1,1.16,0.35
AddVertex,1.2,1.16,0.29
AddVertex,-1.4,1.09,0.04
AddVertex,-1.2,1.09,0.29
AddVertex,-1,1.09,0.35
AddVertex,-0.5,1.09,0.41
AddVertex,0,1.09,0.43
AddVertex,0.5,1.09,0.41
AddVertex,1,1.09,0.35
AddVertex,1.2,1.09,0.29
AddVertex,1.4,1.09,0.04
AddVertex,-1.4,1,0.04
AddVertex,-1.18,1,0.22,
AddVertex,-1,1,0.27,
AddVertex,-0.5,1,0.33,
AddVertex,0,1,0.35,
AddVertex,0.5,1,0.33,
AddVertex,1,1,0.27,
AddVertex,1.18,1,0.22,
AddVertex,1.4,1,0.04,
AddVertex,-1.4,1,0,
AddVertex,1.4,1,0,
AddFace2,52,53,45,44
AddFace2,51,52,44,1
AddFace2,52,53,45,44
AddFace2,53,54,46,45
AddFace2,54,55,47,46
AddFace2,55,56,48,47
AddFace2,56,57,49,48
AddFace2,57,58,50,49
AddFace2,58,59,7,50
AddFace2,60,61,52,51
AddFace2,61,62,53,52
AddFace2,62,63,54,53
AddFace2,63,64,55,54
AddFace2,64,65,56,55
AddFace2,65,66,57,56
AddFace2,66,67,58,57
AddFace2,67,68,59,58
AddFace2,69,60,1,0
AddFace2,68,70,8,7
AddFace2,0,1,10,9
AddFace2,1,2,11,10
AddFace2,2,3,12,11
AddFace2,3,4,13,12
AddFace2,4,5,14,13
AddFace2,6,15,14,5
AddFace2,6,7,16,15
AddFace2,7,8,17,16
AddFace2,9,10,19,18
AddFace2,10,11,20,19
AddFace2,11,12,21,20
AddFace2,12,13,22,21
AddFace2,13,14,23,22
AddFace2,14,15,24,23
AddFace2,15,16,25,24
AddFace2,16,17,26,25
AddFace2,20,21,28,27
AddFace2,21,22,29,28
AddFace2,22,23,30,29
AddFace2,23,24,31,30
AddFace2,19,20,27,32
AddFace2,27,33,32,
AddFace2,27,28,34,33
AddFace2,28,29,35,34
AddFace2,29,30,36,35
AddFace2,30,31,37,36
AddFace2,31,38,37,
AddFace2,31,24,25,38
AddFace2,19,32,39,18
AddFace2,32,33,39,
AddFace2,33,34,40,39
AddFace2,34,35,41,40
AddFace2,35,36,42,41
AddFace2,36,37,43,42
AddFace2,37,38,43,
AddFace2,38,25,26,43
GenerateNormals,,,,

LoadTexture,front1-2.bmp,,,
SetTextureCoordinates,0,1,0.93,
SetTextureCoordinates,1,0.999,0.93,
SetTextureCoordinates,2,0.932,0.93,
SetTextureCoordinates,3,0.68,0.93,
SetTextureCoordinates,4,0.5,0.93,
SetTextureCoordinates,5,0.32,0.93,
SetTextureCoordinates,6,0.068,0.93,
SetTextureCoordinates,7,0.001,0.93,
SetTextureCoordinates,8,0,0.93,
SetTextureCoordinates,9,1,0.805,
SetTextureCoordinates,10,0.999,0.805,
SetTextureCoordinates,11,0.945,0.805,
SetTextureCoordinates,12,0.68,0.805
SetTextureCoordinates,13,0.5,0.805
SetTextureCoordinates,14,0.32,0.805
SetTextureCoordinates,15,0.055,0.805
SetTextureCoordinates,16,0.001,0.805
SetTextureCoordinates,17,0,0.805
SetTextureCoordinates,18,1,0.14
SetTextureCoordinates,19,0.999,0.14
SetTextureCoordinates,20,0.945,0.145
SetTextureCoordinates,21,0.68,0.145
SetTextureCoordinates,22,0.5,0.145
SetTextureCoordinates,23,0.32,0.145
SetTextureCoordinates,24,0.055,0.145
SetTextureCoordinates,25,0.001,0.14
SetTextureCoordinates,26,0,0.14
SetTextureCoordinates,27,0.9,0.07
SetTextureCoordinates,28,0.68,0.04
SetTextureCoordinates,29,0.5,0.037
SetTextureCoordinates,30,0.32,0.04
SetTextureCoordinates,31,0.1,0.07
SetTextureCoordinates,32,1,0.02
SetTextureCoordinates,33,0.9,0.02
SetTextureCoordinates,34,0.68,0.02
SetTextureCoordinates,35,0.5,0.02
SetTextureCoordinates,36,0.32,0.02
SetTextureCoordinates,37,0.1,0.02
SetTextureCoordinates,38,0,0.02
SetTextureCoordinates,39,0.9,0.01
SetTextureCoordinates,40,0.68,0.01
SetTextureCoordinates,41,0.5,0.01
SetTextureCoordinates,42,0.32,0.01
SetTextureCoordinates,43,0.1,0.01
SetTextureCoordinates,44,0.9,0.94
SetTextureCoordinates,45,0.8,0.94
SetTextureCoordinates,46,0.62,0.94
SetTextureCoordinates,47,0.5,0.94
SetTextureCoordinates,48,0.32,0.94
SetTextureCoordinates,49,0.2,0.94
SetTextureCoordinates,50,0.1,0.94
SetTextureCoordinates,51,1,0.96
SetTextureCoordinates,52,0.9,0.96
SetTextureCoordinates,53,0.8,0.96
SetTextureCoordinates,54,0.68,0.96
SetTextureCoordinates,55,0.5,0.96
SetTextureCoordinates,56,0.32,0.96
SetTextureCoordinates,57,0.2,0.96
SetTextureCoordinates,58,0.1,0.96
SetTextureCoordinates,59,0,0.96
SetTextureCoordinates,60,1,0.995
SetTextureCoordinates,61,0.9,0.995
SetTextureCoordinates,62,0.8,0.995
SetTextureCoordinates,63,0.68,0.995
SetTextureCoordinates,64,0.5,0.995
SetTextureCoordinates,65,0.32,0.995
SetTextureCoordinates,66,0.2,0.995
SetTextureCoordinates,67,0.1,0.995
SetTextureCoordinates,68,0,0.995
SetTextureCoordinates,69,1,0.995
SetTextureCoordinates,70,0,0.995
SetDecalTransparentColor,0,0,0,黒透過

CreateMeshBuilder,,;//前面ステップ,
AddVertex,-1.2,1.16,0.29
AddVertex,-1,1.16,0.35
AddVertex,-0.5,1.16,0.41,
AddVertex,0,1.16,0.43,
AddVertex,0.5,1.16,0.41,
AddVertex,1,1.16,0.35,
AddVertex,1.2,1.16,0.29,
AddVertex,-1.4,1.16,0.04,
AddVertex,-1.18,1.16,0.19,
AddVertex,-0.5,1.16,0.25,
AddVertex,0,1.16,0.26,
AddVertex,0.5,1.16,0.25,
AddVertex,1.18,1.16,0.19,
AddVertex,1.4,1.16,0.04,
AddFace2,7,0,8,
AddFace2,0,1,9,8
AddFace2,1,2,9,
AddFace2,2,3,10,9
AddFace2,3,4,11,10
AddFace2,4,5,11,
AddFace2,5,6,12,11
AddFace2,6,13,12,
GenerateNormals,,,,

LoadTexture,front2.bmp,,,
SetTextureCoordinates,0,0.05,1,
SetTextureCoordinates,1,0.1,1,
SetTextureCoordinates,2,0.3,1,
SetTextureCoordinates,3,0.5,1,
SetTextureCoordinates,4,0.7,1,
SetTextureCoordinates,5,0.9,1,
SetTextureCoordinates,6,0.95,1,
SetTextureCoordinates,7,0,0,
SetTextureCoordinates,8,0.1,0,
SetTextureCoordinates,9,0.3,0
SetTextureCoordinates,10,0.5,0
SetTextureCoordinates,11,0.7,0
SetTextureCoordinates,12,0.9,0
SetTextureCoordinates,13,1,0


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.4,3.35,-19.5,
AddVertex,1.4,1,-19.5,
AddFace2,0,3,2,1
GenerateNormals,,,,

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

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

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

CreateMeshBuilder,,;//底面,,
AddVertex,-1.4,1,0.04,
AddVertex,-1.4,1,-19.5,
AddVertex,1.4,1,-19.5,
AddVertex,1.4,1,0.04,
AddVertex,-1.18,1,0.22,
AddVertex,-1,1,0.27,
AddVertex,-0.5,1,0.33,
AddVertex,0,1,0.35,
AddVertex,0.5,1,0.33,
AddVertex,1,1,0.27,
AddVertex,1.18,1,0.22,,,,,,
AddFace,0,1,2,3,,,,,
AddFace,0,3,10,9,8,7,6,5,4
SetColor,0,0,0,,,,,,
GenerateNormals,,,,,,,,,


;------屋根------,,,,,,,,,
CreateMeshBuilder,,;//屋根,,,,,,,
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,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,
AddFace,0,7,8,1
AddFace,1,8,9,2
AddFace,2,9,10,3
AddFace,3,10,11,4
AddFace,4,11,12,5
AddFace,5,12,13,6
SetColor,200,200,200,
GenerateNormals,,,,

LoadTexture,yane2.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,-0.07,
AddVertex,1.02,3.55,-19.43,
AddVertex,1.29,3.55,-0.1,
AddVertex,1.29,3.55,-19.4,
AddVertex,1.33,3.43,-0.1,
AddVertex,1.33,3.43,-19.4,
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.02,3.55,-0.07,
AddVertex,-1.02,3.55,-19.43,
AddVertex,-1.29,3.55,-0.1,
AddVertex,-1.29,3.55,-19.4,
AddVertex,-1.33,3.43,-0.1,
AddVertex,-1.33,3.43,-19.4,
AddFace,2,0,1,3
AddFace,4,2,3,5
AddFace,0,2,4,
AddFace,1,5,3,
SetColor,130,130,130,
GenerateNormals,,,,


;------屋根上機器------,,,,
CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.045,0.045,0.4
Translate,-0.63,3.7,-1,
SetColor,150,150,150,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.02,0.05,0.03
Translate,-0.63,3.91,-1,
SetColor,30,30,30,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.08,0.085,0.05
Translate,-0.63,3.83,-1,
SetColor,170,170,170,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.06,0.07,0.35
Translate,0.55,3.74,-0.3,
SetColor,120,120,120,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.1,0.1,0.03
Translate,0.55,3.68,-0.3,
SetColor,120,120,120,


CreateMeshBuilder,,;//クーラー,,
AddVertex,1,3.55,-8.45,
AddVertex,1,3.75,-8.45,
AddVertex,1,3.75,-11.8,
AddVertex,1,3.55,-11.8,
AddVertex,0.6,3.92,-8.45,
AddVertex,0.6,3.92,-11.8,
AddVertex,0,4,-11.8,
AddVertex,0,4,-8.45,
AddVertex,-0.6,3.92,-8.45,
AddVertex,-0.6,3.92,-11.8,
AddVertex,-1,3.55,-8.45,
AddVertex,-1,3.75,-8.45,
AddVertex,-1,3.75,-11.8,
AddVertex,-1,3.55,-11.8,
AddFace,0,3,2,1
AddFace,1,2,5,4
AddFace,4,5,6,7
AddFace,7,6,9,8
AddFace,8,9,12,11
AddFace,11,12,13,10
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,-8.45
AddVertex,-1,3.75,-8.45
AddVertex,-0.6,3.92,-8.45
AddVertex,-0.6,3.6,-8.45
AddVertex,0,4,-8.45
AddVertex,0,3.65,-8.45
AddVertex,0.6,3.92,-8.45
AddVertex,0.6,3.6,-8.45
AddVertex,1,3.75,-8.45,
AddVertex,1,3.55,-8.45,
AddVertex,-1,3.55,-11.8,
AddVertex,-1,3.75,-11.8,
AddVertex,-0.6,3.92,-11.8,
AddVertex,-0.6,3.6,-11.8,
AddVertex,0,4,-11.8,
AddVertex,0,3.65,-11.8,
AddVertex,0.6,3.92,-11.8,
AddVertex,0.6,3.6,-11.8,
AddVertex,1,3.75,-11.8,
AddVertex,1,3.55,-11.8,
AddFace,0,3,2,1
AddFace,3,5,4,2
AddFace,5,7,6,4
AddFace,7,9,8,6
AddFace,10,11,12,13
AddFace,13,12,14,15
AddFace,15,14,16,17
AddFace,17,16,18,19
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,,;//スカート,,
AddVertex,-1.367,0.18,-0.07,
AddVertex,-1.367,1,-0.07,
AddVertex,-0.825,0.18,-0.02,
AddVertex,-0.825,1,-0.02,
AddVertex,0.825,0.18,-0.02,
AddVertex,0.825,1,-0.02,
AddVertex,1.367,0.18,-0.07,
AddVertex,1.367,1,-0.07,
AddFace,0,2,3,1
AddFace,2,4,5,3
AddFace,4,6,7,5
SetColor,180,180,180,
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0.045,1,
SetTextureCoordinates,1,0.045,0,
SetTextureCoordinates,2,0.22,1,
SetTextureCoordinates,3,0.22,0,
SetTextureCoordinates,4,0.78,1,
SetTextureCoordinates,5,0.78,0,
SetTextureCoordinates,6,0.955,1,
SetTextureCoordinates,7,0.955,0,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート裏側,,
AddVertex,-1.365,0.18,-0.07,
AddVertex,-1.365,1,-0.07,
AddVertex,-0.825,0.18,-0.02,
AddVertex,-0.825,1,-0.02,
AddVertex,0.825,0.18,-0.02,
AddVertex,0.825,1,-0.02,
AddVertex,1.365,0.18,-0.07,
AddVertex,1.365,1,-0.07,
AddFace,0,1,3,2
AddFace,2,3,5,4
AddFace,4,5,7,6
SetColor,20,20,20,
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0.045,1,
SetTextureCoordinates,1,0.045,0,
SetTextureCoordinates,2,0.22,1,
SetTextureCoordinates,3,0.22,0,
SetTextureCoordinates,4,0.78,1,
SetTextureCoordinates,5,0.78,0,
SetTextureCoordinates,6,0.955,1,
SetTextureCoordinates,7,0.955,0,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート,,
AddVertex,1.08,0.17,-0.034,
AddVertex,1.325,0.42,-0.057,
AddVertex,1.325,0.95,-0.057,
AddVertex,1.08,0.17,-0.65,
AddVertex,1.325,0.42,-0.65,
AddVertex,1.325,0.95,-0.65,
AddFace,0,3,4,1
AddFace,1,4,5,2
SetColor,180,180,180,
GenerateNormals,,,,

LoadTexture,skart2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.8,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,1,0.8,
SetTextureCoordinates,5,1,0,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート裏側,,
AddVertex,1.08,0.17,-0.034,
AddVertex,1.325,0.42,-0.057,
AddVertex,1.325,0.95,-0.057,
AddVertex,1.08,0.17,-0.65,
AddVertex,1.325,0.42,-0.65,
AddVertex,1.325,0.95,-0.65,
AddFace,0,1,4,3
AddFace,1,2,5,4
SetColor,20,20,20
GenerateNormals,,,

LoadTexture,skart2.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,1,0.8
SetTextureCoordinates,5,1,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スカート,
AddVertex,-1.08,0.17,-0.034
AddVertex,-1.325,0.42,-0.057
AddVertex,-1.325,0.95,-0.057,
AddVertex,-1.08,0.17,-0.65,
AddVertex,-1.325,0.42,-0.65,
AddVertex,-1.325,0.95,-0.65,
AddFace,0,1,4,3
AddFace,1,2,5,4
SetColor,180,180,180,
GenerateNormals,,,,

LoadTexture,skart2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.8,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,1,0.8,
SetTextureCoordinates,5,1,0,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート裏側,,
AddVertex,-1.08,0.17,-0.034,
AddVertex,-1.325,0.42,-0.057,
AddVertex,-1.325,0.95,-0.057,
AddVertex,-1.08,0.17,-0.65,
AddVertex,-1.325,0.42,-0.65,
AddVertex,-1.325,0.95,-0.65,
AddFace,0,3,4,1
AddFace,1,4,5,2
SetColor,20,20,20,
GenerateNormals,,,,

LoadTexture,skart2.bmp,,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.8
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,1,0.8
SetTextureCoordinates,5,1,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スカート支え,
Cube,0.025,0.3,0.045
SetColor,35,35,30
Translate           ,0.79,0.79,-0.07
GenerateNormals,,,


CreateMeshBuilder,,;//スカート支え,
Cube,0.025,0.3,0.045
SetColor,35,35,30
Translate           ,-0.79,0.79,-0.07
GenerateNormals,,,


CreateMeshBuilder,,;//スカート支え,
Cube,0.025,0.3,0.045
SetColor,35,35,30
Translate           ,1.295,0.79,-0.56
GenerateNormals,,,


CreateMeshBuilder,,;//スカート支え,
Cube,0.025,0.3,0.045
SetColor,35,35,30
Translate           ,-1.295,0.79,-0.56
GenerateNormals,,,


;------連結器------,,,
CreateMeshBuilder,,;//連結器取付け部,
AddVertex,-0.57,1,0.2
AddVertex,0.57,1,0.2
AddVertex,0.57,0.7,0.2
AddVertex,-0.57,0.7,0.2
AddVertex,0.57,0.7,0.2
AddVertex,0.57,1,0.2
AddVertex,0.57,1,0.1
AddVertex,0.57,0.7,0.1
AddVertex,-0.57,0.7,0.2
AddVertex,-0.57,1,0.2
AddVertex,-0.57,1,0.1
AddVertex,-0.57,0.7,0.1,
AddFace,0,3,2,1
AddFace,4,7,6,5
AddFace,8,9,10,11
GenerateNormals,,,,

LoadTexture,front-under.bmp,,,
SetTextureCoordinates,0,0,0.005,
SetTextureCoordinates,1,1,0.005,
SetTextureCoordinates,2,1,0.995,
SetTextureCoordinates,3,0,0.995,
SetTextureCoordinates,4,1,0.995,
SetTextureCoordinates,5,1,0.005,
SetTextureCoordinates,6,0.98,0.005,
SetTextureCoordinates,7,0.98,0.995,
SetTextureCoordinates,8,1,0.995,
SetTextureCoordinates,9,1,0.005,
SetTextureCoordinates,10,0.98,0.005,
SetTextureCoordinates,11,0.98,0.995,


CreateMeshBuilder,,;//連結器正面,,
AddVertex,-0.17,1.07,0.48,
AddVertex,0.17,1.07,0.48,
AddVertex,0.17,0.73,0.48,
AddVertex,-0.17,0.73,0.48,
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//連結器正面,
AddVertex,0.13,0.98,0.48
AddVertex,0.01,0.98,0.48
AddVertex,0.06,0.895,0.61
AddVertex,0.01,0.81,0.48
AddVertex,0.13,0.81,0.48
AddFace,0,1,2
AddFace,2,3,4
AddFace,3,2,1
AddFace,0,2,4
GenerateNormals,,,

LoadTexture,renketsuki2.bmp,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0.5,0.5
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,1


CreateMeshBuilder,,;//連結器,
AddVertex,-0.15,1.02,0.48
AddVertex,0.15,1.02,0.48
AddVertex,0.15,0.77,0.48
AddVertex,-0.15,0.77,0.48
AddVertex,-0.08,0.98,0.35
AddVertex,0.08,0.98,0.35
AddVertex,0.08,0.82,0.35,
AddVertex,-0.08,0.82,0.35,
AddFace,2,6,5,1
AddFace,3,0,4,7
AddFace,1,5,4,0
AddFace,2,3,7,6
SetColor,64,63,55,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.08,0.08,0.15,
SetColor,64,63,55,
Translate,0,0.9,0.2,
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,,;//ステップ,,
AddVertex,1.32,0.47,-0.43,
AddVertex,1.32,1,-0.43,
AddVertex,1.32,1,-0.7,
AddVertex,1.32,0.47,-0.7,
AddVertex,-1.32,0.47,-0.43,
AddVertex,-1.32,1,-0.43,
AddVertex,-1.32,1,-0.7,
AddVertex,-1.32,0.47,-0.7,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

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


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


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


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

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


;------影------,,,,
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の;を消去してください。,,,

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