rm-graphical-computing-node 1.0.138 → 1.0.139
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 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -14974,6 +14974,7 @@ var getWindowData = (lines, pcdData, lineReader) => {
|
|
|
14974
14974
|
windowDatas.push({
|
|
14975
14975
|
windowStartPt,
|
|
14976
14976
|
windowEndPt,
|
|
14977
|
+
length: length2,
|
|
14977
14978
|
boxPoints,
|
|
14978
14979
|
minZ: window.coordinatesByArea.heightData.minZ,
|
|
14979
14980
|
maxZ: window.coordinatesByArea.heightData.maxZ,
|
|
@@ -15160,9 +15161,10 @@ var getWindowData = (lines, pcdData, lineReader) => {
|
|
|
15160
15161
|
}
|
|
15161
15162
|
}
|
|
15162
15163
|
}
|
|
15163
|
-
if (length2 < 1.5 && findDoorDataIndex
|
|
15164
|
+
if (length2 < 1.5 && findDoorDataIndex === -1) {
|
|
15164
15165
|
for (let n = 0; n < windowDatas.length; n++) {
|
|
15165
15166
|
if (windowDatas[n].inWall || windowDatas[n].isFind) continue;
|
|
15167
|
+
if (length2 * 2 < windowDatas[n].length) continue;
|
|
15166
15168
|
let doorSt = new THREE10.Vector3(windowDatas[n].windowStartPt.x, windowDatas[n].windowStartPt.y, 0);
|
|
15167
15169
|
let doorEd = new THREE10.Vector3(windowDatas[n].windowEndPt.x, windowDatas[n].windowEndPt.y, 0);
|
|
15168
15170
|
let beamSt = new THREE10.Vector3(beamTmpEd.x, beamTmpEd.y, 0);
|