rm-graphical-computing-node 1.0.89 → 1.0.91
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 +4 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4900,7 +4900,7 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
|
|
|
4900
4900
|
}
|
|
4901
4901
|
doorAndBeamDataObj.type = dataType;
|
|
4902
4902
|
doorAndBeamDataObj.wallBelowBeam = wallBelowBeam;
|
|
4903
|
-
if (doorFrame && doorFrame.length > 0) {
|
|
4903
|
+
if (doorFrame && doorFrame.length > 0 && doorAndBeamDataObj.type == "door") {
|
|
4904
4904
|
let doorLen = doorTmpSt.distanceTo(doorTmpEd);
|
|
4905
4905
|
let lineStart2 = getPt3(line2.start);
|
|
4906
4906
|
let lineEnd2 = getPt3(line2.end);
|
|
@@ -4960,8 +4960,6 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
|
|
|
4960
4960
|
doorAndBeamDataObj.beamEnd = doorTmpEd.clone();
|
|
4961
4961
|
doorAndBeamDataObj.beamStart.z = doorAndBeamDataObj.beamEnd.z = doorAndBeamDataObj.doorStart.z + doorAndBeamDataObj.doorHeight;
|
|
4962
4962
|
doorAndBeamDataObj.beamHeight = line2.rooftopPz - doorAndBeamDataObj.beamStart.z;
|
|
4963
|
-
if (doorAndBeamDataObj.type != "door")
|
|
4964
|
-
doorAndBeamDataObj.type = "door";
|
|
4965
4963
|
break;
|
|
4966
4964
|
}
|
|
4967
4965
|
}
|
|
@@ -9362,6 +9360,9 @@ var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = nul
|
|
|
9362
9360
|
if (type2 === "window sill" && containsObbPoints(obb2, array1[e].points)) {
|
|
9363
9361
|
continue;
|
|
9364
9362
|
}
|
|
9363
|
+
if (type2 === "window sill" && obb1.intersectsOBB(obb2)) {
|
|
9364
|
+
continue;
|
|
9365
|
+
}
|
|
9365
9366
|
}
|
|
9366
9367
|
let isMax = false;
|
|
9367
9368
|
let majorPoints = [];
|