bill %!s(int64=4) %!d(string=hai) anos
pai
achega
abaf1c57d9
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/CAD/core/additional/calcRoom.js

+ 4 - 4
src/CAD/core/additional/calcRoom.js

@@ -244,10 +244,9 @@ export default function calcRoom(data, cad) {
     return walls.map(cid => wall.find(({id}) => cid === id))
     return walls.map(cid => wall.find(({id}) => cid === id))
   })
   })
 
 
-  console.log(_roomsWalls)
 
 
-  // removeBigPolygon()
-  // getIncludeFromRoom()
+  removeBigPolygon()
+  getIncludeFromRoom()
 
 
   //计算多边形中心
   //计算多边形中心
   //后续要修改,应该是重心才合理
   //后续要修改,应该是重心才合理
@@ -282,7 +281,8 @@ export default function calcRoom(data, cad) {
     }
     }
   })
   })
 
 
-  
+
+  console.log(_roomsWalls)
 
 
   if (test_debugger) {
   if (test_debugger) {
     window.testCenterPoints && cad.processing.render.remove(...window.testCenterPoints)
     window.testCenterPoints && cad.processing.render.remove(...window.testCenterPoints)