easyeda 0.0.377 → 0.0.378

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/dist/main.cjs CHANGED
@@ -1078,7 +1078,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
1078
1078
  var package_default = {
1079
1079
  name: "easyeda",
1080
1080
  type: "module",
1081
- version: "0.0.376",
1081
+ version: "0.0.377",
1082
1082
  files: [
1083
1083
  "dist"
1084
1084
  ],
@@ -16470,15 +16470,6 @@ var handleHole = (hole, index) => {
16470
16470
  pcb_hole_id: `pcb_hole_${index + 1}`
16471
16471
  });
16472
16472
  };
16473
- var handleHoleCutout = (hole, index) => {
16474
- return pcb_cutout.parse({
16475
- type: "pcb_cutout",
16476
- pcb_cutout_id: `pcb_cutout_from_hole_${index + 1}`,
16477
- shape: "circle",
16478
- center: { x: milx10(hole.center.x), y: milx10(hole.center.y) },
16479
- radius: milx10(hole.radius)
16480
- });
16481
- };
16482
16473
  var handleVia = (via, index) => {
16483
16474
  const holeDiameter = via.holeRadius * 2;
16484
16475
  return pcb_via.parse({
@@ -16693,7 +16684,6 @@ var convertEasyEdaJsonToCircuitJsonWithPinAttributes = (easyEdaJson, {
16693
16684
  (shape) => shape.type === "HOLE"
16694
16685
  ).forEach((h, index) => {
16695
16686
  circuitElements.push(handleHole(h, index));
16696
- circuitElements.push(handleHoleCutout(h, index));
16697
16687
  });
16698
16688
  easyEdaJson.packageDetail.dataStr.shape.filter((shape) => shape.type === "VIA").forEach((v, index) => {
16699
16689
  circuitElements.push(handleVia(v, index));