|
| 1 | +# IfcPatch |
| 2 | + |
| 3 | +Utility for applying modification recipes to IFC files. IfcPatch enables programmatic editing and correction of IFC models through a collection of patches that can fix common issues, migrate data, or transform models. |
| 4 | + |
| 5 | +## Available Recipes |
| 6 | + |
| 7 | +### Alignment and Linear Placement |
| 8 | +- **AddGeometricRepresentationToAlignment** - Add geometric representations to alignment elements |
| 9 | +- **AddLinearPlacementFallbackPosition** - Add fallback positions for linear placements |
| 10 | +- **AddZeroLengthSegmentToAlignment** - Add zero-length segments to alignments |
| 11 | +- **PatchStationReferentPosition** - Patch station referent positions |
| 12 | + |
| 13 | +### Data Conversion and Migration |
| 14 | +- **AGS2IFC** - Convert AGS (geotechnical) data to IFC |
| 15 | +- **ConvertLengthUnit** - Convert between length units |
| 16 | +- **ConvertNestToAggregate** - Convert nesting relationships to aggregations |
| 17 | +- **ConvertPropertiesToQuantities** - Convert properties to quantities |
| 18 | +- **Migrate** - Migrate between IFC schema versions |
| 19 | + |
| 20 | +### Element Extraction and Manipulation |
| 21 | +- **ExtractElements** - Extract specific elements into a new model |
| 22 | +- **ExtractPropertiesToSQLite** - Export properties to SQLite database |
| 23 | +- **Ifc2Sql** - Convert IFC to SQL database |
| 24 | +- **TessellateElements** - Tessellate elements into triangulated geometry |
| 25 | + |
| 26 | +### Fixing Software-Specific Issues |
| 27 | +- **FixArchiCADToRevitDoorSwings** - Fix door swing orientation from ArchiCAD for Revit |
| 28 | +- **FixArchiCADToRevitSpaces** - Fix space data from ArchiCAD for Revit |
| 29 | +- **FixRevit2025TINs** - Fix TIN (Triangulated Irregular Network) issues from Revit 2025 |
| 30 | +- **FixRevitClassificationCodeTypes** - Fix classification code data types from Revit |
| 31 | +- **FixRevitTINs** - Fix TIN issues from Revit |
| 32 | + |
| 33 | +### Geometry and Representation |
| 34 | +- **AssignConstituentFractions** - Assign fractions to material constituents |
| 35 | +- **DowngradeIndexedPolyCurve** - Convert indexed poly curves to simpler representations |
| 36 | +- **RemoveSiteRepresentation** - Remove geometric representation from site elements |
| 37 | + |
| 38 | +### Merging and Optimization |
| 39 | +- **MergeDuplicateTypes** - Merge duplicate element types |
| 40 | +- **MergeProjects** - Merge multiple IFC projects |
| 41 | +- **MergeStyles** - Merge duplicate styles |
| 42 | +- **Optimise** - Optimize file size and structure |
| 43 | +- **PurgeData** - Remove unused data from model |
| 44 | + |
| 45 | +### Spatial and Coordinate Systems |
| 46 | +- **OffsetObjectPlacements** - Offset object placement coordinates |
| 47 | +- **OffsetStoreyElevations** - Offset storey elevations |
| 48 | +- **ResetAbsoluteCoordinates** - Reset absolute coordinates to origin |
| 49 | +- **ResetSpatialElementLocations** - Reset spatial element locations |
| 50 | +- **SetFalseOrigin** - Set a false origin for coordinates |
| 51 | +- **SetRefElevation** - Set reference elevation |
| 52 | +- **SetWorldCoordinateSystem** - Set world coordinate system |
| 53 | +- **SplitByBuildingStorey** - Split model by building storeys |
| 54 | + |
| 55 | +### Utilities |
| 56 | +- **RecycleNonRootedElements** - Remove or recycle non-rooted elements |
| 57 | +- **RegenerateGlobalIds** - Regenerate GlobalId values for elements |
| 58 | +- **RemoveRevitUniformatClassification** - Remove Revit Uniformat classification |
| 59 | +- **UnsharePsets** - Unshare property sets between elements |
0 commit comments