;//小田急４０００形先頭車,,,
;------ボディ------,,,
CreateMeshBuilder,,;//前面,
AddVertex,-1.395,0.95,-19
AddVertex,-1.395,0.95,-19.31
AddVertex,-1.35,0.95,-19.41
AddVertex,-1.285,0.95,-19.46
AddVertex,-0.6,0.95,-19.49
AddVertex,0,0.95,-19.51
AddVertex,0.6,0.95,-19.49
AddVertex,1.285,0.95,-19.46
AddVertex,1.35,0.95,-19.41
AddVertex,1.395,0.95,-19.31
AddVertex,1.395,0.95,-19
AddVertex,-1.393,1.3,-19
AddVertex,-1.393,1.3,-19.4
AddVertex,-1.348,1.3,-19.5
AddVertex,-1.285,1.3,-19.55
AddVertex,-0.6,1.3,-19.58
AddVertex,0,1.3,-19.6
AddVertex,0.6,1.3,-19.58
AddVertex,1.285,1.3,-19.55
AddVertex,1.348,1.3,-19.5
AddVertex,1.393,1.3,-19.4
AddVertex,1.393,1.3,-19
AddVertex,-1.385,2.5,-19
AddVertex,-1.385,2.5,-19.28
AddVertex,-1.34,2.5,-19.38
AddVertex,-1.285,2.5,-19.43
AddVertex,-0.6,2.5,-19.46
AddVertex,0,2.5,-19.48
AddVertex,0.6,2.5,-19.46
AddVertex,1.285,2.5,-19.43
AddVertex,1.34,2.5,-19.38
AddVertex,1.385,2.5,-19.28
AddVertex,1.385,2.5,-19
AddVertex,-1.38,3.35,-19
AddVertex,-1.38,3.35,-19.2
AddVertex,-1.335,3.35,-19.3
AddVertex,-1.275,3.35,-19.35
AddVertex,-0.6,3.35,-19.38
AddVertex,0,3.35,-19.4
AddVertex,0.6,3.35,-19.38
AddVertex,1.275,3.35,-19.35
AddVertex,1.335,3.35,-19.3
AddVertex,1.38,3.35,-19.2
AddVertex,1.38,3.35,-19
AddVertex,-1.35,3.43,-19
AddVertex,-1.35,3.43,-19.2
AddVertex,-1.315,3.43,-19.29
AddVertex,-1.275,3.43,-19.338
AddVertex,-0.6,3.48,-19.368
AddVertex,0,3.49,-19.387
AddVertex,0.6,3.48,-19.368
AddVertex,1.275,3.43,-19.338
AddVertex,1.315,3.43,-19.29
AddVertex,1.35,3.43,-19.2
AddVertex,1.35,3.43,-19
AddVertex,-1.32,3.48,-19
AddVertex,-1.32,3.48,-19.2
AddVertex,-1.295,3.48,-19.27
AddVertex,-1.275,3.48,-19.308
AddVertex,-0.6,3.56,-19.328
AddVertex,0,3.58,-19.347
AddVertex,0.6,3.56,-19.328
AddVertex,1.275,3.48,-19.308
AddVertex,1.295,3.48,-19.27
AddVertex,1.32,3.48,-19.2
AddVertex,1.32,3.48,-19
AddVertex,-1.275,3.52,-19.2
AddVertex,-0.6,3.61,-19.22
AddVertex,0,3.64,-19.23
AddVertex,0.6,3.61,-19.22
AddVertex,1.275,3.52,-19.2
AddVertex,-1.275,3.54,-19
AddVertex,-0.6,3.64,-19
AddVertex,0,3.67,-19
AddVertex,0.6,3.64,-19
AddVertex,1.275,3.54,-19
AddVertex,-1.38,3.35,-18.35
AddVertex,-1.35,3.43,-18.4,
AddVertex,-1.32,3.48,-18.43,
AddVertex,-1.275,3.54,-18.47,
AddVertex,1.38,3.35,-18.35,
AddVertex,1.35,3.43,-18.4,
AddVertex,1.32,3.48,-18.43,
AddVertex,1.275,3.54,-18.47,
AddFace2,76,77,44,33
AddFace2,77,78,55,44
AddFace2,78,79,71,55
AddFace2,43,54,81,80
AddFace2,54,65,82,81
AddFace2,65,75,83,82
AddFace,0,11,12,1
AddFace,1,12,13,2
AddFace,2,13,14,3
AddFace,3,14,15,4
AddFace,4,15,16,5
AddFace,5,16,17,6
AddFace,6,17,18,7
AddFace,7,18,19,8
AddFace,8,19,20,9
AddFace,9,20,21,10
AddFace,11,22,23,12
AddFace,12,23,24,13
AddFace,13,24,25,14
AddFace,14,25,26,15
AddFace,15,26,27,16
AddFace,16,27,28,17
AddFace,17,28,29,18
AddFace,18,29,30,19
AddFace,19,30,31,20
AddFace,20,31,32,21
AddFace,22,33,34,23
AddFace,23,34,35,24
AddFace,24,35,36,25
AddFace,25,36,37,26
AddFace,26,37,38,27
AddFace,27,38,39,28
AddFace,28,39,40,29
AddFace,29,40,41,30
AddFace,30,41,42,31
AddFace,31,42,43,32
AddFace,33,44,45,34
AddFace,34,45,46,35
AddFace,35,46,47,36
AddFace,36,47,48,37
AddFace,37,48,49,38
AddFace,38,49,50,39
AddFace,39,50,51,40
AddFace,40,51,52,41
AddFace,41,52,53,42
AddFace,42,53,54,43
AddFace,44,55,56,45
AddFace,45,56,57,46
AddFace,46,57,58,47
AddFace,47,58,59,48
AddFace,48,59,60,49
AddFace,49,60,61,50
AddFace,50,61,62,51
AddFace,51,62,63,52
AddFace,52,63,64,53
AddFace,53,64,65,54
AddFace,58,66,67,59
AddFace,59,67,68,60
AddFace,60,68,69,61
AddFace,61,69,70,62
AddFace,66,71,72,67
AddFace,67,72,73,68
AddFace,68,73,74,69
AddFace,69,74,75,70
AddFace,55,71,66,56
AddFace,56,66,58,57
AddFace,64,70,75,65
AddFace,62,70,64,63
GenerateNormals,,,,

LoadTexture,front1.bmp,,,
SetTextureCoordinates,0,0,0.995,
SetTextureCoordinates,1,0,0.995,
SetTextureCoordinates,2,0.01,0.995
SetTextureCoordinates,3,0.04,0.995
SetTextureCoordinates,4,0.29,0.995
SetTextureCoordinates,5,0.5,0.995
SetTextureCoordinates,6,0.71,0.995
SetTextureCoordinates,7,0.96,0.995
SetTextureCoordinates,8,0.99,0.995
SetTextureCoordinates,9,1,0.995
SetTextureCoordinates,10,1,0.995
SetTextureCoordinates,11,0,0.874
SetTextureCoordinates,12,0,0.874
SetTextureCoordinates,13,0.01,0.874
SetTextureCoordinates,14,0.04,0.874
SetTextureCoordinates,15,0.29,0.874
SetTextureCoordinates,16,0.5,0.874
SetTextureCoordinates,17,0.71,0.874
SetTextureCoordinates,18,0.96,0.874
SetTextureCoordinates,19,0.99,0.874
SetTextureCoordinates,20,1,0.874
SetTextureCoordinates,21,1,0.874
SetTextureCoordinates,22,0,0.43
SetTextureCoordinates,23,0,0.43
SetTextureCoordinates,24,0.01,0.43
SetTextureCoordinates,25,0.04,0.43
SetTextureCoordinates,26,0.29,0.43
SetTextureCoordinates,27,0.5,0.43
SetTextureCoordinates,28,0.71,0.43
SetTextureCoordinates,29,0.96,0.43
SetTextureCoordinates,30,0.99,0.43
SetTextureCoordinates,31,1,0.43
SetTextureCoordinates,32,1,0.43
SetTextureCoordinates,33,0,0.125
SetTextureCoordinates,34,0,0.125
SetTextureCoordinates,35,0.01,0.125
SetTextureCoordinates,36,0.04,0.125
SetTextureCoordinates,37,0.29,0.12
SetTextureCoordinates,38,0.5,0.12
SetTextureCoordinates,39,0.71,0.12
SetTextureCoordinates,40,0.96,0.125
SetTextureCoordinates,41,0.99,0.125
SetTextureCoordinates,42,1,0.125
SetTextureCoordinates,43,1,0.125
SetTextureCoordinates,44,0,0.105
SetTextureCoordinates,45,0,0.105
SetTextureCoordinates,46,0.01,0.105
SetTextureCoordinates,47,0.04,0.105
SetTextureCoordinates,48,0.29,0.09
SetTextureCoordinates,49,0.5,0.088
SetTextureCoordinates,50,0.71,0.09
SetTextureCoordinates,51,0.96,0.105
SetTextureCoordinates,52,0.99,0.105
SetTextureCoordinates,53,1,0.105
SetTextureCoordinates,54,1,0.105
SetTextureCoordinates,55,0,0.08
SetTextureCoordinates,56,0,0.08
SetTextureCoordinates,57,0.01,0.08
SetTextureCoordinates,58,0.04,0.08
SetTextureCoordinates,59,0.29,0.08
SetTextureCoordinates,60,0.5,0.08
SetTextureCoordinates,61,0.71,0.08
SetTextureCoordinates,62,0.96,0.08
SetTextureCoordinates,63,0.99,0.08
SetTextureCoordinates,64,1,0.08
SetTextureCoordinates,65,1,0.08
SetTextureCoordinates,66,0.04,0.07
SetTextureCoordinates,67,0.29,0.07
SetTextureCoordinates,68,0.5,0.07
SetTextureCoordinates,69,0.71,0.07
SetTextureCoordinates,70,0.96,0.07
SetTextureCoordinates,71,0.04,0.05
SetTextureCoordinates,72,0.29,0.05
SetTextureCoordinates,73,0.5,0.05
SetTextureCoordinates,74,0.71,0.05
SetTextureCoordinates,75,0.96,0.05
SetTextureCoordinates,76,0,0.02
SetTextureCoordinates,77,0,0.02
SetTextureCoordinates,78,0,0.02
SetTextureCoordinates,79,0,0.02
SetTextureCoordinates,80,1,0.02
SetTextureCoordinates,81,1,0.02
SetTextureCoordinates,82,1,0.02
SetTextureCoordinates,83,1,0.02


CreateMeshBuilder,,;//後面,
AddVertex,-1.395,0.95,0
AddVertex,-1.38,3.35,0
AddVertex,-1.34,3.43,0
AddVertex,-1.25,3.51,0
AddVertex,-0.6,3.61,0
AddVertex,0,3.65,0
AddVertex,0.6,3.61,0
AddVertex,1.25,3.51,0
AddVertex,1.34,3.43,0
AddVertex,1.38,3.35,0
AddVertex,1.395,0.95,0
AddFace,10,9,1,0,,,,,
AddFace,9,8,7,6,5,4,3,2,1
GenerateNormals,,,,,,,,,

LoadTexture,back.bmp,,,,,,,,
SetTextureCoordinates,0,0,0.995,,,,,,
SetTextureCoordinates,1,0.005,0.15,,,,,,
SetTextureCoordinates,2,0.1,0.03,,,,,,
SetTextureCoordinates,3,0.15,0.02,,,,,,
SetTextureCoordinates,4,0.3,0.01,,,,,,
SetTextureCoordinates,5,0.5,0.01,,,,,,
SetTextureCoordinates,6,0.7,0.01,,,,,,
SetTextureCoordinates,7,0.85,0.02,,,,,,
SetTextureCoordinates,8,0.9,0.03,,,,,,
SetTextureCoordinates,9,0.995,0.15,,,,,,
SetTextureCoordinates,10,1,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.395,0.95,-19,
AddVertex,1.38,3.35,-19,
AddVertex,1.395,0.95,0,
AddVertex,1.38,3.35,0,
AddFace,0,1,3,2
GenerateNormals,,,,

LoadTexture,side1.bmp,,,
SetTextureCoordinates,0,0.026,0.997,
SetTextureCoordinates,1,0.026,0.003,
SetTextureCoordinates,2,1,0.997,
SetTextureCoordinates,3,1,0.003,


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


CreateMeshBuilder,,;//右側面,,
AddVertex,-1.395,0.95,-19,
AddVertex,-1.38,3.35,-19,
AddVertex,-1.395,0.95,0,
AddVertex,-1.38,3.35,0,
AddFace,0,2,3,1
GenerateNormals,,,,

LoadTexture,side1-2.bmp,,,
SetTextureCoordinates,0,0.026,0.997,
SetTextureCoordinates,1,0.026,0.003,
SetTextureCoordinates,2,1,0.997,
SetTextureCoordinates,3,1,0.003,


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


CreateMeshBuilder,,;//底面,,,,,,,
AddVertex,-1.395,0.95,0,,,,,,
AddVertex,-1.395,0.95,-19.26,,,,,,
AddVertex,1.395,0.95,-19.26,,,,,,
AddVertex,1.395,0.95,0,,,,,,
AddVertex,-1.35,0.95,-19.41,,,,,,
AddVertex,-1.285,0.95,-19.46,,,,,,
AddVertex,-0.6,0.95,-19.49,,,,,,
AddVertex,0,0.95,-19.51,,,,,,
AddVertex,0.6,0.95,-19.49,,,,,,
AddVertex,1.285,0.95,-19.46,,,,,,
AddVertex,1.35,0.95,-19.41,,,,,,
AddFace,0,1,2,3,,,,,
AddFace,1,4,5,6,7,8,9,10,2
SetColor,0,0,0
GenerateNormals,,,


;------屋根------,,,
CreateMeshBuilder,,;//屋根,
AddVertex,1.34,3.43,-19
AddVertex,1.25,3.51,-19
AddVertex,0.6,3.61,-19
AddVertex,0,3.65,-19
AddVertex,-0.6,3.61,-19
AddVertex,-1.25,3.51,-19
AddVertex,-1.34,3.43,-19
AddVertex,1.32,3.48,-19
AddVertex,1.275,3.54,-19
AddVertex,0.6,3.64,-19
AddVertex,0,3.67,-19,
AddVertex,-0.6,3.64,-19,
AddVertex,-1.275,3.54,-19,
AddVertex,-1.32,3.48,-19,
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,100,100,100,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根,,
AddVertex,1.38,3.35,-19,
AddVertex,1.34,3.43,-19
AddVertex,1.25,3.51,-19
AddVertex,0.6,3.61,-19
AddVertex,0,3.65,-19
AddVertex,-0.6,3.61,-19
AddVertex,-1.25,3.51,-19
AddVertex,-1.34,3.43,-19
AddVertex,-1.38,3.35,-19
AddVertex,1.38,3.35,0
AddVertex,1.34,3.43,0
AddVertex,1.25,3.51,0
AddVertex,0.6,3.61,0
AddVertex,0,3.65,0
AddVertex,-0.6,3.61,0
AddVertex,-1.25,3.51,0
AddVertex,-1.34,3.43,0
AddVertex,-1.38,3.35,0,
AddFace,0,1,10,9
AddFace,1,2,11,10
AddFace,2,3,12,11
AddFace,3,4,13,12
AddFace,4,5,14,13
AddFace,5,6,15,14
AddFace,6,7,16,15
AddFace,7,8,17,16
GenerateNormals,,,,

LoadTexture,yane1.bmp,,,
SetTextureCoordinates,0,-0.07,0.026,
SetTextureCoordinates,1,-0.07,0.026,
SetTextureCoordinates,2,0,0.026,
SetTextureCoordinates,3,0.25,0.026,
SetTextureCoordinates,4,0.5,0.026
SetTextureCoordinates,5,0.75,0.026
SetTextureCoordinates,6,1,0.026
SetTextureCoordinates,7,1.05,0.026
SetTextureCoordinates,8,1.05,0.026
SetTextureCoordinates,9,-0.07,1
SetTextureCoordinates,10,-0.07,1
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,0.25,1
SetTextureCoordinates,13,0.5,1
SetTextureCoordinates,14,0.75,1
SetTextureCoordinates,15,1,1
SetTextureCoordinates,16,1.05,1
SetTextureCoordinates,17,1.05,1


CreateMeshBuilder,,;//屋根,,
AddVertex,0.99,3.55,-18.53,
AddVertex,0.99,3.55,-0.07,
AddVertex,1.245,3.55,-18.5,
AddVertex,1.245,3.55,-0.1,
AddVertex,1.29,3.43,-18.5,
AddVertex,1.29,3.43,-0.1,
AddFace,2,0,1,3
AddFace,4,2,3,5
AddFace,0,2,4,
AddFace,1,5,3,
SetColor,140,140,140,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根,,
AddVertex,-0.99,3.55,-18.53,
AddVertex,-0.99,3.55,-0.07,
AddVertex,-1.245,3.55,-18.5,
AddVertex,-1.245,3.55,-0.1,
AddVertex,-1.29,3.43,-18.5,
AddVertex,-1.29,3.43,-0.1,
AddFace,2,3,1,0
AddFace,4,5,3,2
AddFace,0,4,2,
AddFace,1,3,5,
SetColor,140,140,140,
GenerateNormals,,,,


CreateMeshBuilder,,;//ランボード,,
Cube,0.03,0.05,2.55,
SetColor,140,140,140
Translate,1.25,3.5,-9.1
GenerateNormals,,,


CreateMeshBuilder,,;//ランボード,
Cube,0.03,0.05,2.55
SetColor,140,140,140
Translate,-1.25,3.5,-9.1
GenerateNormals,,,


;------屋根上機器------,,,
CreateMeshBuilder,,;//クーラー,
AddVertex,1.1,3.55,-11.1
AddVertex,1.1,3.7,-11.1
AddVertex,1.1,3.7,-6.95,
AddVertex,1.1,3.55,-6.95,
AddVertex,0.6,3.92,-11.1,
AddVertex,0.6,3.92,-6.95,
AddVertex,0,4,-6.95,
AddVertex,0,4,-11.1,
AddVertex,-0.6,3.92,-11.1,
AddVertex,-0.6,3.92,-6.95,
AddVertex,-1.1,3.55,-11.1,
AddVertex,-1.1,3.7,-11.1,
AddVertex,-1.1,3.7,-6.95,
AddVertex,-1.1,3.55,-6.95,
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.1,3.55,-11.1
AddVertex,-1.1,3.7,-11.1
AddVertex,-0.6,3.92,-11.1
AddVertex,-0.6,3.6,-11.1
AddVertex,0,4,-11.1
AddVertex,0,3.65,-11.1
AddVertex,0.6,3.92,-11.1
AddVertex,0.6,3.6,-11.1
AddVertex,1.1,3.7,-11.1
AddVertex,1.1,3.55,-11.1,
AddVertex,-1.1,3.55,-6.95,
AddVertex,-1.1,3.7,-6.95,
AddVertex,-0.6,3.92,-6.95,
AddVertex,-0.6,3.6,-6.95,
AddVertex,0,4,-6.95,
AddVertex,0,3.65,-6.95,
AddVertex,0.6,3.92,-6.95,
AddVertex,0.6,3.6,-6.95,
AddVertex,1.1,3.7,-6.95,
AddVertex,1.1,3.55,-6.95,
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,,;//アンテナ,
AddVertex          ,-0.02,3.75,-17.67
AddVertex          ,-0.02,4.08,-17.61
AddVertex          ,0.02,4.08,-17.61
AddVertex          ,0.02,3.75,-17.67,
AddVertex          ,-0.02,4.08,-17.33,
AddVertex          ,0.02,4.08,-17.33,
AddVertex          ,-0.02,4.05,-17.33,
AddVertex          ,0.02,4.05,-17.33,
AddVertex          ,-0.02,3.75,-17.54,
AddVertex          ,-0.02,4.03,-17.54,
AddVertex          ,0.02,3.75,-17.54,
AddVertex          ,0.02,4.03,-17.54,
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,6,7,5
AddFace,8,9,1,0
AddFace,10,3,2,11
AddFace,6,4,1,9
AddFace,7,11,2,5
AddFace,8,10,11,9
AddFace,9,11,7,6
SetColor,113,169,182,
Translate,0,-0.1,-1.05,
GenerateNormals,,,,


CreateMeshBuilder,,;//アンテナ,,
Cylinder,10,0.08,0.1,0.22
Translate,0,3.65,-18.64,
SetColor,180,180,180,


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


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


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


CreateMeshBuilder,,;//アンテナ台,,
Cube,0.2,0.01,0.15,
SetColor,150,150,150,
Translate ,-0.25,3.65,-16.55,
GenerateNormals,,,,


CreateMeshBuilder,,;//アンテナ台,,
Cylinder,8,0.1,0.1,0.05
Translate  ,-0.25,3.655,-16.55,
SetColor,160,160,160,


CreateMeshBuilder,,;//アンテナ台,,
Cube,0.2,0.01,0.15,
SetColor,150,150,150,
Translate ,-0.25,3.65,-13.7,
GenerateNormals,,,,


CreateMeshBuilder,,;//アンテナ台,,
Cylinder,8,0.1,0.1,0.05
Translate  ,-0.25,3.655,-13.7,
SetColor,160,160,160,


CreateMeshBuilder,,;//屋根上機器,,
Cube,0.25,0.06,0.02,
SetColor,120,120,120,
Translate ,0,3.67,-2.02,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根上機器,
Cube,0.25,0.06,0.02
SetColor,120,120,120
Translate ,0,3.67,-1.83
GenerateNormals,,,


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


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


CreateMeshBuilder,,;//屋根上機器,,
AddVertex ,-0.25,3.81,-2.075,
AddVertex ,-0.25,3.81,-1.775,
AddVertex ,0.25,3.81,-2.075,
AddVertex ,0.25,3.81,-1.775,
AddVertex ,-0.2,3.84,-2.025,
AddVertex ,-0.2,3.84,-1.825,
AddVertex ,0.2,3.84,-2.025,
AddVertex ,0.2,3.84,-1.825,
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.08,0.2,-19.11,
AddVertex,-1.13,0.26,-19.1,
AddVertex,-1.37,0.95,-19,
AddVertex,-1.08,0.2,-19.31,
AddVertex,-1.13,0.26,-19.31,
AddVertex,-1.37,0.95,-19.31,
AddVertex,-1.02,0.2,-19.41,
AddVertex,-1.05,0.26,-19.42
AddVertex,-1.29,0.95,-19.44
AddVertex,-0.5,0.2,-19.46
AddVertex,-0.5,0.26,-19.47
AddVertex,-0.5,0.95,-19.49
AddVertex,0.5,0.2,-19.46
AddVertex,0.5,0.26,-19.47
AddVertex,0.5,0.95,-19.49
AddVertex,1.02,0.2,-19.41
AddVertex,1.05,0.26,-19.42
AddVertex,1.29,0.95,-19.44
AddVertex,1.08,0.2,-19.31
AddVertex,1.13,0.26,-19.31
AddVertex,1.37,0.95,-19.31
AddVertex,1.08,0.2,-19.11
AddVertex,1.13,0.26,-19.1
AddVertex,1.37,0.95,-19,
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
AddFace,18,19,22,21
AddFace,19,20,23,22
GenerateNormals,,,,

LoadTexture,skart.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0.9
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0.03,1
SetTextureCoordinates,4,0.03,0.9
SetTextureCoordinates,5,0.03,0
SetTextureCoordinates,6,0.11,1
SetTextureCoordinates,7,0.1,0.9
SetTextureCoordinates,8,0.035,0
SetTextureCoordinates,9,0.275,1
SetTextureCoordinates,10,0.275,0.9
SetTextureCoordinates,11,0.275,0
SetTextureCoordinates,12,0.725,1
SetTextureCoordinates,13,0.725,0.9
SetTextureCoordinates,14,0.725,0
SetTextureCoordinates,15,0.89,1
SetTextureCoordinates,16,0.9,0.9
SetTextureCoordinates,17,0.965,0
SetTextureCoordinates,18,0.97,1
SetTextureCoordinates,19,0.97,0.9
SetTextureCoordinates,20,0.97,0
SetTextureCoordinates,21,1,1
SetTextureCoordinates,22,1,0.9
SetTextureCoordinates,23,1,0
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//スカート,
AddVertex,-1.08,0.2,-19.11
AddVertex,-1.13,0.26,-19.1
AddVertex,-1.37,0.95,-19
AddVertex,-1.08,0.2,-19.31
AddVertex,-1.13,0.26,-19.31
AddVertex,-1.37,0.95,-19.31
AddVertex,-1.02,0.2,-19.41
AddVertex,-1.05,0.26,-19.42
AddVertex,-1.29,0.95,-19.44
AddVertex,-0.5,0.2,-19.46
AddVertex,-0.5,0.26,-19.47
AddVertex,-0.5,0.95,-19.49
AddVertex,0.5,0.2,-19.46
AddVertex,0.5,0.26,-19.47
AddVertex,0.5,0.95,-19.49
AddVertex,1.02,0.2,-19.41
AddVertex,1.05,0.26,-19.42
AddVertex,1.29,0.95,-19.44
AddVertex,1.08,0.2,-19.31,
AddVertex,1.13,0.26,-19.31,
AddVertex,1.37,0.95,-19.31,
AddVertex,1.08,0.2,-19.11,
AddVertex,1.13,0.26,-19.1,
AddVertex,1.37,0.95,-19,
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
AddFace,18,21,22,19
AddFace,19,22,23,20
SetColor,45,45,45,
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.9,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0.03,1,
SetTextureCoordinates,4,0.03,0.9,
SetTextureCoordinates,5,0.03,0,
SetTextureCoordinates,6,0.11,1,
SetTextureCoordinates,7,0.1,0.9,
SetTextureCoordinates,8,0.035,0
SetTextureCoordinates,9,0.275,1
SetTextureCoordinates,10,0.275,0.9
SetTextureCoordinates,11,0.275,0
SetTextureCoordinates,12,0.725,1
SetTextureCoordinates,13,0.725,0.9
SetTextureCoordinates,14,0.725,0
SetTextureCoordinates,15,0.89,1
SetTextureCoordinates,16,0.9,0.9
SetTextureCoordinates,17,0.965,0
SetTextureCoordinates,18,0.97,1
SetTextureCoordinates,19,0.97,0.9
SetTextureCoordinates,20,0.97,0
SetTextureCoordinates,21,1,1
SetTextureCoordinates,22,1,0.9
SetTextureCoordinates,23,1,0
SetDecalTransparentColor,0,0,0


;------連結器------,,,
CreateMeshBuilder,,;//連結器取付け部,
AddVertex,-0.59,0.97,-19.43
AddVertex,0.59,0.97,-19.43
AddVertex,0.59,0.62,-19.43
AddVertex,-0.59,0.62,-19.43
AddVertex,0.55,0.62,-19.43
AddVertex,0.55,0.97,-19.43
AddVertex,0.55,0.97,-19.35
AddVertex,0.55,0.62,-19.35
AddVertex,-0.55,0.62,-19.35
AddVertex,-0.55,0.97,-19.35
AddVertex,-0.55,0.97,-19.35
AddVertex,-0.55,0.62,-19.35,
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.19,1.05,-19.75,
AddVertex,0.19,1.05,-19.75,
AddVertex,0.19,0.71,-19.75,
AddVertex,-0.19,0.71,-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.965,-19.75
AddVertex,-0.01,0.965,-19.75
AddVertex,-0.06,0.88,-19.88
AddVertex,-0.01,0.795,-19.75
AddVertex,-0.13,0.795,-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,-19.75
AddVertex,0.15,1,-19.75
AddVertex,0.15,0.75,-19.75
AddVertex,-0.15,0.75,-19.75
AddVertex,-0.08,0.96,-19.65
AddVertex,0.08,0.96,-19.65,
AddVertex,0.08,0.8,-19.65,
AddVertex,-0.08,0.8,-19.65,
AddFace,2,1,5,6
AddFace,3,7,4,0
AddFace,1,0,4,5
AddFace,2,6,7,3
SetColor,85,80,80,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.08,0.08,0.15,
SetColor,85,80,80,
Translate,0,0.88,-19.5,
GenerateNormals,,,,


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


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


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-18.13,
AddVertex,0.6,0.86,-18.13,
AddVertex,0.6,0.86,-17.27,
AddVertex,0.6,0,-17.27,
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,30,30,30,
Rotate,0,0,1,90
Translate,0.56,0.43,-15.6,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-16.03,
AddVertex,0.6,0.86,-16.03,
AddVertex,0.6,0.86,-15.17,
AddVertex,0.6,0,-15.17,
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,30,30,30,
Rotate,0,0,1,90
Translate,-0.56,0.43,-17.7,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-18.13,
AddVertex,-0.6,0.86,-18.13,
AddVertex,-0.6,0.86,-17.27,
AddVertex,-0.6,0,-17.27,
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,30,30,30,
Rotate,0,0,1,90
Translate,-0.56,0.43,-15.6,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-16.03,
AddVertex,-0.6,0.86,-16.03,
AddVertex,-0.6,0.86,-15.17,
AddVertex,-0.6,0,-15.17,
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,30,30,30,
Rotate,0,0,1,90
Translate,0,0.43,-17.7,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,30,30,
Rotate,0,0,1,90
Translate,0,0.43,-15.6,


CreateMeshBuilder,,;//台車左側,,
AddVertex,0.95,0.22,-18,
AddVertex,0.95,0.97,-18,
AddVertex,0.95,0.97,-15.3,
AddVertex,0.95,0.22,-15.3,
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.22,-18,
AddVertex,0.8,0.97,-18,
AddVertex,0.8,0.97,-15.3,
AddVertex,0.8,0.22,-15.3,
AddFace2,0,1,2,3
SetColor,60,60,60,
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.22,-18,
AddVertex,-0.95,0.97,-18,
AddVertex,-0.95,0.97,-15.3,
AddVertex,-0.95,0.22,-15.3,
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.22,-18,
AddVertex,-0.8,0.97,-18,
AddVertex,-0.8,0.97,-15.3,
AddVertex,-0.8,0.22,-15.3,
AddFace2,0,3,2,1
SetColor,60,60,60,
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.35,
AddVertex,0.62,0.7,-17.35,
AddVertex,0.62,0.7,-15.95,
AddVertex,0.62,0.25,-15.95,
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.35,
AddVertex,0.57,0.7,-17.35,
AddVertex,0.57,0.7,-15.95,
AddVertex,0.57,0.25,-15.95,
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.35,
AddVertex,-0.62,0.7,-17.35,
AddVertex,-0.62,0.7,-15.95,
AddVertex,-0.62,0.25,-15.95,
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.35,
AddVertex,-0.57,0.7,-17.35,
AddVertex,-0.57,0.7,-15.95,
AddVertex,-0.57,0.25,-15.95,
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,35,35,35,
Translate,1,0.93,-16.65,


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


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


CreateMeshBuilder,,;//車輪左前,,
AddVertex,0.6,0,-4.33,
AddVertex,0.6,0.86,-4.33,
AddVertex,0.6,0.86,-3.47,
AddVertex,0.6,0,-3.47,
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,30,30,30,
Rotate,0,0,1,90
Translate,0.56,0.43,-1.8,


CreateMeshBuilder,,;//車輪左後,,
AddVertex,0.6,0,-2.23,
AddVertex,0.6,0.86,-2.23,
AddVertex,0.6,0.86,-1.37,
AddVertex,0.6,0,-1.37,
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,30,30,30,
Rotate,0,0,1,90
Translate,-0.56,0.43,-3.9,


CreateMeshBuilder,,;//車輪右前,,
AddVertex,-0.6,0,-4.33,
AddVertex,-0.6,0.86,-4.33,
AddVertex,-0.6,0.86,-3.47,
AddVertex,-0.6,0,-3.47,
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,30,30,30,
Rotate,0,0,1,90
Translate,-0.56,0.43,-1.8,


CreateMeshBuilder,,;//車輪右後,,
AddVertex,-0.6,0,-2.23,
AddVertex,-0.6,0.86,-2.23,
AddVertex,-0.6,0.86,-1.37,
AddVertex,-0.6,0,-1.37,
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,30,30,30,
Rotate,0,0,1,90
Translate,0,0.43,-3.9,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,30,30,30,
Rotate,0,0,1,90
Translate,0,0.43,-1.8,


CreateMeshBuilder,,;//台車左側,,
AddVertex,0.95,0.22,-4.2,
AddVertex,0.95,0.97,-4.2,
AddVertex,0.95,0.97,-1.5,
AddVertex,0.95,0.22,-1.5,
AddFace,0,1,2,3
GenerateNormals,,,,

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


CreateMeshBuilder,,;//台車左側,,
AddVertex,0.8,0.22,-4.2,
AddVertex,0.8,0.97,-4.2,
AddVertex,0.8,0.97,-1.5,
AddVertex,0.8,0.22,-1.5,
AddFace2,0,1,2,3
SetColor,60,60,60,
GenerateNormals,,,,

LoadTexture,daisha1.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.22,-4.2,
AddVertex,-0.95,0.97,-4.2,
AddVertex,-0.95,0.97,-1.5,
AddVertex,-0.95,0.22,-1.5,
AddFace,0,3,2,1
GenerateNormals,,,,

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


CreateMeshBuilder,,;//台車右側,,
AddVertex,-0.8,0.22,-4.2,
AddVertex,-0.8,0.97,-4.2,
AddVertex,-0.8,0.97,-1.5,
AddVertex,-0.8,0.22,-1.5,
AddFace2,0,3,2,1
SetColor,60,60,60,
GenerateNormals,,,,

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


CreateMeshBuilder,,;//左ブレーキ,,
AddVertex,0.62,0.25,-17.35,
AddVertex,0.62,0.7,-17.35,
AddVertex,0.62,0.7,-15.95,
AddVertex,0.62,0.25,-15.95,
AddFace,0,1,2,3
Translate,0,0,13.8,
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.35,
AddVertex,0.57,0.7,-17.35,
AddVertex,0.57,0.7,-15.95,
AddVertex,0.57,0.25,-15.95,
AddFace2,0,1,2,3
SetColor,50,50,50,
Translate,0,0,13.8,
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.35,
AddVertex,-0.62,0.7,-17.35,
AddVertex,-0.62,0.7,-15.95,
AddVertex,-0.62,0.25,-15.95,
AddFace,0,3,2,1
Translate,0,0,13.8,
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.35,
AddVertex,-0.57,0.7,-17.35,
AddVertex,-0.57,0.7,-15.95,
AddVertex,-0.57,0.25,-15.95,
AddFace2,0,1,2,3
SetColor,50,50,50,
Translate,0,0,13.8,
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,35,35,35,
Translate,1,0.93,-2.85,


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


;------床下機器------,,,,
CreateMeshBuilder,,;//ステップ,,
AddVertex     ,-1.32,0.49,-18.81,
AddVertex     ,-1.32,0.95,-18.81,
AddVertex     ,-1.32,0.95,-18.55,
AddVertex     ,-1.32,0.49,-18.55,
AddVertex     ,1.32,0.49,-18.81,
AddVertex     ,1.32,0.95,-18.81,
AddVertex     ,1.32,0.95,-18.55,
AddVertex     ,1.32,0.49,-18.55,
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,,;//床下機器,
AddVertex,1.1,0.25,-4.75
AddVertex,1.1,0.95,-4.75
AddVertex,1.1,0.95,-14.75,
AddVertex,1.1,0.25,-14.75,
AddVertex,-1.1,0.25,-4.75,
AddVertex,-1.1,0.95,-4.75,
AddVertex,-1.1,0.95,-14.75,
AddVertex,-1.1,0.25,-14.75,
AddFace,0,3,2,1
AddFace,4,5,6,7
AddFace,4,0,1,5
AddFace,3,7,6,2
GenerateNormals,,,,

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


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.13,0.55
SetColor,25,25,23
Translate,0,0.825,-18.8
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.13,0.6
SetColor,25,25,23,
Translate,0,0.825,-0.6,
GenerateNormals,,,,


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

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