;description=WAGON BALLAST
;auteur=Jean-Yves LE FUR
;copyright=bverb@free.fr

;Avant1 
[Meshbuilder]
vertex  1.325, 0.1, 3.8
vertex -1.325, 0.1, 3.8
vertex -1.325, 2.6, 3.8
vertex  1.325, 2.6, 3.8
Face2 0,1,2,3
[Texture]
Load BAL3.bmp
Coordinates 0, 1, 1
Coordinates 1, 0, 1
Coordinates 2, 0, 0
Coordinates 3, 1, 0
Transparent 0,0,255

;Arrière1
[Meshbuilder]
vertex  1.325, 0.1, 16.67
vertex -1.325, 0.1, 16.67
vertex -1.325, 2.6, 16.67
vertex  1.325, 2.6, 16.67
Face2 0,1,2,3
[Texture]
Load BAL3.bmp
Coordinates 0, 1, 1
Coordinates 1, 0, 1
Coordinates 2, 0, 0
Coordinates 3, 1, 0
Transparent 0,0,255

;Cote1
[Meshbuilder]
vertex 1.275, 1, 3.82
vertex 1.275, 4, 3.82
vertex 1.275, 4, 16.68
vertex 1.275, 1, 16.68
Face2 0,1,2,3
[Texture]
Load BAL1.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0,0,255

;Cote2b
[Meshbuilder]
vertex -1.275, 1, 3.82
vertex -1.275, 4, 3.82
vertex -1.275, 4, 16.68
vertex -1.275, 1, 16.68
Face2 0,1,2,3
[Texture]
Load BAL2.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0,0,255

;Boggie Avant Gauche
[Meshbuilder]
vertex 0.718, 0, 4
vertex 0.718, 1, 4
vertex 0.718, 1, 8
vertex 0.718, 0, 8
Face2 0,1,2,3
[Texture]
Load BG1.bmp
Coordinates 0, 0.141, 0.781
Coordinates 1, 0.141, 0
Coordinates 2, 0.875, 0
Coordinates 3, 0.875, 0.781
Transparent 0,0,255

;Boggie Arrière Gauche
[Meshbuilder]
vertex 0.718, 0, 12
vertex 0.718, 1, 12
vertex 0.718, 1, 16
vertex 0.718, 0, 16
Face2 0,1,2,3
[Texture]
Load BG1.bmp
Coordinates 0, 0.1875, 0.781
Coordinates 1, 0.1875, 0
Coordinates 2, 0.914, 0
Coordinates 3, 0.914, 0.781
Transparent 0,0,255


;Boggie Avant Droit
[Meshbuilder]
vertex -0.718, 0, 4
vertex -0.718, 1, 4
vertex -0.718, 1, 8
vertex -0.718, 0, 8
Face2 0,1,2,3
[Texture]
Load BG1.bmp
Coordinates 0, 0.141, 0.781
Coordinates 1, 0.141, 0
Coordinates 2, 0.875, 0
Coordinates 3, 0.875, 0.781
Transparent 0,0,255

;Boggie Arrière Droit
[Meshbuilder]
vertex -0.718, 0, 12
vertex -0.718, 1, 12
vertex -0.718, 1, 16
vertex -0.718, 0, 16
Face2 0,1,2,3
[Texture]
Load BG1.bmp
Coordinates 0, 0.1875, 0.781
Coordinates 1, 0.1875, 0
Coordinates 2, 0.914, 0
Coordinates 3, 0.914, 0.781
Transparent 0,0,255

;Ombre sur sol (Pour RB)
[Meshbuilder]
vertex -1.275, -1, 3.1
vertex -1.275, -1, 17.1
vertex  1.275, -1, 17.1
vertex  1.275, -1, 3.1
Face 0,1,2,3
color 125, 125, 125

;Dessus
[Meshbuilder]
vertex -1.275, 3.8, 5.4
vertex -1.275, 3.8, 15.1
vertex  1.275, 3.8, 15.1
vertex  1.275, 3.8, 5.4
Face2 0,1,2,3
[Texture]
Load DSBAL.bmp
Coordinates 0, 0,0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

;Dessous
[Meshbuilder]
vertex -1.275, 1.2, 3.8
vertex -1.275, 1.2, 16.67
vertex  1.275, 1.2, 16.67
vertex  1.275, 1.2, 3.8
Face2 0,1,2,3
[Texture]
Load BAL4.bmp
Coordinates 0, 0,0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

;Avant et Arriere
[Meshbuilder]
vertex -1.275, 4, 5.2
vertex  1.275, 4, 5.2
vertex  1.275, -0.8, 8.6
vertex -1.275, -0.8, 8.6
Face2 0,1,2,3
[Texture]
Load AVAR.bmp
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

[Meshbuilder]
vertex -1.275, 4, 15.3
vertex  1.275, 4, 15.3
vertex  1.275, -0.8, 11.5
vertex -1.275, -0.8, 11.5
Face2 0,1,2,3
[Texture]
Load AVAR.bmp
Coordinates 0, 0,0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

;Millieu
[Meshbuilder]
vertex -1.275, 4, 8.5
vertex  1.275, 4, 8.5
vertex  1.275, -0.8, 8.5
vertex -1.275, -0.8, 8.5
Face2 0,1,2,3
[Texture]
Load AVAR.bmp
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

[Meshbuilder]
vertex -1.275, 4, 12
vertex  1.275, 4, 12
vertex  1.275, -0.8, 12
vertex -1.275, -0.8, 12
Face2 0,1,2,3
[Texture]
Load AVAR.bmp
Coordinates 0, 0,0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0,0,255

;Crochets
[Meshbuilder]
Vertex -1.35,  0.5,   0
Vertex  1.35,  0.5,   0
Vertex  1.35,  1.1  , 0
Vertex -1.35,  1.1  , 0
Face2 3,2,1,0
[Texture]
Load bas.bmp
Coordinates 0,0,1
Coordinates 1,1,1
Coordinates 2,1,0
Coordinates 3,0,0
transparent 0, 0, 255
translate 0,0,3.8

[Meshbuilder]
Vertex -1.35,  0.5,   0
Vertex  1.35,  0.5,   0
Vertex  1.35,  1.1  , 0
Vertex -1.35,  1.1  , 0
Face2 3,2,1,0
[Texture]
Load bas.bmp
Coordinates 0,0,1
Coordinates 1,1,1
Coordinates 2,1,0
Coordinates 3,0,0
transparent 0, 0, 255
translate 0,0,16.65

;Tampons
[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  0.75, 3.7, -1.2
Color      66,66,66
rotate     1,0,0,90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05
Translate  0.75, 3.4, -1.2
Color      66,66,66
rotate     1,0,0,90

[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  -0.75, 3.7, -1.2
Color      66,66,66
rotate     1,0,0,90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05 
Translate  -0.75, 3.4, -1.2
Color      66,66,66
rotate     1,0,0,90

[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  0.75, 16.8, -1.2
Color      66,66,66
rotate     1,0,0,90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05 
Translate  0.75, 17.1, -1.2
Color      66,66,66
rotate     1,0,0,90

[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  -0.75, 16.8, -1.2
Color      66,66,66
rotate     1,0,0,90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05
Translate  -0.75, 17.1, -1.2
Color      66,66,66
rotate     1,0,0,90

[MeshBuilder]
Cylinder  16 ,  0.2 ,  0.2, 2.6
Translate  2.7, 0, 5.7
Color      255,115,0
Rotate     0,0,90,90

;Axes1
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.5, 0, 5.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, 0.65, 5.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, -0.65, 5.1
Color      66,66,66
Rotate     0,0,90,90

;Axes2
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.5, 0, 7.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, 0.65, 7.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, -0.65, 7.1
Color      66,66,66
Rotate     0,0,90,90

;Axes3
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.5, 0, 12.85
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, 0.65, 12.85
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, -0.65, 12.85
Color      66,66,66
Rotate     0,0,90,90

;Axes4
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.5, 0, 14.9
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, 0.65, 14.9
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.5, -0.65, 14.9
Color      66,66,66
Rotate     0,0,90,90
