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.
- package/package.json +1 -1
- package/src/build.js +2 -2
package/package.json
CHANGED
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 -
|
|
23003
|
-
let rectangle =
|
|
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) => {
|