#declare Roof = object {
	union{
	#declare RoofCount=0;
	#while (RoofCount <=5)
	object {Cube
		scale <8.5,37.5,1.5>
		rotate <75,0,0>
		translate<RoofCount*18-45,75,0>
		}
	#declare RoofCount = RoofCount +1;
	#end
	}
}
#declare Beam = object {
	Cube
	scale <2,32.5,2>
}

#declare Hut = object {
union{
	#declare WallCount=0;
	#while (WallCount <5)
	object {Cube
		scale <7,37.5,1>
		translate <WallCount*18-37.5,25,25>
		}
	object {Cube
		scale <4.5,WallCount*2+37.5,1>
		rotate<0,90,0>
		translate <-45,WallCount*2+30,WallCount*12-15>
		}
	object {Cube
		scale <4.5,WallCount*2+37.5,1>
		rotate <0,90,0>
		translate <45,WallCount*2+30,WallCount*12-15>
		}
	#declare WallCount = WallCount +1;
	#end

	object {Beam
		rotate<90,0,0>
		translate<45,0,7.5>
		}
	object {Beam
		rotate<90,0,0>
		translate<-45,0,7.5>
		}
	object {Beam
		rotate<90,0,0>
		translate<45,60,7.5>
		}
	object {Beam
		rotate<90,0,0>
		translate<-45,60,7.5>
		}
	object {Cube
		scale<3,30,3>
		translate<-45,-20,-9>
		}
	object {Cube
		scale<3,30,3>
		translate<45,-20,-9>
		}
	object {Cube
		scale<3,90,3>
		translate<42.5,0,32.5>
		}
	object {Cube
		scale<3,90,3>
		translate<-42.5,0,32.5>
		}
	object {Roof}
}
texture {T_Wood13}
}
