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.
@@ -11402,7 +11402,9 @@ var generateFootprintTsx = (circuitJson, options = {}) => {
11402
11402
  `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" diameter="${mmStr(hole.hole_diameter)}" />`
11403
11403
  );
11404
11404
  } else if (hole.hole_shape === "oval") {
11405
- console.warn("Unhandled oval hole in conversion (needs implementation)");
11405
+ elementStrings.push(
11406
+ `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" width="${mmStr(hole.hole_width)}" height="${mmStr(hole.hole_height)}" shape="oval" />`
11407
+ );
11406
11408
  }
11407
11409
  }
11408
11410
  for (const platedHole of platedHoles) {