rm-graphical-computing-node 1.0.46 → 1.0.48

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10844,7 +10844,7 @@ var getFlatSlabData = (lines, runDataList, pointCloudCluster = null) => {
10844
10844
  // src/geometry/window.mjs
10845
10845
  import * as THREE10 from "three";
10846
10846
  import { mergeGeometries as mergeGeometries5 } from "three/examples/jsm/utils/BufferGeometryUtils.js";
10847
- var getWindowData = async (lines, pcdData) => {
10847
+ var getWindowData = (lines, pcdData) => {
10848
10848
  if (lines.length <= 0 || !pcdData)
10849
10849
  return lines;
10850
10850
  if (!pcdData) pcdData = [];
@@ -10978,6 +10978,7 @@ var getWindowData = async (lines, pcdData) => {
10978
10978
  let nearDist = 0.25;
10979
10979
  for (let index = 0; index < lines.length; index++) {
10980
10980
  let line2 = lines[index];
10981
+ if (line2.length < 0.5) continue;
10981
10982
  if (line2.noDetection) continue;
10982
10983
  if (!line2.doorAndBeamData)
10983
10984
  line2.doorAndBeamData = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.46",
3
+ "version": "1.0.48",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",