Skip to content

Convert an IfcJSON to an IFC

Feature Group(s): Convert | IfcOpenshell / IfcJSON

Submit the processing request

#
#   Convert an IFCJSON to IFC
#
class ConvertIfcJsonToIfc_Instruction(BaseModel):
    sourceFileURL: str | None = "http://localhost:8002/IFCJSON/cd5af173-e5a0-4ded-b005-d76660e80dc7_OUT.json"

class ConvertIfcJsonToIfc_Result(BaseModel):
    resultPath: str # relative path of the result file (ifc)
    runtime: float | None = 0.0 # in seconds

Create the IFC with JSON2IFC

The conversion is carried on in Celery with JSON2IFC module

Issues

Note

There is an 'unknown issues' with LARGE_MODEL_20210219Architecture.ifc. After an hour it was still busy. The issue is probably linked to the issue we had with NO_INVERSE = False in IFC2JSON.

View with BIMcollab of Duplex_A_20110907_optimized.ifc after filtering

Bimcollab display of Duplex_A_20110907_optimized.ifc after filtering

We can see that the furnitures have been removed by the filtering.

Bimcollab display of Level 1 of Duplex_A_20110907_optimized.ifc after filtering

We can also observe an anomaly in the display of Duplex_A_20110907_optimized.ifc with walls above the first level being displayed as belonging to the first level. Actually, the are erroneously defined as part of Level 1 i the original file!

View with Solibri of Duplex_A_20110907_optimized.ifc after filtering

Solibri display of Duplex_A_20110907_optimized.ifc after filtering

View with BIMcollab of IFC_Schependomlaan.ifc after the filtering

The filtering removed the following elements types:

  • Distribution Element(s)
  • Other(s) [IfcBuildingElementProxy] for the mailboxes and other items
  • Pipe Segment [IfcPipeSegment]

Note

The adaptations to the code of IFC2JON4 (IfcJSON) do not yet bring the expected result for IFC_Schependomlaan and the orginal style is not apparent.

Bimcollab display of IFC_Schependomlaan.ifc after filtering

View with Solibri Anywhere of IFC_Schependomlaan.ifc after the filtering

Solibri display of IFC_Schependomlaan.ifc after filtering

Additionally, the spaces are all listed with Solibri and not with some of the other viewers (OpenIFCViewer, That Open, BIMCollab Zoom).

View with BIMcollab of ARK_NordicLCA_Housing_Concrete_BuildingPermit_Revit.ifc after the filtering

Bimcollab display of ARK_NordicLCA_Housing_Concrete_BuildingPermit_Revit.ifc after filtering

View with Solibri Anywhere of ARK_NordicLCA_Housing_Concrete_BuildingPermit_Revit.ifc after the filtering

Solibri display of ARK_NordicLCA_Housing_Concrete_BuildingPermit_Revit.ifc after filtering