;//ＪＲ東日本　Ｅ２３１系近郊型（クハＥ２３０−８０００）,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,-1.38,1,-19.3
AddVertex,-1.475,1.65,-19.3
AddVertex,-1.47,2.2,-19.3
AddVertex,-1.45,3.35,-19.22
AddVertex,-1.28,1,-19.5
AddVertex,-1.375,1.65,-19.5
AddVertex,-1.37,2.2,-19.5
AddVertex,-1.35,3.35,-19.42
AddVertex,1.28,1,-19.5
AddVertex,1.375,1.65,-19.5
AddVertex,1.37,2.2,-19.5
AddVertex,1.35,3.35,-19.42
AddVertex,1.38,1,-19.3
AddVertex,1.475,1.65,-19.3,
AddVertex,1.47,2.2,-19.3,
AddVertex,1.45,3.35,-19.22,
AddVertex,-1.3,3.45,-19.42,
AddVertex,-0.45,3.6,-19.42,
AddVertex,0,3.63,-19.42,
AddVertex,0.45,3.6,-19.42,
AddVertex,1.3,3.45,-19.42,
AddVertex,-1.3,3.5,-19.22,
AddVertex,-0.45,3.65,-19.22,
AddVertex,0,3.68,-19.22,
AddVertex,0.45,3.65,-19.22,
AddVertex,1.3,3.5,-19.22,
AddFace,0,1,5,4
AddFace,4,5,9,8
AddFace,8,9,13,12
AddFace,1,2,6,5
AddFace,5,6,10,9
AddFace,9,10,14,13
AddFace,2,3,7,6
AddFace,6,7,11,10
AddFace,10,11,15,14
AddFace,7,16,20,11
AddFace,16,17,19,20
AddFace,7,3,21,16
AddFace,16,21,22,17
AddFace,17,22,23,18
AddFace,18,23,24,19
AddFace,19,24,25,20
AddFace,20,25,15,11
AddFace,17,18,19,
GenerateNormals,,,,

LoadTexture,front1.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.76
SetTextureCoordinates,2,0,0.55
SetTextureCoordinates,3,0,0.13
SetTextureCoordinates,4,0.06,0.997
SetTextureCoordinates,5,0.03,0.76
SetTextureCoordinates,6,0.03,0.55
SetTextureCoordinates,7,0.03,0.12
SetTextureCoordinates,8,0.94,0.997
SetTextureCoordinates,9,0.97,0.76
SetTextureCoordinates,10,0.97,0.55
SetTextureCoordinates,11,0.97,0.12
SetTextureCoordinates,12,1,1
SetTextureCoordinates,13,1,0.76
SetTextureCoordinates,14,1,0.55
SetTextureCoordinates,15,1,0.13
SetTextureCoordinates,16,0.05,0.085
SetTextureCoordinates,17,0.3,0.04
SetTextureCoordinates,18,0.5,0.02
SetTextureCoordinates,19,0.7,0.04
SetTextureCoordinates,20,0.95,0.085
SetTextureCoordinates,21,0.05,0.01
SetTextureCoordinates,22,0.3,0.01
SetTextureCoordinates,23,0.5,0.01
SetTextureCoordinates,24,0.7,0.01
SetTextureCoordinates,25,0.95,0.01


CreateMeshBuilder,,;//前面ステップ,
AddVertex,-1.28,1,-19.5
AddVertex,-1.305,1.15,-19.5,
AddVertex,-1.24,1,-19.55,
AddVertex,-1.265,1.15,-19.55,
AddVertex,1.28,1,-19.5,
AddVertex,1.305,1.15,-19.5,
AddVertex,1.24,1,-19.55,
AddVertex,1.265,1.15,-19.55,
AddVertex,-1.25,1.08,-19.55,
AddVertex,-0.2,1.08,-19.62,
AddVertex,-0.2,1.15,-19.62,
AddVertex,0.2,1.08,-19.62,
AddVertex,0.2,1.15,-19.62,
AddVertex,1.25,1.08,-19.55,
AddFace,0,1,3,2
AddFace,2,3,7,6
AddFace,6,7,5,4
AddFace,8,3,10,9
AddFace,9,10,12,11
AddFace,11,12,7,13
GenerateNormals,,,,

LoadTexture,front2.bmp,,,
SetTextureCoordinates,0,0,0.99,
SetTextureCoordinates,1,0,0.02,
SetTextureCoordinates,2,0.01,0.99,
SetTextureCoordinates,3,0,0.02,
SetTextureCoordinates,4,1,0.99,
SetTextureCoordinates,5,1,0.02,
SetTextureCoordinates,6,0.99,0.99,
SetTextureCoordinates,7,1,0.02,
SetTextureCoordinates,8,0,0.2,
SetTextureCoordinates,9,0.45,0.2,
SetTextureCoordinates,10,0.45,0.05,
SetTextureCoordinates,11,0.55,0.2,
SetTextureCoordinates,12,0.55,0.05,
SetTextureCoordinates,13,1,0.2,


CreateMeshBuilder,,;//前面ステップ,,
AddVertex,-1.305,1.15,-19.5,
AddVertex,-1.265,1.15,-19.55,
AddVertex,1.305,1.15,-19.5,
AddVertex,1.265,1.15,-19.55,
AddVertex,-0.2,1.15,-19.62,
AddVertex,0.2,1.15,-19.62,
AddFace,1,0,2,3
AddFace,4,1,3,5
GenerateNormals,,,,

LoadTexture,front3.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.3
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,1,0.3
SetTextureCoordinates,4,0.45,0.03
SetTextureCoordinates,5,0.55,0.03


CreateMeshBuilder,,;//前面ステップ,
AddVertex,-1.293,1.08,-19.5
AddVertex,-1.253,1.08,-19.55
AddVertex,1.293,1.08,-19.5
AddVertex,1.253,1.08,-19.55
AddVertex,-0.2,1.08,-19.62
AddVertex,0.2,1.08,-19.62,
AddFace,1,3,2,0
AddFace,4,5,3,1
SetColor,150,150,150,
GenerateNormals,,,,


CreateMeshBuilder,,;//後面,
AddVertex,-1.38,1,0
AddVertex,-1.475,1.65,0
AddVertex,-1.45,3.35,0
AddVertex,-1.3,3.5,0
AddVertex,-0.45,3.65,0
AddVertex,0,3.68,0
AddVertex,0.45,3.65,0
AddVertex,1.3,3.5,0
AddVertex,1.45,3.35,0,
AddVertex,1.475,1.65,0,
AddVertex,1.38,1,0,
AddFace,0,10,9,1
AddFace,1,9,8,2
AddFace,2,8,7,3
AddFace,3,7,6,4
AddFace,4,6,5,
GenerateNormals,,,,

LoadTexture,back.bmp,,,
SetTextureCoordinates,0,0.03,0.995,
SetTextureCoordinates,1,0,0.724,
SetTextureCoordinates,2,0.005,0.15,
SetTextureCoordinates,3,0.1,0.02,
SetTextureCoordinates,4,0.3,0.01,
SetTextureCoordinates,5,0.5,0.005
SetTextureCoordinates,6,0.7,0.01
SetTextureCoordinates,7,0.9,0.02
SetTextureCoordinates,8,0.995,0.15
SetTextureCoordinates,9,1,0.724
SetTextureCoordinates,10,0.97,0.995


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.38,1,-19.07,
AddVertex,1.475,1.65,-19.07,
AddVertex,1.45,3.35,-19.07,
AddVertex,1.38,1,0,
AddVertex,1.475,1.65,0,
AddVertex,1.45,3.35,0,
AddFace,0,1,4,3
AddFace,1,2,5,4
GenerateNormals,,,,

LoadTexture,side1-3.bmp,,
SetTextureCoordinates,0,0.025,1
SetTextureCoordinates,1,0.025,0.724
SetTextureCoordinates,2,0.025,0
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,1,0.724
SetTextureCoordinates,5,1,0


CreateMeshBuilder,,;//左側面先頭部,
AddVertex,1.38,1,-19.3
AddVertex,1.475,1.65,-19.3
AddVertex,1.47,2.2,-19.3
AddVertex,1.45,3.35,-19.22
AddVertex,1.38,1,-19.07
AddVertex,1.475,1.65,-19.07,,
AddVertex,1.45,3.35,-19.07,,
AddFace,0,1,5,4,
AddFace,1,2,3,6,5
GenerateNormals,,,,,

LoadTexture,side4.bmp,,,,
SetTextureCoordinates,0,0.05,1,,
SetTextureCoordinates,1,0.05,0.724,,
SetTextureCoordinates,2,0.05,0.5,,
SetTextureCoordinates,3,0.05,0,,
SetTextureCoordinates,4,0.88,1,,
SetTextureCoordinates,5,0.88,0.724,,
SetTextureCoordinates,6,0.88,0,,


CreateMeshBuilder,,;//左側面転落防止幌,,
AddVertex     ,1.4,1.28,0,
AddVertex     ,1.4,2.4,0,
AddVertex     ,1.4,2.4,0.22,
AddVertex     ,1.4,1.28,0.22,
AddFace2,0,1,2,3
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//右側面,,
AddVertex,-1.38,1,-19.07,
AddVertex,-1.475,1.65,-19.07,
AddVertex,-1.45,3.35,-19.07,
AddVertex,-1.38,1,0,
AddVertex,-1.475,1.65,0,
AddVertex,-1.45,3.35,0,
AddFace,0,3,4,1
AddFace,1,4,5,2
GenerateNormals,,,,

LoadTexture,side1-4.bmp,,,
SetTextureCoordinates,0,0.025,1,
SetTextureCoordinates,1,0.025,0.724,
SetTextureCoordinates,2,0.025,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,1,0.724,
SetTextureCoordinates,5,1,0,


CreateMeshBuilder,,;//右側面先頭部,,,
AddVertex,-1.38,1,-19.3,,
AddVertex,-1.475,1.65,-19.3,,
AddVertex,-1.47,2.2,-19.3,,
AddVertex,-1.45,3.35,-19.22,,
AddVertex,-1.38,1,-19.07,,
AddVertex,-1.475,1.65,-19.07,,
AddVertex,-1.45,3.35,-19.07,,
AddFace,0,4,5,1,
AddFace,1,5,6,3,2
GenerateNormals,,,,,

LoadTexture,side4.bmp,,,,
SetTextureCoordinates,0,0.05,1,,
SetTextureCoordinates,1,0.05,0.724,
SetTextureCoordinates,2,0.05,0.5,
SetTextureCoordinates,3,0.05,0,
SetTextureCoordinates,4,0.88,1,
SetTextureCoordinates,5,0.88,0.724,
SetTextureCoordinates,6,0.88,0,


CreateMeshBuilder,,;//右側面転落防止幌,,
AddVertex     ,-1.4,1.28,0,
AddVertex     ,-1.4,2.4,0,
AddVertex     ,-1.4,2.4,0.22,
AddVertex     ,-1.4,1.28,0.22,
AddFace2,0,1,2,3
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//底面,,
AddVertex,-1.38,1,0,
AddVertex,-1.38,1,-19.3,
AddVertex,1.38,1,-19.3,
AddVertex,1.38,1,0,
AddVertex,-1.28,1,-19.5,
AddVertex,1.28,1,-19.5,
AddFace,0,1,2,3
AddFace,1,4,5,2
SetColor,0,0,0,
GenerateNormals,,,


;------屋根------,,,
CreateMeshBuilder,,;//屋根,
AddVertex,1.45,3.35,-19.07
AddVertex,1.3,3.5,-19.07
AddVertex,0.45,3.65,-19.07
AddVertex,0,3.68,-19.07
AddVertex,-0.45,3.65,-19.07
AddVertex,-1.3,3.5,-19.07
AddVertex,-1.45,3.35,-19.07
AddVertex,1.45,3.35,0
AddVertex,1.3,3.5,0
AddVertex,0.45,3.65,0
AddVertex,0,3.68,0
AddVertex,-0.45,3.65,0,
AddVertex,-1.3,3.5,0,
AddVertex,-1.45,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,180,180,180,
GenerateNormals,,,,

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


CreateMeshBuilder,,;//先頭屋根,
AddVertex,1.45,3.35,-19.22
AddVertex,1.3,3.5,-19.22
AddVertex,0.45,3.65,-19.22,
AddVertex,0,3.68,-19.22,
AddVertex,-0.45,3.65,-19.22,
AddVertex,-1.3,3.5,-19.22,
AddVertex,-1.45,3.35,-19.22,
AddVertex,1.45,3.35,-19.07,
AddVertex,1.3,3.5,-19.07,
AddVertex,0.45,3.65,-19.07,
AddVertex,0,3.68,-19.07,
AddVertex,-0.45,3.65,-19.07,
AddVertex,-1.3,3.5,-19.07,
AddVertex,-1.45,3.35,-19.07,
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,190,190,190,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根,,
AddVertex,1,3.55,-18.05,
AddVertex,1,3.55,-0.07,
AddVertex,1.3,3.55,-18.02,
AddVertex,1.3,3.55,-0.1,
AddVertex,1.34,3.43,-18.02,
AddVertex,1.34,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,3.55,-18.05,
AddVertex,-1,3.55,-0.07,
AddVertex,-1.3,3.55,-18.02,
AddVertex,-1.3,3.55,-0.1,
AddVertex,-1.34,3.43,-18.02,
AddVertex,-1.34,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.6,-11
AddVertex ,1,3.75,-11
AddVertex ,1,3.75,-7.65
AddVertex ,1,3.6,-7.65
AddVertex ,0.6,3.92,-11
AddVertex ,0.6,3.92,-7.65
AddVertex ,0,4,-7.65
AddVertex ,0,4,-11
AddVertex ,-0.6,3.92,-11
AddVertex ,-0.6,3.92,-7.65
AddVertex ,-1,3.6,-11,
AddVertex ,-1,3.75,-11,
AddVertex ,-1,3.75,-7.65,
AddVertex ,-1,3.6,-7.65,
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.6,-11
AddVertex ,-1,3.75,-11
AddVertex ,-0.6,3.92,-11
AddVertex ,-0.6,3.65,-11
AddVertex ,0,4,-11
AddVertex ,0,3.7,-11
AddVertex ,0.6,3.92,-11
AddVertex ,0.6,3.65,-11
AddVertex ,1,3.75,-11
AddVertex ,1,3.6,-11
AddVertex ,-1,3.6,-7.65
AddVertex ,-1,3.75,-7.65
AddVertex ,-0.6,3.92,-7.65
AddVertex ,-0.6,3.65,-7.65
AddVertex ,0,4,-7.65
AddVertex ,0,3.7,-7.65
AddVertex ,0.6,3.92,-7.65
AddVertex ,0.6,3.65,-7.65,
AddVertex ,1,3.75,-7.65,
AddVertex ,1,3.6,-7.65,
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,,;//屋根上機器,,
Cylinder,6,0.06,0.07,0.35
Translate  ,-0.55,3.79,-17.7,
SetColor,120,120,120,


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


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.045,0.045,0.4
Translate  ,0.55,3.74,-17.7,
SetColor,150,150,150,


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


CreateMeshBuilder,,;//屋根上機器,,
Cube,0.25,0.03,0.02,
SetColor,120,120,120,
Translate,0,3.7,-2.12,
GenerateNormals,,,


CreateMeshBuilder,,;//屋根上機器,
Cube,0.25,0.03,0.02
SetColor,120,120,120
Translate,0,3.7,-1.93
GenerateNormals,,,


CreateMeshBuilder,,;//屋根上機器,
Cube,0.25,0.04,0.15
SetColor,165,165,165
Translate,0,3.77,-2.025
GenerateNormals,,,


CreateMeshBuilder,,;//屋根上機器,
Cube,0.27,0.01,0.175
SetColor,150,150,150
Translate,0,3.78,-2.025
GenerateNormals,,,


CreateMeshBuilder,,;//屋根上機器,
AddVertex,-0.25,3.81,-2.175
AddVertex,-0.25,3.81,-1.875
AddVertex,0.25,3.81,-2.175
AddVertex,0.25,3.81,-1.875
AddVertex,-0.2,3.84,-2.125
AddVertex,-0.2,3.84,-1.925
AddVertex,0.2,3.84,-2.125
AddVertex,0.2,3.84,-1.925,
AddFace,0,4,6,2
AddFace,2,6,7,3
AddFace,1,5,4,0
AddFace,3,7,5,1
AddFace,4,5,7,6
SetColor,150,150,150,
GenerateNormals,,,,


;------スカート------,,,
CreateMeshBuilder,,;//スカート,
AddVertex,-1.2,0.22,-19.06
AddVertex,-1.33,0.44,-18.94
AddVertex,-1.33,0.69,-18.8
AddVertex,-1.2,0.22,-19.36
AddVertex,-1.33,0.44,-19.36
AddVertex,-1.33,0.69,-19.36
AddVertex,-1.15,0.22,-19.48
AddVertex,-1.22,0.3,-19.49
AddVertex,-1.22,0.69,-19.46
AddVertex,0,0.22,-19.61
AddVertex,0,0.3,-19.61
AddVertex,0,0.69,-19.58
AddVertex,1.15,0.22,-19.48
AddVertex,1.22,0.3,-19.49
AddVertex,1.22,0.69,-19.46,
AddVertex,1.2,0.22,-19.36,
AddVertex,1.33,0.44,-19.36,
AddVertex,1.33,0.69,-19.36,
AddVertex,1.2,0.22,-19.06,
AddVertex,1.33,0.44,-18.94,
AddVertex,1.33,0.69,-18.8,
AddFace,0,1,4,3
AddFace,1,2,5,4
AddFace,3,4,7,6
AddFace,4,5,8,7
AddFace,6,7,10,9
AddFace,7,8,11,10
AddFace,9,10,13,12
AddFace,10,11,14,13
AddFace,12,13,16,15
AddFace,13,14,17,16
AddFace,15,16,19,18
AddFace,16,17,20,19
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0.03,0.997,
SetTextureCoordinates,1,0.03,0.556,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0.12,0.997,
SetTextureCoordinates,4,0.12,0.556,
SetTextureCoordinates,5,0.12,0,
SetTextureCoordinates,6,0.18,0.997,
SetTextureCoordinates,7,0.16,0.867,
SetTextureCoordinates,8,0.16,0,
SetTextureCoordinates,9,0.5,0.997,
SetTextureCoordinates,10,0.5,0.867
SetTextureCoordinates,11,0.5,0
SetTextureCoordinates,12,0.82,0.997
SetTextureCoordinates,13,0.84,0.867
SetTextureCoordinates,14,0.84,0
SetTextureCoordinates,15,0.88,0.997
SetTextureCoordinates,16,0.88,0.556
SetTextureCoordinates,17,0.88,0
SetTextureCoordinates,18,0.97,0.997
SetTextureCoordinates,19,0.97,0.556
SetTextureCoordinates,20,1,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スカート,
AddVertex,-1.2,0.22,-19.06
AddVertex,-1.33,0.44,-18.94
AddVertex,-1.33,0.69,-18.8
AddVertex,-1.2,0.22,-19.36
AddVertex,-1.33,0.44,-19.36
AddVertex,-1.33,0.69,-19.36
AddVertex,-1.15,0.22,-19.48
AddVertex,-1.22,0.3,-19.49
AddVertex,-1.22,0.69,-19.46
AddVertex,0,0.22,-19.61
AddVertex,0,0.3,-19.61
AddVertex,0,0.69,-19.58
AddVertex,1.15,0.22,-19.48
AddVertex,1.22,0.3,-19.49
AddVertex,1.22,0.69,-19.46
AddVertex,1.2,0.22,-19.36
AddVertex,1.33,0.44,-19.36
AddVertex,1.33,0.69,-19.36,
AddVertex,1.2,0.22,-19.06,
AddVertex,1.33,0.44,-18.94,
AddVertex,1.33,0.69,-18.8,
AddFace,0,3,4,1
AddFace,1,4,5,2
AddFace,3,6,7,4
AddFace,4,7,8,5
AddFace,6,9,10,7
AddFace,7,10,11,8
AddFace,9,12,13,10
AddFace,10,13,14,11
AddFace,12,15,16,13
AddFace,13,16,17,14
AddFace,15,18,19,16
AddFace,16,19,20,17
SetColor,30,30,30
GenerateNormals,,,

LoadTexture,skart.bmp,,
SetTextureCoordinates,0,0.03,1
SetTextureCoordinates,1,0.03,0.556
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0.12,1
SetTextureCoordinates,4,0.12,0.556
SetTextureCoordinates,5,0.12,0
SetTextureCoordinates,6,0.18,1
SetTextureCoordinates,7,0.16,0.867
SetTextureCoordinates,8,0.16,0
SetTextureCoordinates,9,0.5,1
SetTextureCoordinates,10,0.5,0.867
SetTextureCoordinates,11,0.5,0
SetTextureCoordinates,12,0.82,1
SetTextureCoordinates,13,0.84,0.867
SetTextureCoordinates,14,0.84,0
SetTextureCoordinates,15,0.88,1
SetTextureCoordinates,16,0.88,0.556
SetTextureCoordinates,17,0.88,0
SetTextureCoordinates,18,0.97,1
SetTextureCoordinates,19,0.97,0.556
SetTextureCoordinates,20,1,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スカートステー,
Cube,0.025,0.15,0.045
SetColor,65,65,65
Translate           ,-1.3,0.8,-18.93
GenerateNormals,,,


CreateMeshBuilder,,;//スカートステー,
Cube,0.025,0.15,0.045
SetColor,65,65,65
Translate           ,1.3,0.8,-18.93
GenerateNormals,,,


CreateMeshBuilder,,;//スカートステー,
Cube,0.025,0.15,0.045
SetColor,65,65,65
Translate           ,-0.85,0.8,-19.43
GenerateNormals,,,


CreateMeshBuilder,,;//スカートステー,,
Cube,0.025,0.15,0.045,
SetColor,65,65,65,
Translate           ,0.85,0.8,-19.43,
GenerateNormals,,,,


;------連結器（前)------,,,
CreateMeshBuilder,,;//連結器取付け部,
AddVertex,-0.57,1,-19.47
AddVertex,0.57,1,-19.47
AddVertex,0.57,0.62,-19.47
AddVertex,-0.57,0.62,-19.47
AddVertex,0.53,0.62,-19.47
AddVertex,0.53,1,-19.47
AddVertex,0.53,1,-19.38
AddVertex,0.53,0.62,-19.38
AddVertex,-0.53,0.62,-19.48
AddVertex,-0.53,1,-19.48
AddVertex,-0.53,1,-19.38
AddVertex,-0.53,0.62,-19.38
AddFace,0,1,2,3
AddFace,4,5,6,7
AddFace,8,11,10,9
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,0.955,0.995,
SetTextureCoordinates,5,0.955,0.005,
SetTextureCoordinates,6,0.955,0.005,
SetTextureCoordinates,7,0.955,0.995,
SetTextureCoordinates,8,0.955,0.995,
SetTextureCoordinates,9,0.955,0.005,
SetTextureCoordinates,10,0.955,0.005,
SetTextureCoordinates,11,0.955,0.995,
SetDecalTransparentColor,0,0,0,


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

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


CreateMeshBuilder,,;//連結器正面,
AddVertex,-0.13,0.98,-19.75
AddVertex,-0.01,0.98,-19.75
AddVertex,-0.06,0.895,-19.88
AddVertex,-0.01,0.81,-19.75
AddVertex,-0.13,0.81,-19.75
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,-19.75
AddVertex,0.15,1.02,-19.75
AddVertex,0.15,0.77,-19.75
AddVertex,-0.15,0.77,-19.75
AddVertex,-0.1,0.98,-19.65
AddVertex,0.1,0.98,-19.65
AddVertex,0.1,0.82,-19.65,
AddVertex,-0.1,0.82,-19.65,
AddFace,2,1,5,6
AddFace,3,7,4,0
AddFace,1,0,4,5
AddFace,2,6,7,3
SetColor,60,60,60,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.08,0.08,0.15,
SetColor,60,60,60,
Translate,0,0.9,-19.5,
GenerateNormals,,,,


CreateMeshBuilder,,;//後面連結器,,
AddVertex,-0.18,1,0.25,
AddVertex,0.18,1,0.25,
AddVertex,0.18,0.7,0.25,
AddVertex,-0.18,0.7,0.25,
AddVertex,-0.18,1,0.005,
AddVertex,0.18,1,0.005,
AddVertex,0.18,0.7,0.005,
AddVertex,-0.18,0.7,0.005,
AddFace,0,1,5,4
AddFace,2,6,5,1
AddFace,3,0,4,7
AddFace,2,1,0,3
SetColor,25,25,25,
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.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.46,0.43,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0.56,0.43,-15.55,


CreateMeshBuilder,,;//車輪左後,,
AddVertex   ,0.6,0,-15.98,
AddVertex   ,0.6,0.86,-15.98,
AddVertex   ,0.6,0.86,-15.12,
AddVertex   ,0.6,0,-15.12,
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.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.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-15.55,


CreateMeshBuilder,,;//車輪右後,,
AddVertex   ,-0.6,0,-15.98,
AddVertex   ,-0.6,0.86,-15.98,
AddVertex   ,-0.6,0.86,-15.12,
AddVertex   ,-0.6,0,-15.12,
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,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.43,-17.65,


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


CreateMeshBuilder,,;//台車左側,,
AddVertex   ,0.95,0.2,-18,
AddVertex   ,0.95,0.97,-18,
AddVertex   ,0.95,0.97,-15.2,
AddVertex   ,0.95,0.2,-15.2,
AddFace,0,1,2,3
SetColor,151,158,180,
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,-18,
AddVertex   ,0.8,0.97,-18,
AddVertex   ,0.8,0.97,-15.2,
AddVertex   ,0.8,0.2,-15.2,
AddFace2,0,1,2,3
SetColor,20,20,20,
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,-18,
AddVertex   ,-0.95,0.97,-18,
AddVertex   ,-0.95,0.97,-15.2,
AddVertex   ,-0.95,0.2,-15.2,
AddFace,0,3,2,1
SetColor,151,158,180,
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,-18,
AddVertex   ,-0.8,0.97,-18,
AddVertex   ,-0.8,0.97,-15.2,
AddVertex   ,-0.8,0.2,-15.2,
AddFace2,0,3,2,1
SetColor,20,20,20,
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.62,0.25,-17.3,
AddVertex   ,0.62,0.7,-17.3,
AddVertex   ,0.62,0.7,-15.9,
AddVertex   ,0.62,0.25,-15.9,
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.57,0.25,-17.3,
AddVertex   ,0.57,0.7,-17.3,
AddVertex   ,0.57,0.7,-15.9,
AddVertex   ,0.57,0.25,-15.9,
AddFace2,0,1,2,3
SetColor,50,50,50,
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.25,-17.3,
AddVertex   ,-0.62,0.7,-17.3,
AddVertex   ,-0.62,0.7,-15.9,
AddVertex   ,-0.62,0.25,-15.9,
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.57,0.25,-17.3,
AddVertex   ,-0.57,0.7,-17.3,
AddVertex   ,-0.57,0.7,-15.9,
AddVertex   ,-0.57,0.25,-15.9,
AddFace2,0,1,2,3
SetColor,50,50,50,
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,6,0.36,0.36,0.15
SetColor,43,40,40,
Translate     ,1,0.93,-16.6,


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


;------台車(後）------,,,,
CreateMeshBuilder,,;//車輪左前,,
Cylinder,16,0.46,0.43,0.07
SetColor,20,20,10,
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.46,0.43,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0.56,0.43,-1.85,


CreateMeshBuilder,,;//車輪左後,,
AddVertex   ,0.6,0,-2.28,
AddVertex   ,0.6,0.86,-2.28,
AddVertex   ,0.6,0.86,-1.42,
AddVertex   ,0.6,0,-1.42,
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,-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.43,0.46,0.07
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,-0.56,0.43,-1.85,


CreateMeshBuilder,,;//車輪右後,,
AddVertex   ,-0.6,0,-2.28,
AddVertex   ,-0.6,0.86,-2.28,
AddVertex   ,-0.6,0.86,-1.42,
AddVertex   ,-0.6,0,-1.42,
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,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.43,-3.95,


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


CreateMeshBuilder,,;//台車左側,,
AddVertex   ,0.95,0.2,-4.3,
AddVertex   ,0.95,0.97,-4.3,
AddVertex   ,0.95,0.97,-1.5,
AddVertex   ,0.95,0.2,-1.5,
AddFace,0,1,2,3
SetColor,151,158,180
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.3
AddVertex   ,0.8,0.97,-4.3
AddVertex   ,0.8,0.97,-1.5
AddVertex   ,0.8,0.2,-1.5
AddFace2,0,1,2,3
SetColor,20,20,20,
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.3,
AddVertex   ,-0.95,0.97,-4.3,
AddVertex   ,-0.95,0.97,-1.5,
AddVertex   ,-0.95,0.2,-1.5,
AddFace,0,3,2,1
SetColor,151,158,180,
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.3,
AddVertex   ,-0.8,0.97,-4.3,
AddVertex   ,-0.8,0.97,-1.5,
AddVertex   ,-0.8,0.2,-1.5,
AddFace2,0,3,2,1
SetColor,20,20,20,
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.62,0.25,-17.3,
AddVertex   ,0.62,0.7,-17.3,
AddVertex   ,0.62,0.7,-15.9,
AddVertex   ,0.62,0.25,-15.9,
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.57,0.25,-17.3,
AddVertex   ,0.57,0.7,-17.3,
AddVertex   ,0.57,0.7,-15.9,
AddVertex   ,0.57,0.25,-15.9,
AddFace2,0,1,2,3
SetColor,50,50,50,
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.25,-17.3,
AddVertex   ,-0.62,0.7,-17.3,
AddVertex   ,-0.62,0.7,-15.9,
AddVertex   ,-0.62,0.25,-15.9,
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.57,0.25,-17.3,
AddVertex   ,-0.57,0.7,-17.3,
AddVertex   ,-0.57,0.7,-15.9,
AddVertex   ,-0.57,0.25,-15.9,
AddFace2,0,1,2,3
SetColor,50,50,50,
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,6,0.36,0.36,0.15
SetColor,43,40,40,
Translate     ,1,0.93,-2.9,


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


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

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


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


CreateMeshBuilder,,;//床下機器,,
Cube,0.85,0.15,0.6,
SetColor,22,19,10,
Translate,0,0.85,-18.8,
GenerateNormals,,,,


CreateMeshBuilder,,;//床下機器,,
Cube,0.85,0.15,0.9
SetColor,22,19,10
Translate,0,0.9,-14
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.15,0.6
SetColor,22,19,10
Translate,0,0.85,-0.6
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

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