;author  Alan Hudnott
;description platelayers hut
;copyright

;front wall
[meshbuilder]
vertex 0,0,0
vertex 0,3,0
vertex 0,3,3
vertex 0,0,3
face 0,1,2,3
[texture]
load framehut1.png
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,1,0
Coordinates 3,1,1

;back wall
[meshbuilder]
vertex -3,0,0
vertex -3,3,0
vertex -3,3,3
vertex -3,0,3
face 3,2,1,0
[texture]
load framehut1.png
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,1,0
Coordinates 3,1,1

; L side wall
[meshbuilder]
vertex 0,0,0
vertex -3,0,0
vertex -3,3,0
vertex 0,3,0
face 0,1,2,3
[texture]
load framehut2.png
Coordinates 0,1,1
Coordinates 1,0,1
Coordinates 2,0,0
Coordinates 3,1,0

; R side wall
[meshbuilder]
vertex 0,0,3
vertex -3,0,3
vertex -3,3,3
vertex 0,3,3
face 3,2,1,0
[texture]
load framehut2.png
Coordinates 0,1,1
Coordinates 1,0,1
Coordinates 2,0,0
Coordinates 3,1,0


;roof
[MeshBuilder]
Vertex -3.2,  3.2     ,3.2
Vertex 0.2,   3.2    ,3.2
Vertex 0.2,   3.2    ,-0.2
Vertex -3.2,  3.2    ,-0.2
Vertex 0.2,   2.95      ,-0.2
Vertex -3.2,  2.95      ,-0.2
Face2 0,1,2,3
Face2 3,2,4,5
[Texture]
color 89,104,92
Coordinates 0,0,0
Coordinates 1,1,0
Coordinates 2,1,1
Coordinates 3,0,1
Coordinates 4,1,2
Coordinates 5,0,2,

[MeshBuilder]
Vertex 0.2,3.2,-0.2
Vertex 0.2,2.95,-0.2
Vertex 0.2,3.2,3.2
Vertex 0.2,2.95,3.2
Vertex -3.2,3.2,3.2
Vertex -3.2,2.95,3.2
Vertex -3.2,3.2,-0.2
Vertex -3.2,2.95,-0.2

Face2 1,0,2,3
Face2 3,2,4,5
Face2 4,5,6,7

[Texture]
color 89,104,92



