rm-graphical-computing-node 1.0.79 → 1.0.80

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -12589,7 +12589,7 @@ var getDoorPcdData = (lines, pcdData) => {
12589
12589
  newDoorAndBeamData3.push(line2.doorAndBeamData[a]);
12590
12590
  }
12591
12591
  }
12592
- let groundClearance = minZ - ptDoorSt.z;
12592
+ let groundClearance = minZ - line2.start.z;
12593
12593
  groundClearance = groundClearance > 0.01 ? groundClearance : 0;
12594
12594
  let newLine1 = {
12595
12595
  start: ptStart,
@@ -12613,8 +12613,8 @@ var getDoorPcdData = (lines, pcdData) => {
12613
12613
  isRebuild: false,
12614
12614
  direction: line2.direction,
12615
12615
  drawDoorData: {
12616
- start: new THREE11.Vector3(ptDoorSt.x, ptDoorSt.y, minZ),
12617
- end: new THREE11.Vector3(ptDoorEd.x, ptDoorEd.y, minZ),
12616
+ start: new THREE11.Vector3(ptDoorSt.x, ptDoorSt.y, line2.start.z),
12617
+ end: new THREE11.Vector3(ptDoorEd.x, ptDoorEd.y, line2.start.z),
12618
12618
  n: new THREE11.Vector3(0, 0, 0),
12619
12619
  height,
12620
12620
  groundClearance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",