function newLayer( line ) {

			currentLayer = { vertex: [], pathVertex: [], z: line.z };
			layers.push( currentLayer );

		}
Parses the given GCode data and returns a group with lines.

@param {string} data - The raw Gcode data as a string.
@return {Group} The parsed GCode asset.