|
@@ -302,11 +302,13 @@ export default function calcRoom(data, cad) {
|
|
|
|
|
|
window.testCenterPoints.forEach((point, i) => {
|
|
|
let ground = {
|
|
|
- room: data.room[i].ground.map(point => cad.processing.points.find(({id}) => id === point.id).ele.real),
|
|
|
+ pointEles: data.room[i].ground.map(point => cad.processing.points.find(({id}) => id === point.id).ele.real),
|
|
|
+ lineEles: _roomsWalls[i].map(line => cad.processing.lines.find(({id}) => id === line.id).ele.real),
|
|
|
center: point.real,
|
|
|
pointData: _roomsWalls[i],
|
|
|
lineData: _roomsPoints[i]
|
|
|
}
|
|
|
+ console.log(ground)
|
|
|
})
|
|
|
}
|
|
|
|