IFC4模型转SVF2后原点位置异常问题咨询
IFC4模型转SVF2的位置偏移问题
模型背景
测试使用两个无地理参考的IFC4模型:FZK Haus模型和RAC示例模型,二者均采用(0,0,0)原点,无地图转换。通过Xeokit展示的预期相对位置如下:
默认转换设置的问题
使用默认参数将模型转换为SVF2格式,代码如下:
json_data = { "input": {"urn": urn}, "output": { "formats": [ { "type": "svf2", "views": ["2d", "3d"], } ] } }
转换后FZK Haus模型相对RAC模型的位置出现错误,效果如下:
v3转换器的转换结果
使用推荐的最新v3转换器进行转换,设置代码如下:
json_data = { "input": {"urn": urn}, "output": { "formats": [ { "type": "svf2", "views": ["2d", "3d"], "advanced": { "conversionMethod": "v3", "buildingStoreys": "show", } } ] }}
转换后FZK Haus模型悬浮于RAC模型上方,效果如下:
测试模型地址
- FZK-Haus示例模型(米单位):https://lendlease-my.sharepoint.com/:u:/p/dion_moult/EUcZq9MzOoNJkyJad1X3q6cBvkt7vNR6dTZ3fFHKK26llA?e=jWHt1C
- RAC示例模型(毫米单位):https://lendlease-my.sharepoint.com/:u:/p/dion_moult/EVHJilz9QalAmBjwBoceJvoB6-4co0__zNW0lpQT4p_wuA?e=feDztx
- RAC示例模型(米单位):https://lendlease-my.sharepoint.com/:u:/p/dion_moult/EZURKxHFCplOloBeiz94NvABzTIiyCX0pZuHnR-1bk5y9Q?e=wGSb6N
内容的提问来源于stack exchange,提问作者Dion Moult
相关产品推荐
相关产品推荐

