|
24 | 24 |
|
25 | 25 | JSON_TO_IFC = { |
26 | 26 | "Building": ["IfcBuilding"], |
27 | | - "BuildingPart": ["IfcBuilding", {"CompositionType": "Partial"}], # CompositionType: Partial |
28 | | - "BuildingInstallation": ["IfcDistributionElement"], |
29 | | - "Road": ["IfcCivilElement"], |
30 | | - "TransportSquare": ["IfcSpace"], |
31 | | - "TINRelief": ["IfcGeographicElement"], |
32 | | - "WaterBody": ["IfcGeographicElement"], # Update for IFC4.3 |
33 | | - "LandUse": ["IfcGeographicElement"], |
34 | | - "PlantCover": ["IfcGeographicElement"], |
35 | | - "SolitaryVegetationObject": ["IfcGeographicElement"], |
| 27 | + "BuildingPart": ["IfcBuilding", {"CompositionType": "Partial"}], |
| 28 | + "BuildingInstallation": ["IfcBuildingElementProxy"], |
| 29 | + "Road": ["IfcCivilElement"], # Update for IFC4.3 |
| 30 | + "Railway": ["IfcCivilElement"], # Update for IFC4.3 |
| 31 | + "TransportSquare": ["IfcCivilElement"], # Update for IFC4.3 |
| 32 | + "TINRelief": ["IfcGeographicElement", {"PredefinedType": "TERRAIN"}], |
| 33 | + "WaterBody": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 34 | + "ObjectType": "WaterBody"}], # Update for IFC4.3 |
| 35 | + "LandUse": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 36 | + "ObjectType": "LandUse"}], |
| 37 | + "PlantCover": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 38 | + "ObjectType": "Plantcover"}], |
| 39 | + "SolitaryVegetationObject": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 40 | + "ObjectType": "SolitaryVegetationObject"}], |
36 | 41 | "CityFurniture": ["IfcFurnishingElement"], |
37 | 42 | "GenericCityObject": ["IfcCivilElement"], |
38 | 43 | "Bridge": ["IfcCivilElement"], # Update for IFC4.3 |
|
42 | 47 | "Tunnel": ["IfcCivilElement"], # Update for IFC4.3 |
43 | 48 | "TunnelPart": ["IfcCivilElement"], # Update for IFC4.3 |
44 | 49 | "TunnelInstallation": ["IfcCivilElement"], # Update for IFC4.3 |
45 | | - "CityObjectGroup": ["IfcCivilElement"], |
| 50 | + "CityObjectGroup": ["IfcBuilding"], # Update for IFC4.3 |
46 | 51 | "GroundSurface": ["IfcSlab", {"PredefinedType": "BASESLAB"}], |
47 | 52 | "RoofSurface": ["IfcRoof"], |
48 | 53 | "WallSurface": ["IfcWall"], |
|
51 | 56 | "OuterFloorSurface": ["IfcSlab", {"PredefinedType": "FLOOR"}], |
52 | 57 | "Window": ["IfcWindow"], |
53 | 58 | "Door": ["IfcDoor"], |
54 | | - "WaterSurface": ["IfcGeographicElement"], # Update for IFC4.3 |
55 | | - "WaterGroundSurface": ["IfcGeographicElement"], # Update for IFC4.3 |
56 | | - "WaterClosureSurface": ["IfcGeographicElement"], # Update for IFC4.3 |
| 59 | + "WaterSurface": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 60 | + "ObjectType": "WaterSurface"}], # Update for IFC4.3 |
| 61 | + "WaterGroundSurface": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 62 | + "ObjectType": "WaterGroundSurface"}], # Update for IFC4.3 |
| 63 | + "WaterClosureSurface": ["IfcGeographicElement", {"PredefinedType": "USERDEFINED", |
| 64 | + "ObjectType": "WaterClosureSurface"}], # Update for IFC4.3 |
57 | 65 | "TrafficArea": ["IfcCivilElement"], # Update for IFC4.3 |
58 | 66 | "AuxiliaryTrafficArea": ["IfcCivilElement"] # Update for IFC4.3 |
59 | 67 | } |
|
0 commit comments