IfcPatch applies a selected recipe to an IFC file and writes a transformed output. Treat the recipe name, arguments, selected elements, and tool version as part of the recovery record.
Preserve the input and record the transformation
Keep the original IFC and write the patched result to a new file. The IfcPatch command-line interface documents separate input, output, recipe, optional log, and recipe-argument options. Record each value and retain the execution log; a patched file is a transformation, not a neutral copy.
Before using a recipe, read its documentation and identify what it changes. Compare the output with the source for geometry, relationships, properties, GlobalIds, and the operation that originally failed. IfcPatch documentation describes the general command-line and Python workflows; effects remain recipe-specific.
Use TessellateElements only for a scoped representation problem
The TessellateElements recipe can convert selected element body representations to tessellations or faceted BReps as a workaround for receiver problems with complex representations such as CSG. Record the exact query that selects elements and the force-faceted-BRep option, if used.
The recipe explicitly does not preserve styles or shape aspects. It may also change geometric detail through tessellation. Use it only when the receiving task can accept those representation changes; otherwise keep the original representation and choose another recovery route. See the TessellateElements reference.
Compare and accept the output for its purpose
Re-open the patched IFC with the intended receiver. Compare required elements, geometry, properties, relationships, styles, shape aspects, and downstream operations. If applicable, use IfcDiff before and after recovery as one selected comparison surface, then inspect any differences it does not cover.
A successful recipe run only records that the transformation executed. It does not establish source equivalence or task acceptance.
Key points
- Keep the original input and use a distinct output path.
- Record the recipe, arguments, query, version, and log.
- Disclose TessellateElements’ loss of styles and shape aspects.
- Compare the transformed model and downstream behavior before accepting it.