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/index.js CHANGED
@@ -15333,15 +15333,6 @@ var handleHole = (hole, index) => {
15333
15333
  pcb_hole_id: `pcb_hole_${index + 1}`
15334
15334
  });
15335
15335
  };
15336
- var handleHoleCutout = (hole, index) => {
15337
- return pcb_cutout.parse({
15338
- type: "pcb_cutout",
15339
- pcb_cutout_id: `pcb_cutout_from_hole_${index + 1}`,
15340
- shape: "circle",
15341
- center: { x: milx10(hole.center.x), y: milx10(hole.center.y) },
15342
- radius: milx10(hole.radius)
15343
- });
15344
- };
15345
15336
  var handleVia = (via, index) => {
15346
15337
  const holeDiameter = via.holeRadius * 2;
15347
15338
  return pcb_via.parse({
@@ -15556,7 +15547,6 @@ var convertEasyEdaJsonToCircuitJsonWithPinAttributes = (easyEdaJson, {
15556
15547
  (shape) => shape.type === "HOLE"
15557
15548
  ).forEach((h, index) => {
15558
15549
  circuitElements.push(handleHole(h, index));
15559
- circuitElements.push(handleHoleCutout(h, index));
15560
15550
  });
15561
15551
  easyEdaJson.packageDetail.dataStr.shape.filter((shape) => shape.type === "VIA").forEach((v, index) => {
15562
15552
  circuitElements.push(handleVia(v, index));