rm-graphical-computing-node 1.0.118 → 1.0.119

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 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9840,10 +9840,11 @@ var getMergeMeaning = (allProjectionResults, wallLines, wallVerifyType, averageP
9840
9840
  if (cloneData.type == "pipe" && array[k].type == "pipe" && pipeIsVerticalJ != pipeIsVerticalK) {
9841
9841
  continue;
9842
9842
  }
9843
- if (array[k].type == "door frame") {
9843
+ if (array[k].type == "door frame" || array[k].type == "window") {
9844
+ let tol = array[k].type == "door frame" ? 0.2 : 0.5;
9844
9845
  let boxVecK = getObbLongSideDirection(array[k].obb);
9845
9846
  if (boxVecJ.length() > 0.3 && boxVecK.length() > 0.3) {
9846
- let isPPPP = isParallel(boxVecJ, boxVecK, 0.2);
9847
+ let isPPPP = isParallel(boxVecJ, boxVecK, tol);
9847
9848
  if (!isPPPP || !isPPPP.parallel) {
9848
9849
  continue;
9849
9850
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",