Skip to main content

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

ParameterTypeDescription
depsIfcSplitterDeps-
inputPathstringAbsolute or relative path to the source IFC file.
numGroupsnumberNumber of output files to produce (max 32).
outputDir?stringDirectory for output files. Defaults to output/ next to the input file.

Returns

void