Skip to main content

IfcStreamingSettings

Settings for streaming IFC geometry and assets. Extends IfcFragmentSettings to inherit common settings.

Extends

Properties

autoSetWasm

autoSetWasm: boolean = true

Whether to automatically set the path to the WASM file for web-ifc. If set to true, the path will be set to the default path of the WASM file. If set to false, the path must be provided manually in the wasm.path property. Default value is true.

Inherited from

IfcFragmentSettings . autoSetWasm


coordinate

coordinate: boolean = true

Whether to use the coordination data coming from the IFC files.

Inherited from

IfcFragmentSettings . coordinate


customLocateFileHandler

customLocateFileHandler: null | LocateFileHandlerFn = null

Custom function to handle the file location for web-ifc. This function will be called when web-ifc needs to locate a file. If set to null, the default file location handler will be used.

Param

The URL of the file to locate.

Inherited from

IfcFragmentSettings . customLocateFileHandler


excludedCategories

excludedCategories: Set<number>

List of categories that won't be converted to fragments.

Inherited from

IfcFragmentSettings . excludedCategories


includeProperties

includeProperties: boolean = true

Whether to extract the IFC properties into a JSON.

Inherited from

IfcFragmentSettings . includeProperties


includedCategories

includedCategories: Set<number>

Exclusive list of categories that will be converted to fragments. If this contains any category, any other categories will be ignored.

Inherited from

IfcFragmentSettings . includedCategories


maxTriangles

maxTriangles: null | number = null

Maximum amount of triangles per fragment. Useful for controlling the maximum size of fragment files.


minAssetsSize

minAssetsSize: number = 1000

Minimum amount of assets to be streamed. Defaults to 1000 assets.


minGeometrySize

minGeometrySize: number = 10

Minimum number of geometries to be streamed. Defaults to 10 geometries.


optionalCategories

optionalCategories: number[]

Generate the geometry for categories that are not included by default, like IFCSPACE.

Inherited from

IfcFragmentSettings . optionalCategories


saveLocations

saveLocations: boolean = false

Whether to save the absolute location of all IFC items.

Inherited from

IfcFragmentSettings . saveLocations


wasm

wasm: object

Path of the WASM for web-ifc.

absolute

absolute: boolean

logLevel?

optional logLevel: LogLevel

path

path: string

Inherited from

IfcFragmentSettings . wasm


webIfc

webIfc: LoaderSettings

Loader settings for web-ifc.

Inherited from

IfcFragmentSettings . webIfc