ifcpatch.recipes.OffsetStoreyElevations

Module Contents

class ifcpatch.recipes.OffsetStoreyElevations.Patcher(src, file, logger, z=None)

Offset building storeys by a particular Z value

All objects placed relative to the storeys will also be shifted.

Parameters:

z (float) – The Z value in project length units to offset storeys by.

Example:

# Shift all storeys up by 42 units
ifcpatch.execute({"input": "input.ifc", "file": model, "recipe": "OffsetStoreyElevations", "arguments": [42]})
find_decomposed_ifc_class(element, ifc_class)
patch()