|
@@ -518,6 +518,24 @@ export default {
|
|
BSP.Height = t.Height > 100 ? (t.Height / 1000).toFixed(2) : t.Height;
|
|
BSP.Height = t.Height > 100 ? (t.Height / 1000).toFixed(2) : t.Height;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ // 如果有划分,求交集
|
|
|
|
+ if (this.scene.cutItem || this.scene.sceneMark) {
|
|
|
|
+ BSP.Outline = [];
|
|
|
|
+ let spaceIntersect = this.scene.getIntersect();
|
|
|
|
+ spaceIntersect.map(t => {
|
|
|
|
+ let temp = t.map(item => {
|
|
|
|
+ return {
|
|
|
|
+ X: item.x,
|
|
|
|
+ Y: -item.y,
|
|
|
|
+ Z: 0
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ BSP.Outline.push([temp]);
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ if (!BSP.Outline.length) {
|
|
|
|
+ BSP.Outline = null;
|
|
|
|
+ }
|
|
this.updateBSPOutline(BSP, IspaceIdList)
|
|
this.updateBSPOutline(BSP, IspaceIdList)
|
|
},
|
|
},
|
|
// 编辑空间详情
|
|
// 编辑空间详情
|