split()
split(
deps,inputPath,numGroups,outputDir?):void
Split an IFC file into N roughly equal groups of building elements.
Each output file is a valid IFC containing its share of elements plus all shared infrastructure (spatial structure, geometry, materials, properties). Coupled elements (wall + opening + door, roof + slabs) are kept together.
Parameters
| Parameter | Type | Description |
|---|---|---|
deps | IfcSplitterDeps | - |
inputPath | string | Absolute or relative path to the source IFC file. |
numGroups | number | Number of output files to produce (max 32). |
outputDir? | string | Directory for output files. Defaults to output/ next to the input file. |
Returns
void