基于threejs三维办公室如何显示线框化
示例描述与操作指南
以办公区类模型为例,对所选构件类进行线框化处理,本示例默认选中 IfcWallStandardCase 类型构件组。其它常用的构件类型还有 IfcDoor、IfcWindow、IfcRailing、IfcSlab、IfcFurnishingElement等。
通过接口wireFrameComponentsByKey来实现。
示例效果展示
实现步骤
通过接口wireFrameComponentsByKey来实现。
// 点击运行触发的函数
const run = () =>{
viewer3D.wireFrameComponentsByKey(defaultCk); //构件线框
}