build-dxf 0.1.158 → 0.1.159

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/package.json +1 -1
  2. package/src/build.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.1.158",
3
+ "version": "0.1.159",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/build.js CHANGED
@@ -22999,8 +22999,8 @@ function beamSupportLine(lines, {}) {
22999
22999
  lines.forEach((line) => {
23000
23000
  if (WallHole.isBeam(line)) {
23001
23001
  const findLine = line.clone();
23002
- findLine.setLength(findLine.length - 4e-3);
23003
- let rectangle = line.toRectangle(2, "butt");
23002
+ findLine.setLength(findLine.length - 2e-3);
23003
+ let rectangle = findLine.toRectangle(2, "butt");
23004
23004
  const center = findLine.center;
23005
23005
  const beamNearWallVec = getBeamNearWallVec(line);
23006
23006
  const list = lsh.queryRect(rectangle).filter((target) => {