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

[Meshbuilder]
Vertex -1.35,3.7,0
Vertex -1.35,3.7,20.2
Vertex -1.35,0.65,20.2
Vertex -1.35,0.65,0
Face2 3,2,1,0
[Texture]
Load Z20900_D.bmp
Coordinates 0,1,0
Coordinates 1,0,0
Coordinates 2,0,1
Coordinates 3,1,1
Transparent 58, 74, 90


[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 BOGZ20900.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255

[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 BOGZ20900.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255




[Meshbuilder]
Vertex 1.35,3.7,0
Vertex 1.35,3.7,20.2
Vertex 1.35,0.65,20.2
Vertex 1.35,0.65,0
Face2 0,1,2,3
[Texture]
Load Z20900_G.bmp
Coordinates 1,1,0
Coordinates 0,0,0
Coordinates 3,0,1
Coordinates 2,1,1
Transparent 58, 74, 90


[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 BOGZ20900.bmp
Coordinates 1,0,0
Coordinates 0,1,0
Coordinates 3,1,1
Coordinates 2,0,1
Transparent 0,0,255

[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 BOGZ20900.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.8
Vertex   1.35,3.7, 19.8
Vertex   1.35,0.7   , 19.8
Vertex  -1.35,0.7   , 19.8
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.85

;Avant
[Meshbuilder]
Vertex  -1.15 ,3.31, 0.9
Vertex   1.15 ,3.31, 0.9
Vertex   1.15 ,1.5   , 0.15
Vertex  -1.15 ,1.5   , 0.15
Face 0,1,2,3
[Texture]
Load Z20900_ArH.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1

[Meshbuilder]
Vertex  -1.35,1.5, 0.15
Vertex   1.35,1.5, 0.15
Vertex   1.35,0.7   , 0.5
Vertex  -1.35,0.7   , 0.5
Face 0,1,2,3
[Texture]
Load Z20900_AB.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
[Meshbuilder]
Vertex  -1.35,0.75, 0.51
Vertex   1.35,0.75, 0.51
Vertex   1.35,0.45 , 0.51
Vertex  -1.35,0.45 , 0.51
Face2 0,1,2,3
[Texture]
Load Z20900_AB.bmp
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1

[Meshbuilder]
Vertex  -1.35,3.3, 0.9
Vertex   1.35,3.3, 0.9
Vertex   1.35,3.7   , 1.6
Vertex  -1.35,3.7   , 1.6
Face 3,2,1,0
color 3, 3, 110

[Meshbuilder]
Vertex  -1.35 ,3.31, 0.9
Vertex  -1.15 ,3.31, 0.9
Vertex  -1.15 ,1.5   , 0.15
Vertex  -1.35 ,1.5   , 0.15
Face2 0,1,2,3
color 3, 3, 115


[Meshbuilder]
Vertex  1.35 ,3.31, 0.9
Vertex  1.15 ,3.31, 0.9
Vertex  1.15 ,1.5   , 0.15
Vertex  1.35 ,1.5   , 0.15
Face2 0,1,2,3
color 3, 3, 120


;Toit
[Meshbuilder]
Vertex -1.35,3.7  ,1.6
Vertex  1.35,3.7  ,1.6
Vertex  1.35,3.7  ,19.8
Vertex -1.35,3.7  ,19.8
Face 3,2,1,0
Color 100,100,100

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


;pantographe
[Meshbuilder]
Vertex -1.0,6  ,8.6
Vertex  1.0,6  ,8.6
Vertex  1.0,4.8  ,9.9
Vertex -1.0,4.8  ,9.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.9,4.8  ,9.9
Vertex  0.9,4.8  ,9.9
Vertex  0.9,3.7  ,8.8
Vertex -0.9,3.7  ,8.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

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

[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.7
Translate  0.4, 0, 1.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.25 ,  0.25 ,  0.5
Translate  0.4, 0, 1.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, 0.75, 1.75
Color      66,66,66
Rotate     0,0,90,90
[MeshBuilder]
Cylinder  106 ,  0.45 ,  0.45 ,  0.08
Translate  0.4, -0.75, 1.75
Color      66,66,66
Rotate     0,0,90,90

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

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

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

;Caissons plancher
[Meshbuilder]
Cube  0.7,0.2,3
Color  0,0,0
Translate 0,0.45,10

[Meshbuilder]
Cube  1.32,0.2,0.3
Color  100,100,100
Translate 0,0.55,0.85

[Meshbuilder]
Cube  0.6,0.2,0.75
Color  70,70,70
Translate 0,0.45,2.9

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

;Caissons toit
[Meshbuilder]
Cube  1,0.2,2
Color  128,128,128
Translate 0,3.7,5

[Meshbuilder]
Cube  1,0.2,4.5
Color  128,128,128
Translate 0,3.7,15

;Tampons avant
[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  0.8, 0.4, -1
Color      66,66,66
Rotate     1,0,0,90
[Meshbuilder]
Cube  0.3,0.2,0.05
Color  66,66,66
Translate 0.8,1,0.1
[MeshBuilder]
Cylinder  16 ,  0.15 ,  0.15 ,  0.6 
Translate  -0.8, 0.4, -1
Color      66,66,66
Rotate     1,0,0,90
[Meshbuilder]
Cube  0.3,0.2,0.05
Color  66,66,66
Translate -0.8,1,0.1



;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 avant gauche
[Meshbuilder]
cylinder 25, 1, 0.1, 2
translate  0.7, 0.3, 1.5
rotate 1,0,0,-100
Color 255,0,0,50

;Feu avant droit
[Meshbuilder]
cylinder 25, 1, 0.1, 2
translate -0.7, 0.3, 1.5
rotate 1, 0, 0, -100
Color 255,0,0,50

translateall 0,0,-10.1