rm-graphical-computing-node 1.0.89 → 1.0.90

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -3
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",