IFC4X3/IFC2X3 pset templates library

Generated from xmls from the ISO release of IFC4X3.
Based on https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/annex/annex-a/general-usage/IFC4_ADD2.ifc

Also generated pset templates library for IFC2X3 (also based on similar xmls) but IFC2X3 ifc pset library is using... IFC4X3 schema because IfcPropertySetTemplate and IfcRelDeclares are not available in IFC2X3. Which is okay for our purposes for now.

Will need to update IFC4X3 library if one of the issues will be resolved:
https://github.com/buildingSMART/IFC4.3.x-development/issues/587
https://github.com/buildingSMART/IFC4.3.x-development/issues/586
This commit is contained in:
Andrej730
2023-02-21 11:50:09 +05:00
parent 2fe2c349fd
commit 708dc6aca2
8 changed files with 8696 additions and 11 deletions
@@ -197,7 +197,7 @@ class DocExtractor:
raise Exception(
f'Docs for IFC 2.3.0.1 expected to be in folder "{IFC2x3_DOCS_LOCATION.resolve()}\\"\n'
"For doc extraction please either setup docs as described above \n"
"or change IFC2x3_DOCS_LOCATION in doc.py accordingly. \n"
"or change IFC2x3_DOCS_LOCATION in the script accordingly.\n"
"You can download docs from the repository: \n"
"https://github.com/buildingSMART/IFC/tree/Ifc2.3.0.1"
)
@@ -506,7 +506,7 @@ class DocExtractor:
raise Exception(
f'Docs for Ifc4.0.2.1 expected to be in folder "{IFC4_DOCS_LOCATION.resolve()}\\"\n'
"For doc extraction please either setup docs as described above \n"
"or change IFC4_DOCS_LOCATION in doc.py accordingly."
"or change IFC4_DOCS_LOCATION in the script accordingly.\n"
"You can download docs from the repository: \n"
"https://github.com/buildingSMART/IFC/tree/Ifc4.0.2.1"
)
@@ -845,7 +845,7 @@ class DocExtractor:
raise Exception(
f'Specs development repository for Ifc4.3.0.1 expected to be in folder "{IFC4x3_DEV_LOCATION.resolve()}\\"\n'
"For doc extraction please either setup docs as described above \n"
"or change IFC4x3_DEV_LOCATION in doc.py accordingly."
"or change IFC4x3_DEV_LOCATION in the script accordingly.\n"
"You can download docs from the repository: \n"
"https://github.com/buildingSMART/IFC4.3.x-development"
)
@@ -853,7 +853,7 @@ class DocExtractor:
raise Exception(
f'Formal release for Ifc4.3.0.1 expected to be in folder "{IFC4x3_HTML_LOCATION.resolve()}\\"\n'
"For doc extraction please either setup docs as described above \n"
"or change IFC4x3_HTML_LOCATION in doc.py accordingly."
"or change IFC4x3_HTML_LOCATION in the script accordingly.\n"
"You can download docs from the repository: \n"
"https://github.com/buildingsmart/ifc4.3-html"
)
@@ -932,7 +932,7 @@ class DocExtractor:
description = self.clean_description(parsed_predefined_types_data[v])
predefined_types[v] = description
continue
# attributes
if attr_name not in parsed_attributes_data:
print(