rm-graphical-computing-node 1.0.51 → 1.0.53
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 +6 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10971,7 +10971,8 @@ var getObliqueSlabData = (lines, runDataList, pointCloudCluster = null) => {
|
|
|
10971
10971
|
// points: newPoints[x],
|
|
10972
10972
|
contour: path3,
|
|
10973
10973
|
minZ,
|
|
10974
|
-
maxZ
|
|
10974
|
+
maxZ,
|
|
10975
|
+
averagePz: minZ
|
|
10975
10976
|
// normal: lines[i][0],
|
|
10976
10977
|
// area: area
|
|
10977
10978
|
});
|
|
@@ -11501,12 +11502,12 @@ var getWindowData = (lines, pcdData, lineReader) => {
|
|
|
11501
11502
|
beamTmpSt.z = beamTmpEd.z = windowPcd.maxZ;
|
|
11502
11503
|
let doorType = "";
|
|
11503
11504
|
let groundClearance = doorTmpSt.z - line2.start.z > 1e-4 ? doorTmpSt.z - line2.start.z : 0;
|
|
11504
|
-
let
|
|
11505
|
+
let windowHeight = beamTmpSt.z - doorTmpSt.z;
|
|
11505
11506
|
let doorAndBeamDataObj = {
|
|
11506
11507
|
id,
|
|
11507
|
-
windowTopSt: new THREE10.Vector3(doorTmpSt.x, doorTmpSt.y, doorTmpSt.z +
|
|
11508
|
-
windowTopEd: new THREE10.Vector3(doorTmpEd.x, doorTmpEd.y, doorTmpEd.z +
|
|
11509
|
-
|
|
11508
|
+
windowTopSt: new THREE10.Vector3(doorTmpSt.x, doorTmpSt.y, doorTmpSt.z + windowHeight),
|
|
11509
|
+
windowTopEd: new THREE10.Vector3(doorTmpEd.x, doorTmpEd.y, doorTmpEd.z + windowHeight),
|
|
11510
|
+
windowHeight,
|
|
11510
11511
|
windowBottomSt: doorTmpSt,
|
|
11511
11512
|
windowBottomEd: doorTmpEd,
|
|
11512
11513
|
// nearId: -1,
|