rm-graphical-computing-node 1.0.126 → 1.0.127
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 +8 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15346,11 +15346,17 @@ var getWindowData = (lines, pcdData, lineReader) => {
|
|
|
15346
15346
|
inRectNum++;
|
|
15347
15347
|
}
|
|
15348
15348
|
let inRectPercentage = inRectNum / checkResultsNum;
|
|
15349
|
-
if (inRectPercentage < 0.8)
|
|
15349
|
+
if (inRectPercentage < 0.8) {
|
|
15350
|
+
pcdData[windowDatas[findDoorDataIndex].index].isFindWindow = false;
|
|
15351
|
+
windowDatas[findDoorDataIndex].isFind = false;
|
|
15350
15352
|
continue;
|
|
15353
|
+
}
|
|
15351
15354
|
}
|
|
15352
|
-
if (windowPcd.maxZ < doorAndBeamDataObj.windowBottomSt.z || Math.abs(windowPcd.maxZ - doorAndBeamDataObj.windowBottomSt.z) < 0.3)
|
|
15355
|
+
if (windowPcd.maxZ < doorAndBeamDataObj.windowBottomSt.z || Math.abs(windowPcd.maxZ - doorAndBeamDataObj.windowBottomSt.z) < 0.3) {
|
|
15356
|
+
pcdData[windowDatas[findDoorDataIndex].index].isFindWindow = false;
|
|
15357
|
+
windowDatas[findDoorDataIndex].isFind = false;
|
|
15353
15358
|
continue;
|
|
15359
|
+
}
|
|
15354
15360
|
line2.windowIdToCheckResults.push([region.index, id]);
|
|
15355
15361
|
if (windowDatas[findDoorDataIndex].findLineIndex.length > 0) {
|
|
15356
15362
|
let lineIndex = windowDatas[findDoorDataIndex].findLineIndex[0];
|