rm-graphical-computing-node 1.0.164 → 1.0.165

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 +4 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -8837,6 +8837,8 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
8837
8837
  if (doorAndDoorFrameDatas[n].category == "metal framing of interior glass partitions") {
8838
8838
  continue;
8839
8839
  }
8840
+ if (length2 < doorAndDoorFrameDatas[n].length && doorAndDoorFrameDatas[n].length - length2 > 0.5)
8841
+ continue;
8840
8842
  let tmppLine3 = new THREE5.Line3(beamSt, beamEd);
8841
8843
  if (dist11 < nearDist || dist33 < nearDist) {
8842
8844
  doorOpenEndPoint = beamSt.clone();
@@ -8880,6 +8882,8 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
8880
8882
  obj_id = doorAndDoorFrameDatas[n].obj_id;
8881
8883
  doorAndDoorFrameDatas[n].isFind = true;
8882
8884
  findDoorDataIndex = n;
8885
+ if (length2 < 1.2)
8886
+ break;
8883
8887
  }
8884
8888
  }
8885
8889
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.164",
3
+ "version": "1.0.165",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",