easyeda 0.0.303 → 0.0.304

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
@@ -7703,7 +7703,9 @@ var generateFootprintTsx = (circuitJson, options = {}) => {
7703
7703
  `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" diameter="${mmStr(hole.hole_diameter)}" />`
7704
7704
  );
7705
7705
  } else if (hole.hole_shape === "oval") {
7706
- console.warn("Unhandled oval hole in conversion (needs implementation)");
7706
+ elementStrings.push(
7707
+ `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" width="${mmStr(hole.hole_width)}" height="${mmStr(hole.hole_height)}" shape="oval" />`
7708
+ );
7707
7709
  }
7708
7710
  }
7709
7711
  for (const platedHole of platedHoles) {