rm-graphical-computing-node 1.0.51 → 1.0.52

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 +4 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -11501,12 +11501,12 @@ var getWindowData = (lines, pcdData, lineReader) => {
11501
11501
  beamTmpSt.z = beamTmpEd.z = windowPcd.maxZ;
11502
11502
  let doorType = "";
11503
11503
  let groundClearance = doorTmpSt.z - line2.start.z > 1e-4 ? doorTmpSt.z - line2.start.z : 0;
11504
- let beamHeight = beamTmpSt.z - doorTmpSt.z;
11504
+ let windowHeight = beamTmpSt.z - doorTmpSt.z;
11505
11505
  let doorAndBeamDataObj = {
11506
11506
  id,
11507
- windowTopSt: new THREE10.Vector3(doorTmpSt.x, doorTmpSt.y, doorTmpSt.z + beamHeight),
11508
- windowTopEd: new THREE10.Vector3(doorTmpEd.x, doorTmpEd.y, doorTmpEd.z + beamHeight),
11509
- beamHeight,
11507
+ windowTopSt: new THREE10.Vector3(doorTmpSt.x, doorTmpSt.y, doorTmpSt.z + windowHeight),
11508
+ windowTopEd: new THREE10.Vector3(doorTmpEd.x, doorTmpEd.y, doorTmpEd.z + windowHeight),
11509
+ windowHeight,
11510
11510
  windowBottomSt: doorTmpSt,
11511
11511
  windowBottomEd: doorTmpEd,
11512
11512
  // nearId: -1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",