rm-graphical-computing-node 1.0.137 → 1.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -8
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -15087,8 +15087,7 @@ var getWindowData = (lines, pcdData, lineReader) => {
15087
15087
  if (length2 < 3.5) {
15088
15088
  for (let n = 0; n < windowDatas.length; n++) {
15089
15089
  if (windowDatas[n].isFind) {
15090
- if (line2.length < lines[windowDatas[n].findLineIndex[0]]?.length)
15091
- continue;
15090
+ continue;
15092
15091
  }
15093
15092
  let doorSt = new THREE10.Vector3(windowDatas[n].windowStartPt.x, windowDatas[n].windowStartPt.y, 0);
15094
15093
  let doorEd = new THREE10.Vector3(windowDatas[n].windowEndPt.x, windowDatas[n].windowEndPt.y, 0);
@@ -15462,13 +15461,8 @@ var getWindowData = (lines, pcdData, lineReader) => {
15462
15461
  continue;
15463
15462
  }
15464
15463
  line2.windowIdToCheckResults.push([region.index, id]);
15465
- if (windowDatas[findDoorDataIndex].findLineIndex.length > 0) {
15466
- let lineIndex = windowDatas[findDoorDataIndex].findLineIndex[0];
15467
- let windowDataIndex = windowDatas[findDoorDataIndex].findLineIndex[1];
15468
- lines[lineIndex].windowData.splice(windowDataIndex, 1);
15469
- }
15470
- windowDatas[findDoorDataIndex].findLineIndex = [index, line2.windowData.length - 1];
15471
15464
  line2.windowData.push(doorAndBeamDataObj);
15465
+ windowDatas[findDoorDataIndex].findLineIndex = [index, line2.windowData.length - 1];
15472
15466
  doorBeamDataIndex.push({
15473
15467
  linesIndex: index,
15474
15468
  doorIndex: line2.windowData.length - 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",