ifcpatch.recipes.SplitByBuildingStorey
¶
Module Contents¶
- class ifcpatch.recipes.SplitByBuildingStorey.Patcher(src, file, logger, output_dir=None)¶
Split an IFC model into multiple models based on building storey
The new IFC model names will be named after the storey name in the format of {i}-{name}.ifc, where {i} is an ascending number starting from 0 and {name} is the name of the storey.
- Parameters:
output_dir (str) – Specifies an output directory where the new IFC models will be saved.
Example:
ifcpatch.execute({"input": "input.ifc", "file": model, "recipe": "SplitByBuildingStorey", "arguments": ["C:/.../output_files"]})
- is_in_storey(element, storey)¶
- patch()¶
- file¶
- logger¶
- output_dir¶
- src¶