ifcpatch.recipes.AGS2IFC¶
Module Contents¶
- class ifcpatch.recipes.AGS2IFC.Patcher(file, logger, ags_file: str, docs_dir: str = '.')¶
Converts AGS to IFC
This is for AGS version 3.
The input file is not read. A new IFC4X3 model is built from the AGS data, containing one IfcBorehole per location with its strata nested inside as IfcGeotechnicalStratum.
- Parameters:
ags_file – The AGS file to convert.
docs_dir – The directory URI where documents are stored
- Filter_glob ags_file:
*.ags
Example:
result = ifcpatch.execute({"file": model, "recipe": "AGS2IFC", "arguments": ["data.ags", "docs"]}) ifcpatch.write(result, "boreholes.ifc")
- patch()¶
- ags_file¶
- docs_dir = '.'¶
- file¶
- logger¶