rm-graphical-computing-node 1.0.67 → 1.0.68
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 +10 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5155,6 +5155,15 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
|
|
|
5155
5155
|
if (onProgress != null)
|
|
5156
5156
|
onProgress(100);
|
|
5157
5157
|
}
|
|
5158
|
+
let tmpLines = [];
|
|
5159
|
+
for (let i = 0; i < lines.length; i++) {
|
|
5160
|
+
if (!lines[i].isLine2)
|
|
5161
|
+
tmpLines.push(lines[i]);
|
|
5162
|
+
if (lines[i].isLine2 && lines[i].doorAndBeamData.length != 0)
|
|
5163
|
+
tmpLines.push(lines[i]);
|
|
5164
|
+
}
|
|
5165
|
+
lines.length = 0;
|
|
5166
|
+
lines.push(...tmpLines);
|
|
5158
5167
|
return { lines, beamGroup, pcdData };
|
|
5159
5168
|
};
|
|
5160
5169
|
var checkBeamIsReasonable = async (lines, lineReader) => {
|
|
@@ -11301,12 +11310,11 @@ var getWindowData = (lines, pcdData, lineReader) => {
|
|
|
11301
11310
|
let nearDist = 0.25;
|
|
11302
11311
|
for (let index = 0; index < lines.length; index++) {
|
|
11303
11312
|
let line2 = lines[index];
|
|
11313
|
+
line2.windowData = [];
|
|
11304
11314
|
if (line2.length < 0.5) continue;
|
|
11305
11315
|
if (line2.noDetection) continue;
|
|
11306
11316
|
line2.originalPoints = lineReader.getOriginalPointsById(line2.id);
|
|
11307
11317
|
line2.checkResults = lineReader.getLineCheckReultsById(line2.id);
|
|
11308
|
-
if (!line2.windowData)
|
|
11309
|
-
line2.windowData = [];
|
|
11310
11318
|
if (!line2.windowIdToCheckResults)
|
|
11311
11319
|
line2.windowIdToCheckResults = [];
|
|
11312
11320
|
if (!line2.mergeCheckRegion || line2.mergeCheckRegion.length == 0)
|