示例描述与操作指南
以厂房类模型为例,对模型进行剖切操作,鼠标推动六个面进行剖切。
通过接口enableSectionBox与isolateComponentsByKey实现。
示例效果展示
实现步骤
通过接口enableSectionBox与isolateComponentsByKey实现。
// 点击运行触发的函数
const run = () =>{
viewer3D.isolateComponentsByKey(defaultCk); //构件隔离
viewer3D.enableSectionBox(); //模型剖切
}