@tscircuit/core 0.0.720 → 0.0.721
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 +14 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2845,6 +2845,19 @@ var createComponentsFromCircuitJson = ({
|
|
|
2845
2845
|
pcbHoleOffsetY: elm.hole_offset_y
|
|
2846
2846
|
})
|
|
2847
2847
|
);
|
|
2848
|
+
} else if (elm.shape === "pill" || elm.shape === "oval") {
|
|
2849
|
+
components.push(
|
|
2850
|
+
new PlatedHole({
|
|
2851
|
+
pcbX: elm.x,
|
|
2852
|
+
pcbY: elm.y,
|
|
2853
|
+
shape: elm.shape,
|
|
2854
|
+
holeWidth: elm.hole_width,
|
|
2855
|
+
holeHeight: elm.hole_height,
|
|
2856
|
+
outerWidth: elm.outer_width,
|
|
2857
|
+
outerHeight: elm.outer_height,
|
|
2858
|
+
portHints: elm.port_hints
|
|
2859
|
+
})
|
|
2860
|
+
);
|
|
2848
2861
|
}
|
|
2849
2862
|
} else if (elm.type === "pcb_keepout" && elm.shape === "circle") {
|
|
2850
2863
|
components.push(
|
|
@@ -14919,7 +14932,7 @@ import { identity as identity6 } from "transformation-matrix";
|
|
|
14919
14932
|
var package_default = {
|
|
14920
14933
|
name: "@tscircuit/core",
|
|
14921
14934
|
type: "module",
|
|
14922
|
-
version: "0.0.
|
|
14935
|
+
version: "0.0.720",
|
|
14923
14936
|
types: "dist/index.d.ts",
|
|
14924
14937
|
main: "dist/index.js",
|
|
14925
14938
|
module: "dist/index.js",
|