;description=loco livré bleu
;auteur=Jean-Yves LE FUR
;copyright=open source

[Meshbuilder]
Vertex -1.35,3.7,20
Vertex -1.35,3.7,4
Vertex -1.35,0,4
Vertex -1.35,0,20
Vertex -1.35,3.7,0
Vertex -0.7,0.1,0
Face2 0,1,2,3
Face2 2,1,4,5
[Texture]
Load locob.bmp
Coordinates 0,1,0
Coordinates 1,0.25,0
Coordinates 2,0.25,1
Coordinates 3,1,1
Coordinates 4,-0.00005,0
Coordinates 5,-0.00005,1
Transparent 0,0,255

[Meshbuilder]
Vertex -1.35,0.7,20
Vertex -1.35,0.7,5.5
Vertex -1,0.2,5.5
Vertex -1,0.2,20
Face2 0,1,2,3
[Texture]
Load CBAS1.bmp
Coordinates 0,1,0
Coordinates 1,0,0
Coordinates 2,0,1
Coordinates 3,1,1
Transparent 0,0,255

[Meshbuilder]
Vertex -0.8,0.7,0.3
Vertex -0.8,0.7,7.1
Vertex -0.8,0  ,7.1
Vertex -0.8,0  ,0.3
Face2 3,2,1,0
[Texture]
Load BOG.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255
translate 0,0,1

[Meshbuilder]
Vertex -0.8,0.7,19
Vertex -0.8,0.7,12.2
Vertex -0.8,0  ,12.2
Vertex -0.8,0  ,19
Face2 0,1,2,3
[Texture]
Load BOG.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255
translate 0,0,1


[Meshbuilder]
Vertex 1.35,3.7,20
Vertex 1.35,3.7,4
Vertex 1.35,0,4
Vertex 1.35,0,20
Vertex 1.35,3.7,0
Vertex 0.66,0.1,0
Face2 3,2,1,0
Face2 2,5,4,1
[Texture]
Load loco.bmp
Coordinates 1,0.25,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0.25,1
Coordinates 4,-0.00005,0
Coordinates 5,-0.00005,1
Transparent 0,0,255

[Meshbuilder]
Vertex  1.35,0.7,20
Vertex  1.35,0.7,5.5
Vertex  1,0.2,5.5
Vertex  1,0.2,20
Face2 3,2,1,0
[Texture]
Load CBAS1.bmp
Coordinates 0,1,0
Coordinates 1,0,0
Coordinates 2,0,1
Coordinates 3,1,1
Transparent 0,0,255

[Meshbuilder]
Vertex 0.8,0.7,0.3
Vertex 0.8,0.7,7.1
Vertex 0.8,0  ,7.1
Vertex 0.8,0  ,0.3
Face2 0,1,2,3
[Texture]
Load BOG.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255
translate 0,0,1

[Meshbuilder]
Vertex 0.8,0.7,19
Vertex 0.8,0.7,12.2
Vertex 0.8,0  ,12.2
Vertex 0.8,0  ,19
Face2 3,2,1,0
[Texture]
Load BOG.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255
translate 0,0,1

;Arrière
[Meshbuilder]
Vertex -1.36, 3.68,  3.85
Vertex  1.36, 3.68,  3.85
Vertex  1.47, 3.17,  2.655
Vertex -1.47, 3.17,  2.655
Face2 0,1,2,3
[Texture]
Load ARH.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
Transparent 0,0,255

[Meshbuilder]
Vertex -1.35, 3.19,  2.7
Vertex  1.35, 3.19,  2.7
Vertex  1.35, 2.3,  1.6
Vertex -1.35, 2.3,  1.6
Face2 0,1,2,3
[Texture]
Load Are.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
Transparent 0,0,255

[Meshbuilder]
Vertex -1.36, 2.3,  1.6
Vertex  1.37, 2.3,  1.6
Vertex  1.15, 1.1,  0
Vertex -1.15, 1.1,  0
Face2 0,1,2,3
[Texture]
Load Ar.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
Transparent 0,0,255

[Meshbuilder]
Vertex -0.9, 1.1,  0
Vertex  0.9, 1.1,  0
Vertex  0.8, 0.72,  0.1
Vertex -0.85, 0.72,  0.1
Face2 0,1,2,3
[Texture]
Load AV1.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255

[Meshbuilder]
Vertex -0.82, 0.72,  0.1
Vertex  0.8, 0.72,  0.1
Vertex  0.93, 0.5,  1.1
Vertex -0.93, 0.5,  1.1
Face2 0,1,2,3
[Texture]
Load AV2.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255

[Meshbuilder]
Vertex -0.91, 0.89,  0.61
Vertex  0.89, 0.89,  0.61
Vertex  0.75, 0.1,  0.36
Vertex -0.78, 0.1,  0.36
Face2 0,1,2,3
[Texture]
Load AV2.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255


;separation
[Meshbuilder]
Vertex  -1.35,3.7, 19.6
Vertex   1.35,3.7, 19.4
Vertex   1.35,0.7   , 19.6
Vertex  -1.35,0.7   , 19.6
Face 3,2,1,0
Color 100,100,100

;passage
[Meshbuilder]
Cube  0.6,1.1,0.5
Color  90,90,100
Translate 0,2,19.7

;Toit
[Meshbuilder]
Vertex -1.35,3.69  ,3.85
Vertex  1.35,3.69  ,3.85
Vertex  1.35,3.69  ,20
Vertex -1.35,3.69  ,20
Face2 3,2,1,0
Color 100,100,100

;Plancher
[Meshbuilder]
Vertex -1.35,0.7  ,4
Vertex  1.35,0.7  ,4
Vertex  1.35,0.7  ,20
Vertex -1.35,0.7  ,20
Face2 3,2,1,0
color 120,120,120

;Boudins
[MeshBuilder]
Cylinder 25,0.1,0.1,2.6
Color 0,0,0,
Translate -1,2.1,19.7
[MeshBuilder]
Cylinder 25,0.1,0.1,2.6
Color 0,0,0,
Translate 1,2.1,19.7
[MeshBuilder]
Cylinder 25,0.1,0.1,1.8
Rotate 0,0,90,90,
Color 0,0,0,
Translate 0.0,3.3,19.7

[MeshBuilder]
Cylinder 25,0.1,0.1,2.6
Color 0,0,0,
Translate -1,2.1,19.9
[MeshBuilder]
Cylinder 25,0.1,0.1,2.6
Color 0,0,0,
Translate 1,2.1,19.9
[MeshBuilder]
Cylinder 25,0.1,0.1,1.8
Rotate 0,0,90,90,
Color 0,0,0,
Translate 0.0,3.3,19.9


;BOGGIES
;Axes1
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.4, 0, 2.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.25 ,  0.25 ,  0.5
Translate  0.4, 0, 2.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, 0.75, 2.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, -0.75, 2.75
Color      66,66,66
Rotate     0,0,90,90

;Axes2
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.4, 0, 5.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.25 ,  0.25 ,  0.5
Translate  0.4, 0, 5.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, 0.75, 5.1
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, -0.75, 5.1
Color      66,66,66
Rotate     0,0,90,90

;Axes3
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.4, 0, 16.2
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.25 ,  0.25 ,  0.5
Translate  0.4, 0, 16.2
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, 0.75, 16.2
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, -0.75, 16.2
Color      66,66,66
Rotate     0,0,90,90

;Axes4
[MeshBuilder]
Cylinder  106 ,  0.13 ,  0.13 ,  1.5
Translate  0.4, 0, 18.7
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.25 ,  0.25 ,  0.5
Translate  0.4, 0, 18.7
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, 0.75, 18.7
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, -0.75, 18.7
Color      66,66,66
Rotate     0,0,90,90

;Caissons plancher
[Meshbuilder]
Cube  1.34,0.5,7.8
Color  90,90,90
Translate 0,1.22,12

[Meshbuilder]
Cube  0.8,0.5,2
Color  90,90,90
Translate 0,1.22,3.8

[Meshbuilder]
Cube  0.55,0.4,0.78
Color  70,70,70
Translate 0,0.85,4

[Meshbuilder]
Cube  0.55,0.4,0.78
Color  70,70,70
Translate 0,0.85,1.6

[Meshbuilder]
Cube  0.6,0.2,0.78
Color  70,70,70
Translate 0,0.45,17.5

[Meshbuilder]
Cube  0.6,0.2,0.78
Color  70,70,70
Translate 0,0.45, 14

[Meshbuilder]
Cube  0.6,0.2,0.78
Color  70,70,70
Translate 0,0.45,7.3

[Meshbuilder]
Cube  1,0.2,4.5
Color  70,70,70,200
Translate 0,0.45,10.5

[Meshbuilder]
Cube  1,0.2,0.25
Color  70,70,70,200
Translate 0,0.45,19.7

;Caissons toit
[Meshbuilder]
Cube  1,0.2,7
Color  128,128,128
Translate 0,3.7,11.4

[Meshbuilder]
Cube  1,0.15,2
Color  128,128,128
Translate 0,4,7

[Meshbuilder]
Cube  1,0.15,1.5
Color  128,128,128
Translate 0,4,14

;pantographe
[Meshbuilder]
Vertex -1.0,6  ,10.6
Vertex  1.0,6  ,10.6
Vertex  1.0,4.8  ,11.9
Vertex -1.0,4.8  ,11.9
Face2 3,2,1,0
[Texture]
Load pant1.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
transparent 0,0,255

[Meshbuilder]
Vertex -0.4,4.8  ,11.9
Vertex  0.4,4.8  ,11.9
Vertex  0.4,3.7  ,10.8
Vertex -0.4,3.7  ,10.8
Face2 3,2,1,0
[Texture]
Load pant2.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
transparent 0,0,255

[MeshBuilder]
Cylinder  16 ,  0.05 ,  0.05 ,  3.5
Translate  0.2, -10.7, 4.0
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.05 ,  0.05 ,  3.5
Translate  -0.2, -10.7, 4.0
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.05 ,  0.05 ,  4
Translate  0, -17.9, 3.8
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.1 ,  0.2 ,  0.4
Translate  0, 3.9, 19.81
Color      66,66,66
Rotate     1,0,0,0

[MeshBuilder]
Cylinder  16 ,  0.02 ,  0.02 ,  1
Translate  0, -0.25, 1
Color      66,66,66
Rotate     1,0,0,-90

;Tampons arrière
[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  0.8, -20, 1
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05
Translate  0.8, -20.3, 1
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  -0.8, -20, 1
Color      66,66,66
Rotate     1,0,0,-90
[MeshBuilder]
Cylinder  16 ,  0.25 ,  0.25 ,  0.05
Translate  -0.8, -20.3, 1
Color      66,66,66
Rotate     1,0,0,-90

;Feu arrière gauche
[Meshbuilder]
cylinder 25, 1, 0.1, 2
translate  0.5, 0.1, 1.35
rotate 1,0,0,-100
Color 255,0,0,25

;Feu arrière droit
[Meshbuilder]
cylinder 25, 1, 0.1, 2
translate -0.5, 0.1, 1.35
rotate 1, 0, 0, -100
Color 255,0,0,25