Creates a new ifc entity
Model handle retrieved by OpenModel
Type code
Rest
...args: any[]Arguments required by the entity
An object contining the parameters of the new entity
Creates a new model and returns a modelID number
Optional
settings: LoaderSettingsModelID
Returns all crossSections in 2D contained in IFCSECTIONEDSOLID, IFCSECTIONEDSURFACE, IFCSECTIONEDSOLIDHORIZONTAL (IFC4x3 or superior)
model ID
Lists with the cross sections curves as sets of points
Returns all crossSections in 3D contained in IFCSECTIONEDSOLID, IFCSECTIONEDSURFACE, IFCSECTIONEDSOLIDHORIZONTAL (IFC4x3 or superior)
model ID
Lists with the cross sections curves as sets of points
Retrieves the geometry of an element
Model handle retrieved by OpenModel
express ID of the element
Geometry of the element as a list of vertices and indices
Gets the header information required by the user
Model handle retrieved by OpenModel
Type of header data you want to retrieve ifc.FILE_NAME, ifc.FILE_DESCRIPTION or ifc.FILE_SCHEMA
An object with parameters ID, type and arguments
Gets the ifc line data for a given express ID
Model handle retrieved by OpenModel
express ID of the line
recursively flatten the line, default false
get the inverse properties of the line, default false
filters out all other properties from a inverse search, for a increase in performance. Default null
lineObject
Initializes the WASM module (WebIFCWasm), required before using any other functionality.
Optional
customLocateFileHandler: LocateFileHandlerFnAn optional locateFile function that let's you override the path from which the wasm module is loaded.
Opens a model and returns a modelID number
Buffer containing IFC data (bytes)
Optional
settings: LoaderSettingsSettings for loading the model
ModelID or -1 if model fails to open
Opens a model and returns a modelID number
a function of signature (offset:number, size: number) => Uint8Array that will retrieve the IFC data
Optional
settings: LoaderSettingsSettings for loading the model
ModelID or -1 if model fails to open
Opens a set of models and returns model IDs
Array of Buffers containing IFC data (bytes)
Optional
settings: LoaderSettingsSettings for loading the model
Array of model IDs
Saves a model to a Buffer
Model ID
Buffer containing the model data
Sets the log level
Log level to set
Streams meshes of a model with specific express id
Model handle retrieved by OpenModel *
expressIDs of elements to stream
callback function that is called for each mesh
Writes a set of line to the model, can be used to write new lines or to update existing lines
Model handle retrieved by OpenModel
line object to write
Writes a line to the model, can be used to write new lines or to update existing lines
Model handle retrieved by OpenModel
Contains all the logic and methods regarding properties, psets, qsets, etc.