;--------------------------------------
; OPENBVE Route Object File
;--------------------------------------
;Fully Loaded MGR
;
;Textures (c) Steve Thomas
;
;see 'Readme.txt' file.
;

; Underframe

;frame left

CreateMeshBuilder,
AddVertex,-1,0,4,
AddVertex,-1,1.22,4,
AddVertex,-1,1.22,-4,
AddVertex,-1,0,-4,
AddFace2,0,1,2,3,
GenerateNormals,

LoadTexture,ch_front_center2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.88,0,4,
AddVertex,-0.88,1.22,4,
AddVertex,-0.88,1.22,-4,
AddVertex,-0.88,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.3,0,4,
AddVertex,-0.3,1.22,4,
AddVertex,-0.3,1.22,-4,
AddVertex,-0.3,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside1.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.235,0,4,
AddVertex,-0.235,1.22,4,
AddVertex,-0.235,1.22,-4,
AddVertex,-0.235,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.95,0.32,4,
AddVertex,-0.95,1.819,4,
AddVertex,-1.0,1.819,2.989,
AddVertex,-1,0.32,2.989,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_front_end_left.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.95,0.32,-4,
AddVertex,-0.95,1.819,-4,
AddVertex,-1.0,1.819,-2.989,
AddVertex,-1,0.32,-2.989,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_front_end_right.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.8,0,4,
AddVertex,-0.8,1.22,4,
AddVertex,-0.8,1.22,-4,
AddVertex,-0.8,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_middle2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.799,0,4,
AddVertex,-0.799,1.22,4,
AddVertex,-0.799,1.22,-4,
AddVertex,-0.799,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_middle_back.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.65,0,4,
AddVertex,-0.65,1.22,4,
AddVertex,-0.65,1.22,-4,
AddVertex,-0.65,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_rear.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.649,0,4,
AddVertex,-0.649,1.22,4,
AddVertex,-0.649,1.22,-4,
AddVertex,-0.649,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_back.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;frame right

CreateMeshBuilder,
AddVertex,1,0,4,
AddVertex,1.0,1.22,4,
AddVertex,1.0,1.22,-4,
AddVertex,1,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_front_center2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.88,0,4,
AddVertex,0.88,1.22,4,
AddVertex,0.88,1.22,-4,
AddVertex,0.88,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.3,0,4,
AddVertex,0.3,1.22,4,
AddVertex,0.3,1.22,-4,
AddVertex,0.3,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside1.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.235,0,4,
AddVertex,0.235,1.22,4,
AddVertex,0.235,1.22,-4,
AddVertex,0.235,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch_inside2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.95,0.32,4,
AddVertex,0.95,1.819,4,
AddVertex,1.0,1.819,2.989,
AddVertex,1,0.32,2.989,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_front_end_right.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.95,0.32,-4,
AddVertex,0.95,1.819,-4,
AddVertex,1.0,1.819,-2.989,
AddVertex,1,0.32,-2.989,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_front_end_left.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.8,0,4,
AddVertex,0.8,1.22,4,
AddVertex,0.8,1.22,-4,
AddVertex,0.8,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_middle2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.799,0,4,
AddVertex,0.799,1.22,4,
AddVertex,0.799,1.22,-4,
AddVertex,0.799,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_middle_back.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.65,0,4,
AddVertex,0.65,1.22,4,
AddVertex,0.65,1.22,-4,
AddVertex,0.65,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_rear.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.649,0,4,
AddVertex,0.649,1.22,4,
AddVertex,0.649,1.22,-4,
AddVertex,0.649,0,-4,
AddFace2,3,2,1,0,
GenerateNormals,

LoadTexture,ch2_back.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;platform

CreateMeshBuilder,
AddVertex,-1.0,1.2087,4,
AddVertex,1.0,1.2087,4,
AddVertex,1.0,1.2087,-4,
AddVertex,-1.0,1.2087,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,floor.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Sides

;left

CreateMeshBuilder,
AddVertex,-0.9,1.2087,3.7,
AddVertex,-1.54,2.9,3.7,
AddVertex,-1.54,2.9,-3.7,
AddVertex,-0.9,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_bott.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.89,1.2087,3.7,
AddVertex,-1.53,2.9,3.7,
AddVertex,-1.53,2.9,-3.7,
AddVertex,-0.89,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_bott_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05,1.2087,3.7,
AddVertex,-1.05,2.9,3.7,
AddVertex,-1.05,2.9,-3.7,
AddVertex,-1.05,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_top_1.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.048,1.2087,3.7,
AddVertex,-1.048,2.9,3.7,
AddVertex,-1.048,2.9,-3.7,
AddVertex,-1.048,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_top_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.8,1.2087,3.7,
AddVertex,-1.05,2.9,3.7,
AddVertex,-1.05,2.9,-3.7,
AddVertex,-0.8,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_ends.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.79,1.2087,3.7,
AddVertex,-1.04,2.9,3.7,
AddVertex,-1.04,2.9,-3.7,
AddVertex,-0.79,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_ends_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.07,1.2087,3.7,
AddVertex,-1.07,2.9,3.7,
AddVertex,-1.07,2.9,-3.7,
AddVertex,-1.07,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.9,1.2087,3.03,
AddVertex,0.9,2.9,3.03,
AddVertex,-0.9,2.9,3.03,
AddVertex,-0.9,1.2087,3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.07,1.2087,2.18,
AddVertex,-1.07,2.9,2.18,
AddVertex,-0.9,2.9,3.03,
AddVertex,-0.9,1.2087,3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim3.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.07,1.2087,-2.18,
AddVertex,-1.07,2.9,-2.18,
AddVertex,-0.9,2.9,-3.03,
AddVertex,-0.9,1.2087,-3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim3a.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

; right

CreateMeshBuilder,
AddVertex,0.9,1.2087,3.7,
AddVertex,1.54,2.9,3.7,
AddVertex,1.54,2.9,-3.7,
AddVertex,0.9,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_bott.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.89,1.2087,3.7,
AddVertex,1.53,2.9,3.7,
AddVertex,1.53,2.9,-3.7,
AddVertex,0.89,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_bott_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.05,1.2087,3.7,
AddVertex,1.05,2.9,3.7,
AddVertex,1.05,2.9,-3.7,
AddVertex,1.05,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_top2_1.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.048,1.2087,3.7,
AddVertex,1.048,2.9,3.7,
AddVertex,1.048,2.9,-3.7,
AddVertex,1.048,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_top_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.8,1.2087,3.7,
AddVertex,1.05,2.9,3.7,
AddVertex,1.05,2.9,-3.7,
AddVertex,0.8,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_ends.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.79,1.2087,3.7,
AddVertex,1.04,2.9,3.7,
AddVertex,1.04,2.9,-3.7,
AddVertex,0.79,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_ends_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.07,1.2087,3.7,
AddVertex,1.07,2.9,3.7,
AddVertex,1.07,2.9,-3.7,
AddVertex,1.07,1.2087,-3.7,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.9,1.2087,-3.03,
AddVertex,0.9,2.9,-3.03,
AddVertex,-0.9,2.9,-3.03,
AddVertex,-0.9,1.2087,-3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.07,1.2087,2.18,
AddVertex,1.07,2.9,2.18,
AddVertex,0.9,2.9,3.03,
AddVertex,0.9,1.2087,3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim3a.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.07,1.2087,-2.18,
AddVertex,1.07,2.9,-2.18,
AddVertex,0.9,2.9,-3.03,
AddVertex,0.9,1.2087,-3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_trim3.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;ends

;front

CreateMeshBuilder,
AddVertex,-1.051,2.9,3.55,
AddVertex,1.051,2.9,3.55,
AddVertex,0.81,1.2087,2.78,
AddVertex,-0.81,1.2087,2.78,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_end.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.049,2.9,3.54,
AddVertex,1.049,2.9,3.54,
AddVertex,0.79,1.2087,2.76,
AddVertex,-0.79,1.2087,2.76,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_end_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.049,2.9,3.539,
AddVertex,1.049,2.9,3.539,
AddVertex,1.049,1.2087,2.75,
AddVertex,-1.049,1.2087,2.75,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_end_inner2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;rear

CreateMeshBuilder,
AddVertex,-1.051,2.9,-3.55,
AddVertex,1.051,2.9,-3.55,
AddVertex,0.81,1.2087,-2.78,
AddVertex,-0.81,1.2087,-2.78,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_end.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.049,2.9,-3.54,
AddVertex,1.049,2.9,-3.54,
AddVertex,0.79,1.2087,-2.76,
AddVertex,-0.79,1.2087,-2.76, 
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,hop_end_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;side infill

;left front

CreateMeshBuilder,
AddVertex,-1.05,2,2.3,
AddVertex,-1.05,2.9,3.558,
AddVertex,-0.8,1.2087,2.032,
AddVertex,-0.9,1.2087,2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2,2.3,
AddVertex,-1.05,2,2.3,
AddVertex,-1.0498,1.5945,2.175,
AddVertex,-0.9,1.2087,2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2,2.29,
AddVertex,-1.05,2.9,3.548,
AddVertex,-0.799,1.2087,2.031,
AddVertex,-0.899,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.0499,2,2.299,
AddVertex,-1.0499,2,2.299,
AddVertex,-1.0497,1.5945,2.173,
AddVertex,-0.899,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2.9,3.28,
AddVertex,-1.038,2.89,3.28,
AddVertex,-0.799,1.2087,2.031,
AddVertex,-0.77,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;right front

CreateMeshBuilder,
AddVertex,1.05,2,2.3,
AddVertex,1.05,2.9,3.558,
AddVertex,0.8,1.2087,2.032,
AddVertex,0.9,1.2087,2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2,2.3,
AddVertex,1.05,2,2.3,
AddVertex,1.0498,1.5945,2.175,
AddVertex,0.9,1.2087,2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2,2.29,
AddVertex,1.05,2.9,3.548,
AddVertex,0.799,1.2087,2.031,
AddVertex,0.899,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.0499,2,2.299,
AddVertex,1.0499,2,2.299,
AddVertex,1.0497,1.5945,2.173,
AddVertex,0.899,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2.9,3.28,
AddVertex,1.038,2.89,3.28,
AddVertex,0.799,1.2087,2.031,
AddVertex,0.77,1.2087,2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;right rear

CreateMeshBuilder,
AddVertex,-1.05,2,-2.3,
AddVertex,-1.05,2.9,-3.558,
AddVertex,-0.8,1.2087,-2.032,
AddVertex,-0.9,1.2087,-2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2,-2.3,
AddVertex,-1.05,2,-2.3,
AddVertex,-1.0498,1.5945,-2.175,
AddVertex,-0.9,1.2087,-2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2,-2.29,
AddVertex,-1.05,2.9,-3.548,
AddVertex,-0.799,1.2087,-2.031,
AddVertex,-0.899,1.2087,-2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.0499,2,-2.299,
AddVertex,-1.0499,2,-2.299,
AddVertex,-1.0497,1.5945,-2.173,
AddVertex,-0.899,1.2087,-2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,-1.05,2.9,-3.28,
AddVertex,-1.038,2.89,-3.28,
AddVertex,-0.799,1.2087,-2.031,
AddVertex,-0.77,1.2087,-2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;left rear

CreateMeshBuilder,
AddVertex,1.05,2,-2.3,
AddVertex,1.05,2.9,-3.558,
AddVertex,0.8,1.2087,-2.032,
AddVertex,0.9,1.2087,-2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,side_infill.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2,-2.3,
AddVertex,1.05,2,-2.3,
AddVertex,1.0498,1.5945,-2.175,
AddVertex,0.9,1.2087,-2.032,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,side_infill2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2,-2.29,
AddVertex,1.05,2.9,-3.548,
AddVertex,0.799,1.2087,-2.031,
AddVertex,0.899,1.2087,-2.031,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.0499,2,-2.299,
AddVertex,1.0499,2,-2.299,
AddVertex,1.0497,1.5945,-2.173,
AddVertex,0.899,1.2087,-2.031,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,1.05,2.9,-3.28,
AddVertex,1.038,2.89,-3.28,
AddVertex,0.799,1.2087,-2.031,
AddVertex,0.77,1.2087,-2.031,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,side_infill_inner.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;hopper v insides

CreateMeshBuilder,
AddVertex,-1.05.0,1.63,0.98,
AddVertex,1.05.0,1.63,0.98,
AddVertex,1.05.0,1.209,0.83,
AddVertex,-1.05,1.209,0.83,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,v_sides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05.0,1.63,0.98,
AddVertex,1.05.0,1.63,0.98,
AddVertex,1.05.0,1.209,1.165,
AddVertex,-1.05,1.209,1.165,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,
GenerateNormals,

LoadTexture,v_sides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05.0,1.63,-0.98,
AddVertex,1.05.0,1.63,-0.98,
AddVertex,1.05.0,1.209,-0.83,
AddVertex,-1.05,1.209,-0.83,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,
GenerateNormals,

LoadTexture,v_sides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05.0,1.63,-0.98,
AddVertex,1.05.0,1.63,-0.98,
AddVertex,1.05.0,1.209,-1.165,
AddVertex,-1.05,1.209,-1.165,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,
GenerateNormals,

LoadTexture,v_sides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Top edges

;front

CreateMeshBuilder,
AddVertex,-1.05,2.9,3.54,
AddVertex,1.05,2.9,3.54,
AddVertex,1.05,2.9,3.6,
AddVertex,-1.05,2.9,3.6,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,
GenerateNormals,

LoadTexture,end_lip2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-1.05,2.9,3.6,
AddVertex,1.05,2.9,3.6,
AddVertex,1.05,2.9,3.65,
AddVertex,-1.05,2.9,3.65,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,
GenerateNormals,

LoadTexture,end_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;back

CreateMeshBuilder,
AddVertex,-1.05,2.9,-3.54,
AddVertex,1.05,2.9,-3.54,
AddVertex,1.05,2.9,-3.6,
AddVertex,-1.05,2.9,-3.6,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end_lip2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-1.05,2.9,-3.6,
AddVertex,1.05,2.9,-3.6,
AddVertex,1.05,2.9,-3.65,
AddVertex,-1.05,2.9,-3.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;left side

CreateMeshBuilder,
AddVertex,-1.05,2.905,-3.65,
AddVertex,-1.05,2.905,3.65,
AddVertex,-1.09,2.905,3.65,
AddVertex,-1.09,2.905,-3.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-1.05,2.9,-3.65,
AddVertex,-1.05,2.905,3.65,
AddVertex,-1.05,2.9,3.65,
AddVertex,-1.05,2.905,-3.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-1.05,2.905,-3.531,
AddVertex,-1.05,2.905,3.531,
AddVertex,-0.99,2.85,3.5231,
AddVertex,-0.99,2.85,-3.5231,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip_inner.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.99,2.85,-3.522,
AddVertex,-0.99,2.85,3.522,
AddVertex,-0.99,2.78,3.522,
AddVertex,-0.99,2.78,-3.522,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip_inner2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;right side

CreateMeshBuilder,
AddVertex,1.05,2.905,-3.65,
AddVertex,1.05,2.905,3.65,
AddVertex,1.09,2.905,3.65,
AddVertex,1.09,2.905,-3.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,1.05,2.9,-3.65,
AddVertex,1.05,2.905,3.65,
AddVertex,1.05,2.9,3.65,
AddVertex,1.05,2.905,-3.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,1.05,2.905,-3.531,
AddVertex,1.05,2.905,3.531,
AddVertex,0.99,2.85,3.531,
AddVertex,0.99,2.85,-3.531,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip_inner.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.99,2.85,-3.522,
AddVertex,0.99,2.85,3.522,
AddVertex,0.99,2.78,3.522,
AddVertex,0.99,2.78,-3.522,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,side_lip_inner2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;coal guides

CreateMeshBuilder,
AddVertex,0,1.2087,3.7,
AddVertex,0,2.9,3.7,
AddVertex,0,2.9,-3.7,
AddVertex,0,1.2087,-3.7,
AddFace2,0,1,2,3,
GenerateNormals,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.025,1.2087,3.7,
AddVertex,0.025,2.9,3.7,
AddVertex,0.025,2.9,-3.7,
AddVertex,0.025,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.025,1.2087,3.7,
AddVertex,-0.025,2.9,3.7,
AddVertex,-0.025,2.9,-3.7,
AddVertex,-0.025,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.02,1.2087,3.7,
AddVertex,0.02,2.9,3.7,
AddVertex,0.02,2.9,-3.7,
AddVertex,0.02,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.02,1.2087,3.7,
AddVertex,-0.02,2.9,3.7,
AddVertex,-0.02,2.9,-3.7,
AddVertex,-0.02,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.015,1.2087,3.7,
AddVertex,0.015,2.9,3.7,
AddVertex,0.015,2.9,-3.7,
AddVertex,0.015,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.015,1.2087,3.7,
AddVertex,-0.015,2.9,3.7,
AddVertex,-0.015,2.9,-3.7,
AddVertex,-0.015,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.01,1.2087,3.7,
AddVertex,0.01,2.9,3.7,
AddVertex,0.01,2.9,-3.7,
AddVertex,0.01,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.01,1.2087,3.7,
AddVertex,-0.01,2.9,3.7,
AddVertex,-0.01,2.9,-3.7,
AddVertex,-0.01,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,
AddVertex,0.005,1.2087,3.7,
AddVertex,0.005,2.9,3.7,
AddVertex,0.005,2.9,-3.7,
AddVertex,0.005,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.005,1.2087,3.7,
AddVertex,-0.005,2.9,3.7,
AddVertex,-0.005,2.9,-3.7,
AddVertex,-0.005,1.2087,-3.7,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_bott_guides.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;End supports

;front hopper face

CreateMeshBuilder,
AddVertex,-0.81,2.9,3.551,
AddVertex,0.81,2.9,3.551,
AddVertex,0.81,1.2087,2.781,
AddVertex,-0.81,1.2087,2.781,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,end1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;back rear hopper face

CreateMeshBuilder,
AddVertex,-0.81,2.9,-3.551,
AddVertex,0.81,2.9,-3.551,
AddVertex,0.81,1.2087,-2.781,
AddVertex,-0.81,1.2087,-2.781,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;sides

CreateMeshBuilder,
AddVertex,-0.41,1.2087,4,
AddVertex,-0.41,2.9,4,
AddVertex,-0.41,2.9,-4,
AddVertex,-0.41,1.2087,-4,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.41,1.2087,4,
AddVertex,0.41,2.9,4,
AddVertex,0.41,2.9,-4,
AddVertex,0.41,1.2087,-4,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end2.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Slope front

CreateMeshBuilder,
AddVertex,-0.81,2.21,3.16,
AddVertex,0.81,2.21,3.16,
AddVertex,0.81,1.2087,3.985,
AddVertex,-0.81,1.2087,3.985,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,end3.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;slope rear

CreateMeshBuilder,
AddVertex,-0.81,2.21,-3.16,
AddVertex,0.81,2.21,-3.16,
AddVertex,0.81,1.2087,-3.985,
AddVertex,-0.81,1.2087,-3.985,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,
LoadTexture,end3.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;Hopper partitions

CreateMeshBuilder,
AddVertex,-1.05,1.63,0.98,
AddVertex,1.05,1.63,0.98,
AddVertex,1.05,2.9,0.98,
AddVertex,-1.05,2.9,0.98,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,partition.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05,1.63,-0.98,
AddVertex,1.05,1.63,-0.98,
AddVertex,1.05,2.9,-0.98,
AddVertex,-1.05,2.9,-0.98,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,partition.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;Internal ribs

CreateMeshBuilder,
AddVertex,-1.05,1.3,0,
AddVertex,1.05,1.3,0,
AddVertex,1.05,2.9,0,
AddVertex,-1.05,2.9,0,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,ribs.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05,1.3,1.75,
AddVertex,1.05,1.3,1.75,
AddVertex,1.05,2.9,1.75,
AddVertex,-1.05,2.9,1.75,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,ribs.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.05,1.3,-1.75,
AddVertex,1.05,1.3,-1.75,
AddVertex,1.05,2.9,-1.75,
AddVertex,-1.05,2.9,-1.75,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,ribs.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,255,

;End supports

;front

CreateMeshBuilder,
AddVertex,-1,1.2087,2.781,
AddVertex,1,1.2087,2.781,
AddVertex,1,1.4,2.87,
AddVertex,-1,1.4,2.87,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,2.782,
AddVertex,1,1.2087,2.782,
AddVertex,1,1.4,2.871,
AddVertex,-1,1.4,2.871,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,2.783,
AddVertex,1,1.2087,2.783,
AddVertex,1,1.4,2.872,
AddVertex,-1,1.4,2.872,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,2.784,
AddVertex,1,1.2087,2.784,
AddVertex,1,1.4,2.873,
AddVertex,-1,1.4,2.873,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,2.785,
AddVertex,1,1.2087,2.785,
AddVertex,1,1.4,2.874,
AddVertex,-1,1.4,2.874,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

;rear

CreateMeshBuilder,
AddVertex,-1,1.2087,-2.781,
AddVertex,1,1.2087,-2.781,
AddVertex,1,1.4,-2.87,
AddVertex,-1,1.4,-2.87,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,-2.782,
AddVertex,1,1.2087,-2.782,
AddVertex,1,1.4,-2.871,
AddVertex,-1,1.4,-2.871,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,-2.783,
AddVertex,1,1.2087,-2.783,
AddVertex,1,1.4,-2.872,
AddVertex,-1,1.4,-2.872,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,-2.784,
AddVertex,1,1.2087,-2.784,
AddVertex,1,1.4,-2.873,
AddVertex,-1,1.4,-2.873,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1,1.2087,-2.785,
AddVertex,1,1.2087,-2.785,
AddVertex,1,1.4,-2.874,
AddVertex,-1,1.4,-2.874,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,support.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.63,
SetTextureCoordinates,3,0,0.63,
SetDecalTransparentColor,0,0,255,

;Hop end in chassis

;front

CreateMeshBuilder,
AddVertex,-0.81,1.2086,2.78,
AddVertex,0.81,1.2086,2.78,
AddVertex,0.71,1,2.68,
AddVertex,-0.71,1,2.68,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_end_under.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;rear

CreateMeshBuilder,
AddVertex,-0.81,1.2086,-2.78,
AddVertex,0.81,1.2086,-2.78,
AddVertex,0.71,1,-2.68,
AddVertex,-0.71,1,-2.68,
AddFace,0,1,2,3, 
AddFace,3,2,1,0,

LoadTexture,hop_end_under.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Door cranks

;front left

CreateMeshBuilder,
AddVertex,-0.39,0.8,3.3,
AddVertex,-0.39,0.8,2.4,
AddVertex,-0.39,1.4,2.4,
AddVertex,-0.39,1.4,3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_outer.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;front right

CreateMeshBuilder,
AddVertex,0.39,0.8,3.3,
AddVertex,0.39,0.8,2.4,
AddVertex,0.39,1.4,2.4,
AddVertex,0.39,1.4,3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_outer.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;rear right

CreateMeshBuilder,
AddVertex,0.39,0.8,-3.3,
AddVertex,0.39,0.8,-2.4,
AddVertex,0.39,1.4,-2.4,
AddVertex,0.39,1.4,-3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_outer.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,


;rear left

CreateMeshBuilder,
AddVertex,-0.39,0.8,-3.3,
AddVertex,-0.39,0.8,-2.4,
AddVertex,-0.39,1.4,-2.4,
AddVertex,-0.39,1.4,-3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_outer.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;rod

;front

CreateMeshBuilder,
AddVertex,-1.05,1.214,3.01,
AddVertex,-1.05,1.239,3.01,
AddVertex,1.05,1.239,3.01,
AddVertex,1.05,1.214,3.01,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

CreateMeshBuilder,
AddVertex,-1.05,1.226,3.03,
AddVertex,-1.05,1.226,2.99,
AddVertex,1.05,1.226,2.99,
AddVertex,1.05,1.226,3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

;rear

CreateMeshBuilder,
AddVertex,-1.05,1.214,-3.01,
AddVertex,-1.05,1.239,-3.01,
AddVertex,1.05,1.239,-3.01,
AddVertex,1.05,1.214,-3.01,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

CreateMeshBuilder,
AddVertex,-1.05,1.226,-3.03,
AddVertex,-1.05,1.226,-2.99,
AddVertex,1.05,1.226,-2.99,
AddVertex,1.05,1.226,-3.03,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

;front centre

CreateMeshBuilder,
AddVertex,-1.05,1.214,0.92,
AddVertex,-1.05,1.239,0.92,
AddVertex,1.05,1.239,0.92,
AddVertex,1.05,1.214,0.92,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

CreateMeshBuilder,
AddVertex,-1.05,1.226,0.94,
AddVertex,-1.05,1.226,0.9,
AddVertex,1.05,1.226,0.9,
AddVertex,1.05,1.226,0.94,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

;rear centre

CreateMeshBuilder,
AddVertex,-1.05,1.214,-0.92,
AddVertex,-1.05,1.239,-0.92,
AddVertex,1.05,1.239,-0.92,
AddVertex,1.05,1.214,-0.92,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

CreateMeshBuilder,
AddVertex,-1.05,1.226,-0.94,
AddVertex,-1.05,1.226,-0.9,
AddVertex,1.05,1.226,-0.9,
AddVertex,1.05,1.226,-0.94,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,rod.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,

;Centre door cranks

;front left

CreateMeshBuilder,
AddVertex,-0.39,0.8,1.45,
AddVertex,-0.39,0.8,0.67,
AddVertex,-0.39,1.4,0.67,
AddVertex,-0.39,1.4,1.45,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_centre.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;front right

CreateMeshBuilder,
AddVertex,0.39,0.8,1.45,
AddVertex,0.39,0.8,0.67,
AddVertex,0.39,1.4,0.67,
AddVertex,0.39,1.4,1.45,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_centre.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;rear right

CreateMeshBuilder,
AddVertex,-0.39,0.8,-1.45,
AddVertex,-0.39,0.8,-0.67,
AddVertex,-0.39,1.4,-0.67,
AddVertex,-0.39,1.4,-1.45,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_centre.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;rear left

CreateMeshBuilder,
AddVertex,0.39,0.8,-1.45,
AddVertex,0.39,0.8,-0.67,
AddVertex,0.39,1.4,-0.67,
AddVertex,0.39,1.4,-1.45,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,door_crank_centre.png,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.9,
SetTextureCoordinates,3,0,0.9,
SetDecalTransparentColor,0,0,255,

;rod mountings

;front left

CreateMeshBuilder,
AddVertex,-0.98,1,4,
AddVertex,-0.98,1.4,4,
AddVertex,-0.98,1.4,-4,
AddVertex,-0.98,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,rod_mount_no_nuts3.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;centre left side

CreateMeshBuilder,
AddVertex,-0.295,1,4,
AddVertex,-0.295,1.4,4,
AddVertex,-0.295,1.4,-4,
AddVertex,-0.295,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,rod_mount_no_nuts.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;righthand side

CreateMeshBuilder,
AddVertex,0.98,1,4,
AddVertex,0.98,1.4,4,
AddVertex,0.98,1.4,-4,
AddVertex,0.98,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,rod_mount_no_nuts2.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;centre right side

CreateMeshBuilder,
AddVertex,0.295,1,4,
AddVertex,0.295,1.4,4,
AddVertex,0.295,1.4,-4,
AddVertex,0.295,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,rod_mount_no_nuts.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Tip levers

;left side

CreateMeshBuilder,
AddVertex,-1.05,1,4,
AddVertex,-1.05,1.4,4,
AddVertex,-1.05,1.4,-4,
AddVertex,-1.05,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.0499,1,4,
AddVertex,-1.0499,1.4,4,
AddVertex,-1.0499,1.4,-4,
AddVertex,-1.0499,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_back.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;right side

CreateMeshBuilder,
AddVertex,1.05,1,-4,
AddVertex,1.05,1.4,-4,
AddVertex,1.05,1.4,4,
AddVertex,1.05,1,4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.0499,1,-4,
AddVertex,1.0499,1.4,-4,
AddVertex,1.0499,1.4,4,
AddVertex,1.0499,1,4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_back.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Tip lever covers

;left side

CreateMeshBuilder,
AddVertex,-1.0501,1,4,
AddVertex,-1.0501,1.4,4,
AddVertex,-1.0501,1.4,-4,
AddVertex,-1.0501,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_cover.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-1.0498,1,4,
AddVertex,-1.0498,1.4,4,
AddVertex,-1.0498,1.4,-4,
AddVertex,-1.0498,1,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_cover_rear.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;right side

CreateMeshBuilder,
AddVertex,1.0501,1,-4,
AddVertex,1.0501,1.4,-4,
AddVertex,1.0501,1.4,4,
AddVertex,1.0501,1,4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_cover.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,1.0498,1,-4,
AddVertex,1.0498,1.4,-4,
AddVertex,1.0498,1.4,4,
AddVertex,1.0498,1,4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,handle_cover_rear.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Axle

CreateMeshBuilder,
AddVertex,0.7,0.35,2.738,
AddVertex,0.7,0.56,2.738,
AddVertex,-0.7,0.56,2.738,
AddVertex,-0.7,0.35,2.738,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,axle.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.7,0.35,-2.738,
AddVertex,0.7,0.56,-2.738,
AddVertex,-0.7,0.56,-2.738,
AddVertex,-0.7,0.35,-2.738,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,axle.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

;Chassis infill

;front

CreateMeshBuilder,
AddVertex,-0.8,0.32,2.9,
AddVertex,-0.8,1.2,2.9,
AddVertex,-0.7,1.2,2.9,
AddVertex,-0.7,0.32,2.9,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0


CreateMeshBuilder,
AddVertex,-0.8,0.32,2.55,
AddVertex,-0.8,1.2,2.55,
AddVertex,-0.7,1.2,2.55,
AddVertex,-0.7,0.32,2.55,
AddFace,0,1,2,3,
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,0.8,0.32,2.9,
AddVertex,0.8,1.2,2.9,
AddVertex,0.7,1.2,2.9,
AddVertex,0.7,0.32,2.9,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,0.8,0.32,2.55,
AddVertex,0.8,1.2,2.55,
AddVertex,0.7,1.2,2.55,
AddVertex,0.7,0.32,2.55,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

;back

CreateMeshBuilder,
AddVertex,-0.8,0.32,-2.9,
AddVertex,-0.8,1.2,-2.9,
AddVertex,-0.7,1.2,-2.9,
AddVertex,-0.7,0.32,-2.9,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,-0.8,0.32,-2.55,
AddVertex,-0.8,1.2,-2.55,
AddVertex,-0.7,1.2,-2.55,
AddVertex,-0.7,0.32,-2.55,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,0.8,0.32,-2.9,
AddVertex,0.8,1.2,-2.9,
AddVertex,0.7,1.2,-2.9,
AddVertex,0.7,0.32,-2.9,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

CreateMeshBuilder,
AddVertex,0.8,0.32,-2.55,
AddVertex,0.8,1.2,-2.55,
AddVertex,0.7,1.2,-2.55,
AddVertex,0.7,0.32,-2.55,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,0,0,0

;bufferbeams

;front

CreateMeshBuilder,
AddVertex,-0.95,1.209,4,
AddVertex,-0.95,0.815,4,
AddVertex,0.95,0.815,4,
AddVertex,0.95,1.209,4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,bufferbeam.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;rear

CreateMeshBuilder,
AddVertex,0.95,1.209,-4,
AddVertex,0.95,0.815,-4,
AddVertex,-0.95,0.815,-4,
AddVertex,-0.95,1.209,-4,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,bufferbeam.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;Bit on hopper I forgot

;front

CreateMeshBuilder,
AddVertex,0.41,2.375,3.3,
AddVertex,0.41,2.325,3.41,
AddVertex,-0.41,2.325,3.41,
AddVertex,-0.41,2.375,3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end5.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,0.41,2.325,3.41,
AddVertex,0.41,2.326,3.41,
AddVertex,-0.41,2.326,3.41,
AddVertex,-0.41,2.325,3.41,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end5.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;rear

CreateMeshBuilder,
AddVertex,0.41,2.375,-3.3,
AddVertex,0.41,2.325,-3.41,
AddVertex,-0.41,2.325,-3.41,
AddVertex,-0.41,2.375,-3.3,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end5.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,
AddVertex,0.41,2.325,-3.41,
AddVertex,0.41,2.326,-3.41,
AddVertex,-0.41,2.326,-3.41,
AddVertex,-0.41,2.325,-3.41,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end5.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,

;End OHL

;front

CreateMeshBuilder,
AddVertex,0.07,2.325,3.4101,
AddVertex,0.07,2.495,3.4101,
AddVertex,-0.07,2.495,3.4101,
AddVertex,-0.07,2.325,3.4101,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end_ohl.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Couplings etc

CreateMeshBuilder,
AddVertex,0.07,2.325,-3.4101,
AddVertex,0.07,2.495,-3.4101,
AddVertex,-0.07,2.495,-3.4101,
AddVertex,-0.07,2.325,-3.4101,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,end_ohl.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;Coupling Hook

CreateMeshBuilder,
AddVertex,0,1.16,4.7, 
AddVertex,0,1.16,5.3,
AddVertex,0,0.9,5.3, 
AddVertex,0,0.9,4.7, 
AddFace,0,1,2,3, 
AddFace,3,2,1,0, 
GenerateNormals, 

LoadTexture,coupling_hook58.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 0.63,
SetTextureCoordinates,3, 0, 0.63,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.14,1.05,3.84, 
AddVertex,0.18,1.05,3.84,
AddVertex,0.18,1.05,5, 
AddVertex,-0.14,1.05,5, 
AddFace,0,1,2,3, 
AddFace,3,2,1,0, 
GenerateNormals, 

LoadTexture,screw.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0.02,0.75,4.48, 
AddVertex,0.02,1.05,4.48,
AddVertex,0.02,1.05,4.54, 
AddVertex,0.02,0.75,4.54, 
AddFace,0,1,2,3, 
AddFace,3,2,1,0, 
GenerateNormals, 

LoadTexture,screw2.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.4,0.2,3.8, 
AddVertex,-0.4,1.035,3.8,
AddVertex,0.33,1.035,4.95, 
AddVertex,0.33,0.2,4.95, 
AddFace2,0,1,2,3, 
GenerateNormals, 

LoadTexture,airpipes.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,0,1.12,4.3, 
AddVertex,0,1.12,3.75,
AddVertex,0,0.86,3.75, 
AddVertex,0,0.86,4.3, 
AddFace,0,1,2,3, 
AddFace,3,2,1,0, 
GenerateNormals, 

LoadTexture,coupling_hook.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 0.63,
SetTextureCoordinates,3, 0, 0.63,
SetDecalTransparentColor,0,0,255,

;Buffers

CreateMeshBuilder,
AddVertex,-0.95,1.209,4.355,
AddVertex,-0.95,0.815,4.355,
AddVertex,0.95,0.815,4.355,
AddVertex,0.95,1.209,4.355,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,buffers.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,
AddVertex,-0.95,1.209,-4.355,
AddVertex,-0.95,0.815,-4.355,
AddVertex,0.95,0.815,-4.355,
AddVertex,0.95,1.209,-4.355,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,buffers.png,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.15,
SetTextureCoordinates,2,0,0.15,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;left

CreateMeshBuilder,
Cylinder, 30,0.045,0.045,0.375,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, -0.74,0.975,4.16,
SetColor, 128,128,128

CreateMeshBuilder,
Cylinder, 30,0.08,0.08,0.363,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, -0.74,0.975,4,
SetColor, 30,30,30,

;right

CreateMeshBuilder,
Cylinder, 30,0.045,0.045,0.375,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, 0.74,0.975,4.16,
SetColor, 128,128,128

CreateMeshBuilder,
Cylinder, 30,0.08,0.08,0.363,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, 0.74,0.975,4,
SetColor, 30,30,30,

;back

CreateMeshBuilder,
Cylinder, 30,0.045,0.045,0.375,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, -0.74,0.975,4.16,
SetColor, 128,128,128
Rotate, 0,180,0,180,

CreateMeshBuilder,
Cylinder, 30,0.08,0.08,0.363,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, -0.74,0.975,4,
SetColor, 30,30,30,
Rotate, 0,180,0,180,

;right

CreateMeshBuilder,
Cylinder, 30,0.045,0.045,0.375,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, 0.74,0.975,4.16,
SetColor, 128,128,128
Rotate, 0,180,0,180,

CreateMeshBuilder,
Cylinder, 30,0.08,0.08,0.363,
Rotate, 1,0,0,90,
Rotate, 0,0,1,-15,
Translate, 0.74,0.975,4,
SetColor, 30,30,30,
Rotate, 0,180,0,180,

;Load

CreateMeshBuilder,
AddVertex,-1,2.77,3.49,
AddVertex,1,2.77,3.49,
AddVertex,1,2.77,-3.49,
AddVertex,-1,2.77,-3.49,
AddFace,0,1,2,3,
AddFace,3,2,1,0,

LoadTexture,coal2.png,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,

ScaleAll,1.1,1.075,1















































