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.
- package/dist/index.mjs +3 -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,
|
|
9847
|
+
let isPPPP = isParallel(boxVecJ, boxVecK, tol);
|
|
9847
9848
|
if (!isPPPP || !isPPPP.parallel) {
|
|
9848
9849
|
continue;
|
|
9849
9850
|
}
|