build-dxf 0.1.24 → 0.1.25

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-dxf",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "线段构建双线墙壁的dxf版本",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
package/src/build.js CHANGED
@@ -14616,6 +14616,7 @@ class DoorFind {
14616
14616
  dock = { dockLine: endList[0].userData, dockPoint: endList[0].point, point: line.end, pointType: "end" };
14617
14617
  }
14618
14618
  const point2 = this.adsorpt(dock, line);
14619
+ console.log(111);
14619
14620
  line.userData.doorDirectConnection = true;
14620
14621
  if (point2) {
14621
14622
  line.userData.doorAutomaticFind = true;
@@ -19058,7 +19059,7 @@ async function getFileAll(dxfSystem = gloabalDxfSystem) {
19058
19059
  const obj = new File([await whiteModel.toOBJBlob()], "model.obj", { type: "application/octet-stream" });
19059
19060
  const glb = new File([await whiteModel.toGltfBlob(true)], "model.glb", { type: "application/octet-stream" });
19060
19061
  const gltf2 = new File([await whiteModel.toGltfBlob(false)], "model.gltf", { type: "application/json" });
19061
- const originalData = lineDataToOriginalData(dxfSystem.Dxf.getLineSegments());
19062
+ const originalData = lineDataToOriginalData(dxfSystem.Dxf.getLineSegments(), dxfSystem.Dxf.originalZAverage);
19062
19063
  const json = new File([JSON.stringify(originalData)], "json.json", { type: "application/json" });
19063
19064
  return {
19064
19065
  dxf,
package/.htaccess DELETED
File without changes
package/nginx.htaccess DELETED
File without changes