;//ＪＲ東日本１１５系３００番台（クハ１１５−３００）,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,-1.36,1,-0.555
AddVertex,-1.31,1,-0.38
AddVertex,-1.18,1,-0.27
AddVertex,-0.465,1,-0.05
AddVertex,0.465,1,-0.05
AddVertex,1.18,1,-0.27
AddVertex,1.31,1,-0.38
AddVertex,1.36,1,-0.555
AddVertex,-1.45,1.6,-0.555
AddVertex,-1.38,1.6,-0.38
AddVertex,-1.23,1.6,-0.27
AddVertex,-0.465,1.6,0
AddVertex,0.465,1.6,0
AddVertex,1.23,1.6,-0.27
AddVertex,1.38,1.6,-0.38
AddVertex,1.45,1.6,-0.555
AddVertex,-1.45,3.35,-0.555
AddVertex,-1.38,3.35,-0.38
AddVertex,-1.23,3.35,-0.27
AddVertex,-0.465,3.35,0
AddVertex,0.465,3.35,0
AddVertex,1.23,3.35,-0.27
AddVertex,1.38,3.35,-0.38
AddVertex,1.45,3.35,-0.555
AddVertex,-1.405,3.45,-0.555
AddVertex,-1.33,3.45,-0.43
AddVertex,-1.22,3.45,-0.32
AddVertex,-0.465,3.45,-0.05
AddVertex,0.465,3.45,-0.05
AddVertex,1.22,3.45,-0.32
AddVertex,1.33,3.45,-0.43
AddVertex,1.405,3.45,-0.555
AddVertex,-1.325,3.5,-0.555
AddVertex,-1.29,3.5,-0.48
AddVertex,-1.19,3.505,-0.39
AddVertex,-0.47,3.51,-0.12
AddVertex,0.47,3.51,-0.12
AddVertex,1.19,3.505,-0.38
AddVertex,1.29,3.5,-0.48
AddVertex,1.325,3.5,-0.555
AddVertex,-0.97,3.55,-0.555
AddVertex,-0.47,3.605,-0.555
AddVertex,0,3.62,-0.555
AddVertex,0.47,3.605,-0.555
AddVertex,0.97,3.55,-0.555
AddVertex,0,3.51,-0.12,
AddVertex,-0.465,1.17,0,
AddVertex,0.465,1.17,0,
AddFace,46,47,12,11
AddFace,32,33,34,40
AddFace,34,35,41,40
AddFace,35,45,42,41
AddFace,45,36,43,42
AddFace,36,37,44,43
AddFace,37,38,39,44
AddFace,0,1,9,8
AddFace,1,2,10,9
AddFace,2,3,11,10
AddFace,3,4,12,11
AddFace,4,5,13,12
AddFace,5,6,14,13
AddFace,6,7,15,14
AddFace,8,9,17,16
AddFace,9,10,18,17
AddFace,10,11,19,18
AddFace,11,12,20,19
AddFace,12,13,21,20
AddFace,13,14,22,21
AddFace,14,15,23,22
AddFace,16,17,25,24
AddFace,17,18,26,25
AddFace,18,19,27,26
AddFace,19,20,28,27
AddFace,20,21,29,28
AddFace,21,22,30,29
AddFace,22,23,31,30
AddFace,24,25,33,32
AddFace,25,26,34,33
AddFace,26,27,35,34
AddFace,27,28,36,35
AddFace,28,29,37,36
AddFace,29,30,38,37
AddFace,30,31,39,38
GenerateNormals,,,,

LoadTexture,front1.bmp,,,
SetTextureCoordinates,0,1,0.995,
SetTextureCoordinates,1,0.96,0.995,
SetTextureCoordinates,2,0.89,0.995,
SetTextureCoordinates,3,0.65,0.995,
SetTextureCoordinates,4,0.35,0.995,
SetTextureCoordinates,5,0.11,0.995,
SetTextureCoordinates,6,0.04,0.995,
SetTextureCoordinates,7,0,0.995
SetTextureCoordinates,8,1,0.76
SetTextureCoordinates,9,0.96,0.76
SetTextureCoordinates,10,0.89,0.76
SetTextureCoordinates,11,0.65,0.76
SetTextureCoordinates,12,0.35,0.76
SetTextureCoordinates,13,0.11,0.76
SetTextureCoordinates,14,0.04,0.76
SetTextureCoordinates,15,0,0.76
SetTextureCoordinates,16,1,0.11
SetTextureCoordinates,17,0.96,0.11
SetTextureCoordinates,18,0.89,0.11
SetTextureCoordinates,19,0.65,0.11
SetTextureCoordinates,20,0.35,0.11
SetTextureCoordinates,21,0.11,0.11
SetTextureCoordinates,22,0.04,0.11
SetTextureCoordinates,23,0,0.11
SetTextureCoordinates,24,1,0.07
SetTextureCoordinates,25,0.96,0.07
SetTextureCoordinates,26,0.89,0.07
SetTextureCoordinates,27,0.65,0.07
SetTextureCoordinates,28,0.35,0.07
SetTextureCoordinates,29,0.11,0.07
SetTextureCoordinates,30,0.04,0.07
SetTextureCoordinates,31,0,0.07
SetTextureCoordinates,32,1,0.06
SetTextureCoordinates,33,0.96,0.06
SetTextureCoordinates,34,0.89,0.06
SetTextureCoordinates,35,0.65,0.06
SetTextureCoordinates,36,0.35,0.06
SetTextureCoordinates,37,0.11,0.06
SetTextureCoordinates,38,0.04,0.06
SetTextureCoordinates,39,0,0.06
SetTextureCoordinates,40,0.89,0.01
SetTextureCoordinates,41,0.65,0.01
SetTextureCoordinates,42,0.5,0.01
SetTextureCoordinates,43,0.35,0.01
SetTextureCoordinates,44,0.11,0.01
SetTextureCoordinates,45,0.5,0.06
SetTextureCoordinates,46,0.645,0.925
SetTextureCoordinates,47,0.355,0.925


CreateMeshBuilder,,;//前面貫通扉枠,
AddVertex,-0.41,1.115,0.06
AddVertex,0.41,1.115,0.06
AddVertex,-0.41,1.115,-0.1
AddVertex,0.41,1.115,-0.1
AddVertex,-0.465,1.165,0.06
AddVertex,0.465,1.165,0.06
AddVertex,-0.465,1.165,-0.1
AddVertex,0.465,1.165,-0.1
AddVertex,-0.465,3.1,0.06
AddVertex,0.465,3.1,0.06
AddVertex,-0.465,3.1,-0.1
AddVertex,0.465,3.1,-0.1
AddVertex,-0.42,3.17,0.06
AddVertex,0.42,3.17,0.06
AddVertex,-0.42,3.17,-0.1
AddVertex,0.42,3.17,-0.1
AddVertex,-0.35,3.2,0.06
AddVertex,0.35,3.2,0.06
AddVertex,-0.35,3.2,-0.1
AddVertex,0.35,3.2,-0.1
AddFace,0,1,5,4
AddFace,4,5,9,8
AddFace,8,9,13,12
AddFace,12,13,17,16
AddFace2,2,0,1,3
AddFace2,2,6,4,0
AddFace2,6,10,8,4
AddFace2,10,14,12,8
AddFace2,14,18,16,12
AddFace2,16,18,19,17
AddFace2,13,17,19,15
AddFace2,9,13,15,11
AddFace2,5,9,11,7
AddFace2,1,5,7,3
GenerateNormals,,,,

LoadTexture,front2.bmp,,
SetTextureCoordinates,0,0.02,0.995
SetTextureCoordinates,1,0.98,0.995
SetTextureCoordinates,2,0,0.995
SetTextureCoordinates,3,1,0.995
SetTextureCoordinates,4,0.02,0.95
SetTextureCoordinates,5,0.98,0.95
SetTextureCoordinates,6,0,0.95
SetTextureCoordinates,7,1,0.95
SetTextureCoordinates,8,0.02,0.09
SetTextureCoordinates,9,0.98,0.09
SetTextureCoordinates,10,0,0.09
SetTextureCoordinates,11,1,0.09
SetTextureCoordinates,12,0.05,0.03
SetTextureCoordinates,13,0.95,0.03
SetTextureCoordinates,14,0,0.03
SetTextureCoordinates,15,1,0.03
SetTextureCoordinates,16,0.08,0.005
SetTextureCoordinates,17,0.92,0.005
SetTextureCoordinates,18,0,0.005
SetTextureCoordinates,19,1,0.005
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//前面方向幕,
AddVertex,-0.42,3.23,0.005
AddVertex,-0.42,3.49,0.005
AddVertex,0.42,3.49,0.005
AddVertex,0.42,3.23,0.005
AddVertex,-0.42,3.23,-0.5
AddVertex,-0.42,3.49,-0.5
AddVertex,0.42,3.49,-0.5
AddVertex,0.42,3.23,-0.5,
AddVertex,-0.38,3.53,0.005,
AddVertex,-0.38,3.53,-0.5,
AddVertex,0.38,3.53,-0.5,
AddVertex,0.38,3.53,0.005,
AddFace,0,3,2,1
AddFace,4,5,6,7
AddFace,8,11,10,9
AddFace,1,2,11,8
AddFace,5,9,10,6
AddFace,2,6,10,11
AddFace,1,8,9,5
AddFace,3,7,6,2
AddFace,0,1,5,4
GenerateNormals,,,,

LoadTexture,local.bmp,,
SetTextureCoordinates,0,0.997,0.95
SetTextureCoordinates,1,0.997,0.1
SetTextureCoordinates,2,0.003,0.1
SetTextureCoordinates,3,0.003,0.95
SetTextureCoordinates,4,1,0.95
SetTextureCoordinates,5,1,0.1
SetTextureCoordinates,6,0,0.1
SetTextureCoordinates,7,0,0.95
SetTextureCoordinates,8,0.995,0
SetTextureCoordinates,9,0.995,0
SetTextureCoordinates,10,0.005,0
SetTextureCoordinates,11,0.005,0


CreateMeshBuilder,,;//左前面ステップ,
AddVertex,0.56,1.25,0.05,
AddVertex,0.54,1.25,-0.1,
AddVertex,1.15,1.25,-0.15,
AddVertex,1.19,1.25,-0.3,
AddVertex,0.56,1.23,0.05,
AddVertex,0.54,1.23,-0.1,
AddVertex,1.15,1.23,-0.15,
AddVertex,1.19,1.23,-0.3,
AddFace,0,2,3,1
AddFace,4,6,2,0
AddFace,6,7,3,2
AddFace,4,0,1,5
AddFace,5,7,6,4
SetColor,18,46,109,
GenerateNormals,,,,


CreateMeshBuilder,,;//右前面ステップ,,
AddVertex,-0.56,1.25,0.05,
AddVertex,-0.54,1.25,-0.1,
AddVertex,-1.15,1.25,-0.15,
AddVertex,-1.19,1.25,-0.3,
AddVertex,-0.56,1.23,0.05,
AddVertex,-0.54,1.23,-0.1,
AddVertex,-1.15,1.23,-0.15,
AddVertex,-1.19,1.23,-0.3,
AddFace,0,1,3,2
AddFace,4,0,2,6
AddFace,6,2,3,7
AddFace,4,5,1,0
AddFace,5,4,6,7
SetColor,18,46,109,
GenerateNormals,,,,


CreateMeshBuilder,,;//ヘッドライト左,,
Cylinder,16,0.13,0.13,0.15
SetColor,253,237,181,
Rotate,1,0,0,90
Translate,1,2.1,-0.175,


CreateMeshBuilder,,;//ヘッドライト右,,
Cylinder,16,0.13,0.13,0.15
SetColor,253,237,181,
Rotate,1,0,0,90
Translate,-1,2.1,-0.175,


CreateMeshBuilder,,;//ヘッドライト,,
AddVertex,0.89,1.99,-0.095,
AddVertex,0.89,2.21,-0.095,
AddVertex,1.11,2.21,-0.095,
AddVertex,1.11,1.99,-0.095,
AddVertex,-1.11,1.99,-0.095,
AddVertex,-1.11,2.21,-0.095,
AddVertex,-0.89,2.21,-0.095,
AddVertex,-0.89,1.99,-0.095,
AddFace,0,3,2,1
AddFace,4,7,6,5
GenerateNormals,,,,

LoadTexture,headlight-OFF.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0,
SetTextureCoordinates,6,1,0,
SetTextureCoordinates,7,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//ホイッスル左,,
Cylinder,16,0.11,0.11,0.1
SetColor,253,237,181,
Rotate,1,0,0,90
Translate,0.635,2.1,-0.05,


CreateMeshBuilder,,;//ホイッスル左,,
Cube,0.065,0.05,0.065,
SetColor,253,237,181,
Translate,0.635,2.22,-0.065,
GenerateNormals,,,,


CreateMeshBuilder,,;//ホイッスル右,,
Cylinder,16,0.11,0.11,0.1
SetColor,253,237,181,
Rotate,1,0,0,90
Translate,-0.635,2.1,-0.05,


CreateMeshBuilder,,;//ホイッスル右,,
Cube,0.065,0.05,0.065,
SetColor,253,237,181,
Translate,-0.635,2.22,-0.065,
GenerateNormals,,,,


CreateMeshBuilder,,;//ホイッスル,,
AddVertex,0.525,1.99,0.005,
AddVertex,0.525,2.22,0.005,
AddVertex,0.745,2.22,0.005,
AddVertex,0.745,1.99,0.005,
AddVertex,-0.745,1.99,0.005,
AddVertex,-0.745,2.22,0.005,
AddVertex,-0.525,2.22,0.005,
AddVertex,-0.525,1.99,0.005,
AddFace,0,3,2,1
AddFace,4,7,6,5
GenerateNormals,,,,

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


CreateMeshBuilder,,;//テールランプ左,,
Cylinder,16,0.08,0.08,0.1
SetColor,18,46,109,
Rotate,1,0,0,90
Translate,1,1.55,-0.17,


CreateMeshBuilder,,;//テールランプ右,,
Cylinder,16,0.08,0.08,0.1
SetColor,18,46,109,
Rotate,1,0,0,90
Translate,-1,1.55,-0.17,


CreateMeshBuilder,,;//テールランプ,,
AddVertex,0.93,1.48,-0.115,
AddVertex,0.93,1.62,-0.115,
AddVertex,1.07,1.62,-0.115,
AddVertex,1.07,1.48,-0.115,
AddVertex,-1.07,1.48,-0.115,
AddVertex,-1.07,1.62,-0.115,
AddVertex,-0.93,1.62,-0.115,
AddVertex,-0.93,1.48,-0.115,
AddFace,0,3,2,1
AddFace,4,7,6,5
GenerateNormals,,,,

LoadTexture,taillamp-ON.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,
SetTextureCoordinates,5,0,0
SetTextureCoordinates,6,1,0
SetTextureCoordinates,7,1,1
SetDecalTransparentColor,0,0,0


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.555
AddVertex,1.45,1.6,-0.555
AddVertex,1.45,3.35,-0.555
AddVertex,1.36,1,-19.5
AddVertex,1.45,1.6,-19.5,
AddVertex,1.45,3.35,-19.5,
AddFace,0,3,4,1
AddFace,1,4,5,2
GenerateNormals,,,,

LoadTexture,side3-2.bmp,,,
SetTextureCoordinates,0,0.03,0.996,
SetTextureCoordinates,1,0.03,0.745,
SetTextureCoordinates,2,0.03,0.002,
SetTextureCoordinates,3,0.999,0.996,
SetTextureCoordinates,4,0.999,0.745,
SetTextureCoordinates,5,0.999,0.002,


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

LoadTexture,side3.bmp,,,
SetTextureCoordinates,0,0.03,0.996,
SetTextureCoordinates,1,0.03,0.745,
SetTextureCoordinates,2,0.03,0.002,
SetTextureCoordinates,3,0.999,0.996,
SetTextureCoordinates,4,0.999,0.745,
SetTextureCoordinates,5,0.999,0.002,


CreateMeshBuilder,,;//左側面転落防止幌,,
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
GenerateNormals,,,,

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


CreateMeshBuilder,,;//右側面転落防止幌,,
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
GenerateNormals,,,

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


CreateMeshBuilder,,;//左側面方向幕,
AddVertex,1.455,3.05,-18.74
AddVertex,1.455,3.2,-18.74
AddVertex,1.455,3.2,-19.14
AddVertex,1.455,3.05,-19.14
AddFace,0,3,2,1
Translate,0,0,0.15,
GenerateNormals,,,,

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


CreateMeshBuilder,,;//右側面方向幕,,
AddVertex,-1.455,3.05,-18.07,
AddVertex,-1.455,3.2,-18.07,
AddVertex,-1.455,3.2,-18.57,
AddVertex,-1.455,3.05,-18.57,
AddFace,0,1,2,3
Translate,0,0,-0.37,
GenerateNormals,,,,

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


CreateMeshBuilder,,;//底面,,
AddVertex,-1.36,1,-0.555,
AddVertex,-1.36,1,-19.5,
AddVertex,1.36,1,-19.5,
AddVertex,1.36,1,-0.555,
AddVertex,-1.31,1,-0.38,,,,,
AddVertex,-1.18,1,-0.27,,,,,
AddVertex,-0.47,1,-0.05,,,,,
AddVertex,0.47,1,-0.05,,,,,
AddVertex,1.18,1,-0.27,,,,,
AddVertex,1.31,1,-0.38,,,,,
AddFace,0,1,2,3,,,,
AddFace,0,3,9,8,7,6,5,4
SetColor,0,0,0,,,,,
GenerateNormals,,,,,,,,


;------屋根------,,,,,,,,
CreateMeshBuilder,,;//前面屋根,,,,,,
AddVertex,-1.45,3.35,-0.555,,,,,
AddVertex,-1.405,3.45,-0.555,,,,,
AddVertex,-1.325,3.5,-0.555
AddVertex,-0.97,3.55,-0.555
AddVertex,-0.47,3.605,-0.555
AddVertex,0,3.62,-0.555
AddVertex,0.47,3.605,-0.555
AddVertex,0.97,3.55,-0.555
AddVertex,1.325,3.5,-0.555
AddVertex,1.405,3.45,-0.555
AddVertex,1.45,3.35,-0.555
AddVertex,-1.45,3.35,-1.22
AddVertex,-1.405,3.45,-1.22
AddVertex,-1.325,3.5,-1.22
AddVertex,-0.97,3.57,-1.22
AddVertex,-0.46,3.64,-1.22
AddVertex,0,3.655,-1.22
AddVertex,0.46,3.64,-1.22
AddVertex,0.97,3.57,-1.22,
AddVertex,1.325,3.5,-1.22,
AddVertex,1.405,3.45,-1.22,
AddVertex,1.45,3.35,-1.22,
AddFace,1,12,11,0
AddFace,2,13,12,1
AddFace,3,14,13,2
AddFace,4,15,14,3
AddFace,5,16,15,4
AddFace,6,17,16,5
AddFace,7,18,17,6
AddFace,8,19,18,7
AddFace,9,20,19,8
AddFace,10,21,20,9
GenerateNormals,,,,

LoadTexture,front-yane.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0.01,1
SetTextureCoordinates,2,0.05,1
SetTextureCoordinates,3,0.17,1
SetTextureCoordinates,4,0.335,1
SetTextureCoordinates,5,0.5,1
SetTextureCoordinates,6,0.665,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.335,0
SetTextureCoordinates,16,0.5,0
SetTextureCoordinates,17,0.665,0
SetTextureCoordinates,18,0.83,0
SetTextureCoordinates,19,0.95,0
SetTextureCoordinates,20,0.99,0
SetTextureCoordinates,21,1,0


CreateMeshBuilder,,;//屋根,
AddVertex,-1.45,3.35,-1.22
AddVertex,-1.405,3.45,-1.22
AddVertex,-1.325,3.5,-1.22
AddVertex,-0.97,3.57,-1.22
AddVertex,-0.46,3.64,-1.22
AddVertex,0,3.655,-1.22
AddVertex,0.46,3.64,-1.22
AddVertex,0.97,3.57,-1.22
AddVertex,1.325,3.5,-1.22
AddVertex,1.405,3.45,-1.22
AddVertex,1.45,3.35,-1.22
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
AddFace,1,12,11,0
AddFace,2,13,12,1
AddFace,3,14,13,2
AddFace,4,15,14,3
AddFace,5,16,15,4
AddFace,6,17,16,5
AddFace,7,18,17,6
AddFace,8,19,18,7
AddFace,9,20,19,8
AddFace,10,21,20,9
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,-7.3,
AddVertex,-1.39,3.35,-12.15,
AddVertex,1.39,3.35,-7.3,
AddVertex,1.39,3.35,-12.15,
AddVertex,-1.3,3.55,-7.3,
AddVertex,-1.3,3.55,-12.15,
AddVertex,1.3,3.55,-7.3,
AddVertex,1.3,3.55,-12.15,
AddFace,4,6,7,5
AddFace,2,3,7,6
AddFace,0,4,5,1
AddFace,0,2,6,4
AddFace,1,5,7,3
SetColor,120,120,120,
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,-2,,,,
AddVertex,-0.05,3.85,-1.95,,,,
AddVertex,0.4,3.85,-1.95,,,,
AddVertex,0.4,3.62,-2,,,,
AddVertex,-0.05,3.62,-2.9,,,,
AddVertex,-0.05,3.85,-2.95,,,,
AddVertex,0.4,3.85,-2.95,,,,
AddVertex,0.4,3.62,-2.9,,,,
AddVertex,-0.02,3.88,-1.95,,,,
AddVertex,-0.02,3.88,-2.95,,,,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,0,
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,-2,
AddVertex,-0.05,3.85,-1.95,
AddVertex,0.4,3.85,-1.95,
AddVertex,0.4,3.62,-2,
AddVertex,-0.05,3.62,-2.9,
AddVertex,-0.05,3.85,-2.95,
AddVertex,0.4,3.85,-2.95,
AddVertex,0.4,3.62,-2.9,
AddVertex,-0.02,3.88,-1.95,
AddVertex,-0.02,3.88,-2.95,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,-2.4,
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,-2
AddVertex,-0.05,3.85,-1.95
AddVertex,0.4,3.85,-1.95
AddVertex,0.4,3.62,-2
AddVertex,-0.05,3.62,-2.9,
AddVertex,-0.05,3.85,-2.95,
AddVertex,0.4,3.85,-2.95,
AddVertex,0.4,3.62,-2.9,
AddVertex,-0.02,3.88,-1.95,
AddVertex,-0.02,3.88,-2.95,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,-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,-2
AddVertex,-0.05,3.85,-1.95
AddVertex,0.4,3.85,-1.95
AddVertex,0.4,3.62,-2
AddVertex,-0.05,3.62,-2.9
AddVertex,-0.05,3.85,-2.95
AddVertex,0.4,3.85,-2.95
AddVertex,0.4,3.62,-2.9
AddVertex,-0.02,3.88,-1.95
AddVertex,-0.02,3.88,-2.95,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,-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,-2,
AddVertex,-0.05,3.85,-1.95,
AddVertex,0.4,3.85,-1.95,
AddVertex,0.4,3.62,-2,
AddVertex,-0.05,3.62,-2.9,
AddVertex,-0.05,3.85,-2.95,
AddVertex,0.4,3.85,-2.95,
AddVertex,0.4,3.62,-2.9,
AddVertex,-0.02,3.88,-1.95,
AddVertex,-0.02,3.88,-2.95,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,-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,-2
AddVertex,-0.05,3.85,-1.95
AddVertex,0.4,3.85,-1.95
AddVertex,0.4,3.62,-2,
AddVertex,-0.05,3.62,-2.9,
AddVertex,-0.05,3.85,-2.95,
AddVertex,0.4,3.85,-2.95,
AddVertex,0.4,3.62,-2.9,
AddVertex,-0.02,3.88,-1.95,
AddVertex,-0.02,3.88,-2.95,
AddVertex,0.37,3.88,-2.95,
AddVertex,0.37,3.88,-1.95,
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,-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,6,0.04,0.04,0.4
Translate,-0.78,3.59,-0.6,
SetColor,200,200,200,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.02,0.043,0.03
Translate,-0.78,3.805,-0.6,
SetColor,30,30,30,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,6,0.08,0.085,0.05
Translate,-0.78,3.74,-0.6,
SetColor,170,170,170,


CreateMeshBuilder,,;//アンテナ台,,
AddVertex,-0.15,3.7,-0.89,
AddVertex,-0.15,3.7,-1.21,
AddVertex,0.15,3.7,-1.21,
AddVertex,0.15,3.7,-0.89,
AddVertex,-0.15,3.65,-0.89,
AddVertex,-0.15,3.65,-1.21,
AddVertex,0.15,3.65,-1.21,
AddVertex,0.15,3.65,-0.89,
AddFace2,0,1,2,3
AddFace2,7,3,2,6
AddFace2,4,0,1,5
SetColor,130,130,130,
GenerateNormals,,,,


CreateMeshBuilder,,;//アンテナ,,
Cylinder,6,0.06,0.07,0.23
Translate,0,3.825,-1.05,
SetColor,120,120,120,


CreateMeshBuilder,,;//ホイッスル,,
AddVertex,-0.045,3.65,-1.37,
AddVertex,-0.045,3.65,-1.54,
AddVertex,-0.045,3.72,-1.26,
AddVertex,-0.045,3.72,-1.65,
AddVertex,-0.045,3.76,-1.26,
AddVertex,-0.045,3.76,-1.65,
AddVertex,0.045,3.65,-1.37,
AddVertex,0.045,3.65,-1.54,
AddVertex,0.045,3.72,-1.26,
AddVertex,0.045,3.72,-1.65,
AddVertex,0.045,3.76,-1.26,
AddVertex,0.045,3.76,-1.65,
AddFace,0,2,3,1
AddFace,2,4,5,3
AddFace,6,7,9,8
AddFace,8,9,11,10
AddFace,0,6,8,2
AddFace,2,8,10,4
AddFace,7,1,3,9
AddFace,9,3,5,11
AddFace,10,11,5,4
SetColor,130,130,130,
GenerateNormals,,,,


;------スカート------,,,,
CreateMeshBuilder,,;//スカート,,
AddVertex,-1.25,0.32,-0.57,
AddVertex,-1.3,1,-0.74,
AddVertex,-1.2,0.29,-0.49,
AddVertex,-1.25,1,-0.61,
AddVertex,0,0.29,-0.18,
AddVertex,0,1,-0.3,
AddVertex,1.2,0.29,-0.49,
AddVertex,1.25,1,-0.61,
AddVertex,1.25,0.32,-0.57,
AddVertex,1.3,1,-0.74,
AddFace2,0,2,3,1
AddFace2,2,4,5,3
AddFace2,4,6,7,5
AddFace2,6,8,9,7
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.005,
SetTextureCoordinates,2,0.05,1,
SetTextureCoordinates,3,0.05,0.005,
SetTextureCoordinates,4,0.5,1
SetTextureCoordinates,5,0.5,0.005
SetTextureCoordinates,6,0.95,1
SetTextureCoordinates,7,0.95,0.005
SetTextureCoordinates,8,1,1
SetTextureCoordinates,9,1,0.005
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スノープロウ,
AddVertex,-1.1,0.12,-1.09
AddVertex,0,0.12,-0.65
AddVertex,1.1,0.12,-1.09
AddVertex,-1.22,0.34,-1.12
AddVertex,0,0.32,-0.6
AddVertex,1.22,0.34,-1.12
AddVertex,-1.22,0.37,-1.1,
AddVertex,0,0.35,-0.58,
AddVertex,1.22,0.37,-1.12,
AddFace2,0,1,4,3
AddFace2,1,2,5,4
AddFace2,3,4,7,6
AddFace2,4,5,8,7
SetColor,30,30,30,
GenerateNormals,,,,


CreateMeshBuilder,,;//影,,
AddVertex,-1.2,0.3,-0.5,
AddVertex,-1.2,1,-0.6,
AddVertex,1.2,1,-0.6,
AddVertex,1.2,0.3,-0.5,
AddFace,0,3,2,1
SetColor,30,30,30,150
GenerateNormals,,,,


;------連結器------,,,,
CreateMeshBuilder,,;//ジャンパ栓,,
AddVertex,0.6,1,-0.3,
AddVertex,1.15,1,-0.3,
AddVertex,1.15,0.6,-0.3,
AddVertex,0.6,0.6,-0.3,
AddVertex,-1,1,-0.3,
AddVertex,-0.62,1,-0.3,
AddVertex,-0.62,0.6,-0.3,
AddVertex,-1,0.6,-0.3,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,

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


CreateMeshBuilder,,;//連結器取付け部,,
AddVertex,-0.54,1,-0.1,
AddVertex,0.54,1,-0.1,
AddVertex,0.54,0.67,-0.1,
AddVertex,-0.54,0.67,-0.1,
AddVertex,0.54,0.67,-0.1,
AddVertex,0.54,1,-0.1,
AddVertex,0.54,1,-0.2,
AddVertex,0.54,0.67,-0.2,
AddVertex,-0.54,0.67,-0.1,
AddVertex,-0.54,1,-0.1,
AddVertex,-0.54,1,-0.2,
AddVertex,-0.54,0.67,-0.2,
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.2,1.03,0.25,
AddVertex,0.2,1.03,0.25,
AddVertex,0.2,0.73,0.25,
AddVertex,-0.2,0.73,0.25,
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.25
AddVertex,0.01,0.98,0.25
AddVertex,0.06,0.895,0.38
AddVertex,0.01,0.81,0.25
AddVertex,0.13,0.81,0.25
AddFace,0,1,2
AddFace,2,3,4
AddFace,3,2,1
AddFace,0,2,4
Translate,0,-0.015,0
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.17,1.03,0.25,
AddVertex,0.17,1.03,0.25,
AddVertex,0.17,0.76,0.25,
AddVertex,-0.17,0.76,0.25,
AddVertex,-0.1,1,0.07,
AddVertex,0.1,1,0.07,
AddVertex,0.1,0.8,0.07,
AddVertex,-0.1,0.8,0.07,
AddFace,2,6,5,1
AddFace,3,0,4,7
AddFace,1,5,4,0
AddFace,2,3,7,6
SetColor,37,35,35,
Translate,0,-0.015,0,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.1,0.1,0.3,
SetColor,37,35,35,
Translate,0,0.88,-0.2,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.13,0.12,0.25,
SetColor,20,20,20,
Translate,0,0.88,-19.5,
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,,;//台車,,
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,,;//台車,,
Cube,1.15,0.1,0.25,
SetColor,20,20,20,
Translate,0,0.95,-2.75,
GenerateNormals,,,,


;------床下機器------,,,,
CreateMeshBuilder,,;//ステップ,,
AddVertex,-1.31,0.49,-1.35,
AddVertex,-1.31,1,-1.35,
AddVertex,-1.31,1,-1.61,
AddVertex,-1.31,0.49,-1.61,
AddVertex,1.31,0.49,-0.73,
AddVertex,1.31,1,-0.73,
AddVertex,1.31,1,-0.99,
AddVertex,1.31,0.49,-0.99,
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.6,0.1,0.5
SetColor,20,20,20
Translate,0,0.9,-0.7
GenerateNormals,,,


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


CreateMeshBuilder,,;//床下機器,
AddVertex,1.1,0.25,-15
AddVertex,1.1,1,-15
AddVertex,1.1,1,-4.65,
AddVertex,1.1,0.25,-4.65,
AddVertex,-1.1,0.25,-15,
AddVertex,-1.1,1,-15,
AddVertex,-1.1,1,-4.65,
AddVertex,-1.1,0.25,-4.65,
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,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,,;//床下機器,
AddVertex,1.05,0.25,-19.45
AddVertex,1.05,1,-19.45
AddVertex,1.05,1,-18.38
AddVertex,1.05,0.25,-18.38
AddVertex,-1.05,0.25,-19.45
AddVertex,-1.05,1,-19.45
AddVertex,-1.05,1,-18.38
AddVertex,-1.05,0.25,-18.38
AddFace,0,1,2,3
AddFace,4,7,6,5
AddFace,4,5,1,0
AddFace,3,2,6,7
GenerateNormals,,,,

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


;（Ｃ）２００９ ＲＯＮ
