ifc_patch
Apply predefined IFC recipes to reset coordinates, offset object placements, set world coordinate systems, convert length units, or optimize models.
Instructions
Run an ifcpatch recipe over the whole model.
Recipes: ResetAbsoluteCoordinates, OffsetObjectPlacements, SetWorldCoordinateSystem, ConvertLengthUnit, Optimise.
args is an object keyed by the recipe's own parameter names; a wrong name
is answered with the list the recipe accepts and their defaults.
ConvertLengthUnit and Optimise rebuild the model into a new file object. Standalone they need allow_file_replacement=true; in blender mode they are refused, because Blender's objects would still point into the discarded file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| recipe | Yes | ||
| allow_file_replacement | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||