1. 程式人生 > >解析IFC數據並轉成json格式

解析IFC數據並轉成json格式

延伸 buildings area 發布 面積 global num ngs 解析

{
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcBuilding (#104)-": [{
"objKey": "GlobalId",
"objValue": "3ZkI21fNDEIxkybM8jtY4W"
}, {
"objKey": "Coordinates",
"objValue": "[0.0,0.0,0.0]"
}, {
"objKey": "客戶姓名",
"objValue": "所有者"
}, {
"objKey": "類別",
"objValue": "項目信息"
}, {
"objKey": "項目發布日期",
"objValue": "發布日期"
}, {
"objKey": "項目名稱",
"objValue": "項目名稱"
}, {
"objKey": "項目地址",
"objValue": "請在此處輸入地址"
}, {
"objKey": "項目狀態",
"objValue": "項目狀態"
}, {
"objKey": "項目編號",
"objValue": "項目編號"
}, {
"objKey": "NumberOfStoreys",
"objValue": "1"
}, {
"objKey": "作者",
"objValue": ""
}, {
"objKey": "建築名稱",
"objValue": ""
}, {
"objKey": "組織名稱",
"objValue": ""
}, {
"objKey": "組織描述",
"objValue": ""
}],
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcBuildingStorey (#119)-F1": [{
"objKey": "GlobalId",
"objValue": "3ZkI21fNDEIxkybMBI8T$c"
}, {
"objKey": "Coordinates",
"objValue": "[0.0,0.0,0.0]"
}, {
"objKey": "名稱",
"objValue": "F1"
}, {
"objKey": "建築樓層",
"objValue": "true"
}, {
"objKey": "結構",
"objValue": "false"
}, {
"objKey": "基面",
"objValue": "項目基點"
}, {
"objKey": "立面",
"objValue": "0.0"
}, {
"objKey": "族名稱",
"objValue": "標高"
}, {
"objKey": "類別",
"objValue": "標高"
}, {
"objKey": "族",
"objValue": "標高: C_標高00+層標"
}, {
"objKey": "族與類型",
"objValue": "標高: C_標高00+層標"
}, {
"objKey": "類別",
"objValue": "標高"
}, {
"objKey": "類型",
"objValue": "標高: C_標高00+層標"
}, {
"objKey": "類型 ID",
"objValue": "標高: C_標高00+層標"
}, {
"objKey": "AboveGround",
"objValue": ""
}, {
"objKey": "計算高度",
"objValue": "0.0"
}, {
"objKey": "端點 1 處的默認符號",
"objValue": "true"
}, {
"objKey": "端點 2 處的默認符號",
"objValue": "true"
}, {
"objKey": "符號",
"objValue": "C_正負標高零+層標: C_正負零+層標"
}, {
"objKey": "線型圖案",
"objValue": "12+6+6+6 mm"
}, {
"objKey": "線寬",
"objValue": "1"
}, {
"objKey": "顏色",
"objValue": "0"
}, {
"objKey": "類型名稱",
"objValue": "C_標高00+層標"
}],
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcWallStandardCase (#229)-基本墻:磚墻240mm:361850": [{
"objKey": "GlobalId",
"objValue": "3_ydjarPr1s9tRASGqIAUD"
}, {
"objKey": "Coordinates",
"objValue": "[-5322.05314945073,23609.4858986366,0.0]"
}, {
"objKey": "與體量相關",
"objValue": "false"
}, {
"objKey": "定位線",
"objValue": "墻中心線"
}, {
"objKey": "已附著底部",
"objValue": "false"
}, {
"objKey": "已附著頂部",
"objValue": "false"
}, {
"objKey": "底部偏移",
"objValue": "0.0"
}, {
"objKey": "底部延伸距離",
"objValue": "0.0"
}, {
"objKey": "底部限制條件",
"objValue": "標高: F1"
}, {
"objKey": "房間邊界",
"objValue": "true"
}, {
"objKey": "無連接高度",
"objValue": "4000.0"
}, {
"objKey": "頂部偏移",
"objValue": "0.0"
}, {
"objKey": "頂部延伸距離",
"objValue": "0.0"
}, {
"objKey": "頂部約束",
"objValue": "標高: F2"
}, {
"objKey": "啟用分析模型",
"objValue": "false"
}, {
"objKey": "結構",
"objValue": "false"
}, {
"objKey": "結構用途",
"objValue": "非承重"
}, {
"objKey": "體積",
"objValue": "17.4720000000001"
}, {
"objKey": "長度",
"objValue": "18200.0"
}, {
"objKey": "面積",
"objValue": "72.8"
}, {
"objKey": "ExtendToStructure",
"objValue": "false"
}, {
"objKey": "IsExternal",
"objValue": "true"
}, {
"objKey": "LoadBearing",
"objValue": "false"
}, {
"objKey": "Reference",
"objValue": "磚墻240mm"
}, {
"objKey": "族",
"objValue": "基本墻: 磚墻240mm"
}, {
"objKey": "族與類型",
"objValue": "基本墻: 磚墻240mm"
}, {
"objKey": "類別",
"objValue": "墻"
}, {
"objKey": "類型",
"objValue": "基本墻: 磚墻240mm"
}, {
"objKey": "類型 ID",
"objValue": "基本墻: 磚墻240mm"
}, {
"objKey": "創建的階段",
"objValue": "新構造"
}],
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcSite (#372)-Default": [{
"objKey": "GlobalId",
"objValue": "3ZkI21fNDEIxkybM8jtY4Z"
}, {
"objKey": "Coordinates",
"objValue": "[0.0,0.0,0.0]"
}, {
"objKey": "作者",
"objValue": ""
}, {
"objKey": "建築名稱",
"objValue": ""
}, {
"objKey": "組織名稱",
"objValue": ""
}, {
"objKey": "組織描述",
"objValue": ""
}, {
"objKey": "客戶姓名",
"objValue": "所有者"
}, {
"objKey": "類別",
"objValue": "項目信息"
}, {
"objKey": "項目發布日期",
"objValue": "發布日期"
}, {
"objKey": "項目名稱",
"objValue": "項目名稱"
}, {
"objKey": "項目地址",
"objValue": "請在此處輸入地址"
}, {
"objKey": "項目狀態",
"objValue": "項目狀態"
}, {
"objKey": "項目編號",
"objValue": "項目編號"
}],
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcSpace (#149)-1": [{
"objKey": "GlobalId",
"objValue": "3Mph_S_ef13f4LIAEQPvzw"
}, {
"objKey": "Coordinates",
"objValue": "[0.0,0.0,0.0]"
}, {
"objKey": "Reference",
"objValue": "面積 1"
}, {
"objKey": "標高",
"objValue": "F1"
}, {
"objKey": "GSA Space Areas",
"objValue": 45.0
}, {
"objKey": "名稱",
"objValue": "面積"
}, {
"objKey": "編號",
"objValue": "1"
}, {
"objKey": "周長",
"objValue": "28000.0"
}, {
"objKey": "計算高度",
"objValue": "0.0"
}, {
"objKey": "面積",
"objValue": "45.0"
}, {
"objKey": "類別",
"objValue": "面積"
}, {
"objKey": "面積方案 ID",
"objValue": "可出租"
}, {
"objKey": "面積類型",
"objValue": "建築公共面積"
}],
"com.bim.ifc.ifc2x3.ifc2x3tc1.IfcGroup (#357)-可出租": [{
"objKey": "GlobalId",
"objValue": "0jcJ1wPir4ER5pN8ZIKcHu"
}, {
"objKey": "Coordinates",
"objValue": ""
}, {
"objKey": "名稱",
"objValue": "可出租"
}, {
"objKey": "類別",
"objValue": "面積方案"
}]
}

解析IFC數據並轉成json格式