PropertiesStreamingSettings
Settings for streaming properties. 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
optionalCategories
optionalCategories:
number
[]
Generate the geometry for categories that are not included by default, like IFCSPACE.
Inherited from
IfcFragmentSettings
. optionalCategories
propertiesSize
propertiesSize:
number
=100
Amount of properties to be streamed. Defaults to 100 properties.
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
webIfc
webIfc:
LoaderSettings
Loader settings for web-ifc.