rm-graphical-computing-node 1.0.110 → 1.0.111
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 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5036,6 +5036,14 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
|
|
|
5036
5036
|
else if (doorAndBeamDataObj.isPullOutDoor)
|
|
5037
5037
|
tmpDoorBeamData.isPullOutDoor = true;
|
|
5038
5038
|
const hasCommon = pcbDoorIndexs.some((item) => tmpDoorBeamData.pcbDoorIndexs.includes(item));
|
|
5039
|
+
if (doorAndBeamDataObj.type == "beam" && tmpDoorBeamData.type == "beam" || doorAndBeamDataObj.type == "hole" && tmpDoorBeamData.type == "hole") {
|
|
5040
|
+
if (length22 > length1) {
|
|
5041
|
+
doorAndBeamDataObj.isExtend = true;
|
|
5042
|
+
}
|
|
5043
|
+
if (length1 > length22) {
|
|
5044
|
+
lines[doorBeamDataIndex[w2].linesIndex].isExtend = true;
|
|
5045
|
+
}
|
|
5046
|
+
}
|
|
5039
5047
|
let lineIsOnlyBeam1 = false;
|
|
5040
5048
|
let lineIsOnlyBeam2 = false;
|
|
5041
5049
|
if (doorAndBeamDataObj.type == "beam" && tmpDoorBeamData.type == "beam") {
|
|
@@ -5045,12 +5053,6 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
|
|
|
5045
5053
|
lines[doorBeamDataIndex[w2].linesIndex].originalPoints = null;
|
|
5046
5054
|
lineIsOnlyBeam1 = length1 > length22;
|
|
5047
5055
|
lineIsOnlyBeam2 = length1 < length22;
|
|
5048
|
-
if (length22 > length1) {
|
|
5049
|
-
doorAndBeamDataObj.isExtend = true;
|
|
5050
|
-
}
|
|
5051
|
-
if (length1 > length22) {
|
|
5052
|
-
lines[doorBeamDataIndex[w2].linesIndex].isExtend = true;
|
|
5053
|
-
}
|
|
5054
5056
|
let lineTmp1 = new THREE5.Line3(tmpDoorBeamData.beamStart, tmpDoorBeamData.beamEnd);
|
|
5055
5057
|
let lineTmp2 = new THREE5.Line3(doorAndBeamDataObj.beamStart, doorAndBeamDataObj.beamEnd);
|
|
5056
5058
|
let ptClose12 = lineTmp1.closestPointToPoint(lineTmp2.start, true, new THREE5.Vector3());
|