Takes a 2D shape and generates the sides of an extruded mesh.