parse( text, onLoad, onError ) {

		this.partsCache
			.parseModel( text )
			.then( group => {

				this.applyMaterialsToMesh( group, MAIN_COLOUR_CODE, this.materialLibrary, true );
				this.computeBuildingSteps( group );
				group.userData.fileName = '';
				onLoad( group );

			} )
			.catch( onError );

	}
Parses the given LDraw data and returns the resulting group.

@param {string} text - The raw VRML data as a string.
@param {function(Group)} onLoad - Executed when the loading/parsing process has been finished.
@param {onErrorCallback} onError - Executed when errors occur.