rm-graphical-computing-node 1.0.100 → 1.0.101

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9598,7 +9598,7 @@ var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = nul
9598
9598
  var checkSwitchSizeIsTrue = (retPcdPointArr) => {
9599
9599
  for (let i = 0; i < retPcdPointArr.length; i++) {
9600
9600
  const pcd = retPcdPointArr[i];
9601
- if (!pcd.direction || !pcd.obj_id.includes("switch"))
9601
+ if (!pcd.direction || !pcd.category != "switch" && !pcd.category != "socket")
9602
9602
  continue;
9603
9603
  let direction = getPt3(pcd.direction);
9604
9604
  const size = new THREE8.Vector3();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.100",
3
+ "version": "1.0.101",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",