rm-graphical-computing-node 1.0.76 → 1.0.78

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -5934,7 +5934,7 @@ var getColLine = async (lines, runDataList, collectDataPath, pointCloudCluster =
5934
5934
  let isEq6 = ptIsEqual(startPt4, endPt1);
5935
5935
  let isEq7 = ptIsEqual(endPt4, startPt1);
5936
5936
  let isEq8 = ptIsEqual(endPt4, endPt1);
5937
- if ((isEq5 || isEq6 || isEq7 || isEq8) && length1 < length2 * 3 && length2 < length1 * 3) {
5937
+ if ((isEq5 || isEq6 || isEq7 || isEq8) && length1 < length2 * 10 && length2 < length1 * 10) {
5938
5938
  isRect = true;
5939
5939
  } else {
5940
5940
  for (let m = l + 1; m < result[i].lineIndexes.length; m++) {
@@ -5970,7 +5970,7 @@ var getColLine = async (lines, runDataList, collectDataPath, pointCloudCluster =
5970
5970
  isEq7 = ptIsEqual(endPt4, startPt1);
5971
5971
  isEq8 = ptIsEqual(endPt4, endPt1);
5972
5972
  if (isEq5 || isEq6 || isEq7 || isEq8) {
5973
- if (length1 < length2 * 3 && length2 < length1 * 3) {
5973
+ if (length1 < length2 * 10 && length2 < length1 * 10) {
5974
5974
  isRect = true;
5975
5975
  break;
5976
5976
  }
@@ -11041,7 +11041,7 @@ var getFlatSlabData = (lines, runDataList, pointCloudCluster = null) => {
11041
11041
  maxHeightTrajectoryPt.set(runDataList[i].x, runDataList[i].y, runDataList[i].z);
11042
11042
  }
11043
11043
  }
11044
- const averageZ = totalZ / (runDataList.length - 1) + 0.3;
11044
+ const averageZ = totalZ / (runDataList.length - 1) + 0.5;
11045
11045
  let maxPointsNum = 0;
11046
11046
  let maxPointsZ = 0;
11047
11047
  for (const line2 of lines) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.76",
3
+ "version": "1.0.78",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",