;auteur=jylf
;description=Mat pour feu de signalisation
;copyright=bverb@free.fr

[MeshBuilder]
Vertex -0.4, 7.6, -0.2
Vertex  0.4, 7.6, -0.2
Vertex  0.4, 4, -0.2
Vertex -0.4, 4, -0.2
Face 0, 1, 2, 3
[Texture]
Load \Semaphore.BMP
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;Arriere
[MeshBuilder]
Vertex -0.4, 8, 0
Vertex  0.4, 8, 0
Vertex  0.4, 4, 0
Vertex -0.4, 4, 0
Face2 3,2,1,0
[Texture]
Load \HP0.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, 8, -0.18
Vertex  0.4, 8, -0.18
Vertex  0.4, 4, -0.18
Vertex -0.4, 4, -0.18
Face 3,2,1,0
[Texture]
Load \HP0.BMP
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

[MeshBuilder]
Cylinder 10,0.2,0.2,0.25
color 108,108,108
translate 0,-0.065,-6.25
rotate 1,0,0,90

[MeshBuilder]
Cylinder 10,0.2,0.2,0.25
color 128,128,128
translate 0,-0.065,-5.85
rotate 1,0,0,90

[MeshBuilder]
Cylinder 10,0.2,0.2,0.25
color 108,108,108
translate 0,-0.065,-5.45
rotate 1,0,0,90

[MeshBuilder]
Cylinder 10,0.2,0.2,0.25
color 128,128,128
translate 0,-0.065,-5.05
rotate 1,0,0,90

[MeshBuilder]
Cylinder 10,0.2,0.2,0.25
color 128,128,128
translate 0,-0.065,-4.65
rotate 1,0,0,90

;Marque
[MeshBuilder]
Vertex -0.28, 3.9, 0.1
Vertex  0.28, 3.9, 0.1
Vertex  0.28, 1.1, 0.1
Vertex -0.28, 1.1, 0.1
Face 0, 1, 2, 3
[Texture]
Load \mast_r.BMP
Coordinates 0, 0, 0
Coordinates 1, 1, 0
Coordinates 2, 1, 1
Coordinates 3, 0, 1
Transparent 0, 0, 255

;Pied
[Meshbuilder]
Cylinder  10,0.3,0.3,0.6
Color     190,200,160
Translate 0,0,0.25

[meshbuilder]
cube 0.4,0.2,0.5
translate 0,-0.2,2.2
color 111,111,111

;Mat
[MeshBuilder] 
Vertex -0.2,0,0.2
Vertex -0.2,5,0.2
Vertex  0.2,5,0.2
Vertex  0.2,0,0.2
Face2 0,1,2,3
[Texture]
Load Mat.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0, 0, 255

[MeshBuilder] 
Vertex  0.2,0,0.2
Vertex  0.2,5,0.2
Vertex  0.2,5,0.4
Vertex  0.2,0,0.4
Face2 0,1,2,3
[Texture]
Load Mat.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0, 0, 255

[MeshBuilder] 
Vertex  -0.2,0,0.2
Vertex  -0.2,5,0.2
Vertex  -0.2,5,0.4
Vertex  -0.2,0,0.4
Face2 0,1,2,3
[Texture]
Load Mat.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0, 0, 255

[MeshBuilder] 
Vertex -0.2,0,0.4
Vertex -0.2,5,0.4
Vertex  0.2,5,0.4
Vertex  0.2,0,0.4
Face2 0,1,2,3
[Texture]
Load Mat.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0, 0, 255

[meshbuilder]
cube 0.3,0.05,0.2
translate 0,5,0.2
color 111,111,111

[meshbuilder]
cube 0.4,0.05,0.5
translate 0,4,0.7
color 111,111,111

;Echelle
[MeshBuilder] 
Vertex -0.3,0,2
Vertex -0.3,4,1.2
Vertex  0.3,4,1.2
Vertex  0.3,0,2
Face2 0,1,2,3
[Texture]
Load echelle.bmp
Coordinates 0, 0, 1
Coordinates 1, 0, 0
Coordinates 2, 1, 0
Coordinates 3, 1, 1
Transparent 0, 0, 255

;Protection
[MeshBuilder]
Vertex  -0.35, 4,  0.2
Vertex  -0.35, 4,  1.2
Vertex  -0.35, 4.8,  1.2
Vertex  -0.35, 4.8,  0.2
Face2 0,1,2,3
[Texture]
Load grille.bmp
Coordinates 0, 0, 2
Coordinates 1, 2, 2
Coordinates 2, 2, 0
Coordinates 3, 0, 0
Transparent 0, 0, 255

[MeshBuilder]
Vertex  0.35, 4,  0.2
Vertex  0.35, 4,  1.2
Vertex  0.35, 4.8,  1.2
Vertex  0.35, 4.8,  0.2
Face2 0,1,2,3
[Texture]
Load grille.bmp
Coordinates 0, 0, 2
Coordinates 1, 2, 2
Coordinates 2, 2, 0
Coordinates 3, 0, 0
Transparent 0, 0, 255


;Crocodile
[meshbuilder]
Cylinder  10,0.02,0.02,1.4
Color     90,90,90
Rotate 0,0,90,90
Translate -2.5,-0.1,0.1
[meshbuilder]
Cylinder  10,0.05,0.05,0.05
Color     90,90,90
Rotate 0,0,90,90
Translate -3.22,-0.1,0.1
[meshbuilder]
Cylinder  10,0.05,0.05,0.05
Color     90,90,90
Rotate 0,0,90,90
Translate -1.78,-0.1,0.1

[meshbuilder]
Cylinder  10,0.02,0.02,1.4
Color     90,90,90
Rotate 0,0,90,90
Translate -2.5,-0.1,1.8
[meshbuilder]
Cylinder  10,0.05,0.05,0.05
Color     90,90,90
Rotate 0,0,90,90
Translate -3.22,-0.1,1.8
[meshbuilder]
Cylinder  10,0.05,0.05,0.05
Color     90,90,90
Rotate 0,0,90,90
Translate -1.78,-0.1,1.8

[meshbuilder]
cube 0.12,0.05,1.1
translate -2.5,-0.08,1
color 80,51,15

[MeshBuilder]
Vertex  -0.1, 0, 0
Vertex  -0.1, 0, 2
Vertex   0.1, 0, 2
Vertex   0.1, 0, 0
Face2 0,1,2,3
[Texture]
Load \Croco.BMP
Coordinates 0, 0, 0
Coordinates 1, 2, 0
Coordinates 2, 2, 2
Coordinates 3, 0, 2
Transparent 0, 0, 255
Translate -2.5,0,0

;Boitier
[meshbuilder]
cube  0.3, 0.3, 0.3
translate 0, 0, -1
color 80,80,85
[meshbuilder]
cube  0.32, 0.05, 0.32
translate 0, 0.33, -1
color 90,90,90

;Cable
[meshbuilder]
Cylinder  10,0.02,0.02,2.5
Color     90,90,90
Rotate 0,0,90,90
Translate -1.25,-0.1,-1
[meshbuilder]
Cylinder  10,0.02,0.02,1
Color     90,90,90
Rotate 1,0,0,90
translate  -2.5,-0.1,-0.5