async exportIfcFileAsGltf(config) {
            const { ifcFileUrl, getProperties, categories, splitByFloors, maxJSONSize, onProgress, coordinationMatrix } = config;
            const { loader, manager } = await this.setupIfcLoader(coordinationMatrix);
            const model = await loader.loadAsync(ifcFileUrl, (event) => {
                if (onProgress)
                    onProgress(event.loaded, event.total, 'IFC');
            });
            const result = {
                gltf: {},
                json: [],
                id: '',
                coordinationMatrix: []
            };
            const projects = await manager.getAllItemsOfType(model.modelID, IFCPROJECT, true);
            if (!projects.length)
                throw new Error('No IfcProject instances were found in the IFC.');
            const GUID = projects[0].GlobalId;
            if (!GUID)
                throw new Error('The found IfcProject does not have a GUID');
            result.id = GUID.value;
            result.coordinationMatrix = await manager.ifcAPI.GetCoordinationMatrix(0);
            let allIdsByFloor = {};
            let floorNames = [];
            if (splitByFloors) {
                allIdsByFloor = await this.getIDsByFloor(loader);
                floorNames = Object.keys(allIdsByFloor);
            }
            await this.getModels(categories, result, manager, splitByFloors, floorNames, allIdsByFloor, model, onProgress);
            if (getProperties) {
                await this.getProperties(model, maxJSONSize, onProgress, result);
            }
            await loader.ifcManager.dispose();
            this.tempIfcLoader = null;
            return result;
        }
Exports the specified IFC file (or file subset) as glTF.
@fileURL The URL of the IFC file to convert to glTF
@ids (optional) The ids of the items to export. If not defined, the full model is exported