@tscircuit/core 0.0.481 → 0.0.482
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
|
@@ -4529,6 +4529,19 @@ var getObstaclesFromCircuitJson = (soup, connMap) => {
|
|
|
4529
4529
|
height: element.outer_diameter,
|
|
4530
4530
|
connectedTo: withNetId([element.pcb_plated_hole_id])
|
|
4531
4531
|
});
|
|
4532
|
+
} else if (element.shape === "circular_hole_with_rect_pad") {
|
|
4533
|
+
obstacles.push({
|
|
4534
|
+
// @ts-ignore
|
|
4535
|
+
type: "rect",
|
|
4536
|
+
layers: EVERY_LAYER,
|
|
4537
|
+
center: {
|
|
4538
|
+
x: element.x,
|
|
4539
|
+
y: element.y
|
|
4540
|
+
},
|
|
4541
|
+
width: element.rect_pad_width,
|
|
4542
|
+
height: element.rect_pad_height,
|
|
4543
|
+
connectedTo: withNetId([element.pcb_plated_hole_id])
|
|
4544
|
+
});
|
|
4532
4545
|
} else if (element.shape === "oval" || element.shape === "pill") {
|
|
4533
4546
|
obstacles.push({
|
|
4534
4547
|
// @ts-ignore
|
|
@@ -10164,7 +10177,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10164
10177
|
var package_default = {
|
|
10165
10178
|
name: "@tscircuit/core",
|
|
10166
10179
|
type: "module",
|
|
10167
|
-
version: "0.0.
|
|
10180
|
+
version: "0.0.481",
|
|
10168
10181
|
types: "dist/index.d.ts",
|
|
10169
10182
|
main: "dist/index.js",
|
|
10170
10183
|
module: "dist/index.js",
|