@tscircuit/core 0.0.408 → 0.0.409
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1689,7 +1689,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1689
1689
|
pcb_group_id: this.getGroup()?.pcb_group_id ?? void 0
|
|
1690
1690
|
}) : db.pcb_smtpad.insert({
|
|
1691
1691
|
pcb_component_id,
|
|
1692
|
-
layer: props.layer ?? "top",
|
|
1692
|
+
layer: maybeFlipLayer(props.layer ?? "top"),
|
|
1693
1693
|
shape: "rotated_rect",
|
|
1694
1694
|
...{ width: props.width, height: props.height },
|
|
1695
1695
|
x: position.x,
|
|
@@ -1701,7 +1701,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1701
1701
|
});
|
|
1702
1702
|
if (pcb_smtpad.shape === "rect")
|
|
1703
1703
|
db.pcb_solder_paste.insert({
|
|
1704
|
-
layer:
|
|
1704
|
+
layer: maybeFlipLayer(props.layer ?? "top"),
|
|
1705
1705
|
shape: "rect",
|
|
1706
1706
|
// @ts-ignore: no idea why this is triggering
|
|
1707
1707
|
width: pcb_smtpad.width * 0.7,
|
|
@@ -1715,7 +1715,7 @@ var SmtPad = class extends PrimitiveComponent2 {
|
|
|
1715
1715
|
});
|
|
1716
1716
|
if (pcb_smtpad.shape === "rotated_rect")
|
|
1717
1717
|
db.pcb_solder_paste.insert({
|
|
1718
|
-
layer:
|
|
1718
|
+
layer: maybeFlipLayer(props.layer ?? "top"),
|
|
1719
1719
|
shape: "rotated_rect",
|
|
1720
1720
|
// @ts-ignore: no idea why this is triggering
|
|
1721
1721
|
width: pcb_smtpad.width * 0.7,
|
|
@@ -8236,7 +8236,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
8236
8236
|
var package_default = {
|
|
8237
8237
|
name: "@tscircuit/core",
|
|
8238
8238
|
type: "module",
|
|
8239
|
-
version: "0.0.
|
|
8239
|
+
version: "0.0.408",
|
|
8240
8240
|
types: "dist/index.d.ts",
|
|
8241
8241
|
main: "dist/index.js",
|
|
8242
8242
|
module: "dist/index.js",
|