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/browser/index.js +3 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +4 -2
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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) {
|