@tscircuit/core 0.0.1337 → 0.0.1338
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 +15 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10209,6 +10209,20 @@ var createComponentsFromCircuitJson = ({
|
|
|
10209
10209
|
layer: elm.layer
|
|
10210
10210
|
})
|
|
10211
10211
|
);
|
|
10212
|
+
} else if (elm.type === "pcb_smtpad" && elm.shape === "rotated_rect") {
|
|
10213
|
+
components.push(
|
|
10214
|
+
new SmtPad({
|
|
10215
|
+
pcbX: elm.x,
|
|
10216
|
+
pcbY: elm.y,
|
|
10217
|
+
layer: elm.layer,
|
|
10218
|
+
shape: "rotated_rect",
|
|
10219
|
+
height: elm.height,
|
|
10220
|
+
width: elm.width,
|
|
10221
|
+
ccwRotation: elm.ccw_rotation,
|
|
10222
|
+
cornerRadius: elm.corner_radius,
|
|
10223
|
+
portHints: elm.port_hints
|
|
10224
|
+
})
|
|
10225
|
+
);
|
|
10212
10226
|
} else if (elm.type === "pcb_smtpad" && elm.shape === "polygon") {
|
|
10213
10227
|
components.push(
|
|
10214
10228
|
new SmtPad({
|
|
@@ -24018,7 +24032,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
24018
24032
|
var package_default = {
|
|
24019
24033
|
name: "@tscircuit/core",
|
|
24020
24034
|
type: "module",
|
|
24021
|
-
version: "0.0.
|
|
24035
|
+
version: "0.0.1337",
|
|
24022
24036
|
types: "dist/index.d.ts",
|
|
24023
24037
|
main: "dist/index.js",
|
|
24024
24038
|
module: "dist/index.js",
|