rm-graphical-computing-node 1.0.50 → 1.0.51

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 +5 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10966,11 +10966,14 @@ var getObliqueSlabData = (lines, runDataList, pointCloudCluster = null) => {
10966
10966
  let area2 = calculatePolygonArea(path3);
10967
10967
  if (area2 < 1) continue;
10968
10968
  getPathZ(path3, newPoints[x]);
10969
+ const { minZ, maxZ } = getPointsMinAndMax(newPoints[x]);
10969
10970
  slabDatas.push({
10970
10971
  // points: newPoints[x],
10971
10972
  contour: path3,
10972
- normal: lines[i][0],
10973
- area: area2
10973
+ minZ,
10974
+ maxZ
10975
+ // normal: lines[i][0],
10976
+ // area: area
10974
10977
  });
10975
10978
  }
10976
10979
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",