circuit-json 0.0.471 → 0.0.473
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/README.md +38 -0
- package/dist/index.d.mts +669 -32
- package/dist/index.mjs +1216 -1181
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,6 +124,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
124
124
|
- [PcbCourtyardPolygon](#pcbcourtyardpolygon)
|
|
125
125
|
- [PcbCourtyardRect](#pcbcourtyardrect)
|
|
126
126
|
- [PcbCutout](#pcbcutout)
|
|
127
|
+
- [PcbDebugObject](#pcbdebugobject)
|
|
127
128
|
- [PcbFabricationNoteDimension](#pcbfabricationnotedimension)
|
|
128
129
|
- [PcbFabricationNotePath](#pcbfabricationnotepath)
|
|
129
130
|
- [PcbFabricationNoteRect](#pcbfabricationnoterect)
|
|
@@ -1688,6 +1689,43 @@ interface PcbCutoutRect {
|
|
|
1688
1689
|
}
|
|
1689
1690
|
```
|
|
1690
1691
|
|
|
1692
|
+
### PcbDebugObject
|
|
1693
|
+
|
|
1694
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_debug_object.ts)
|
|
1695
|
+
|
|
1696
|
+
```typescript
|
|
1697
|
+
type PcbDebugObject = PcbDebugRect | PcbDebugLine | PcbDebugPoint
|
|
1698
|
+
|
|
1699
|
+
interface PcbDebugRect {
|
|
1700
|
+
type: "pcb_debug_object"
|
|
1701
|
+
pcb_debug_object_id: string
|
|
1702
|
+
label?: string
|
|
1703
|
+
shape: "rect"
|
|
1704
|
+
center: Point
|
|
1705
|
+
size: Size
|
|
1706
|
+
subcircuit_id?: string
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
interface PcbDebugLine {
|
|
1710
|
+
type: "pcb_debug_object"
|
|
1711
|
+
pcb_debug_object_id: string
|
|
1712
|
+
label?: string
|
|
1713
|
+
shape: "line"
|
|
1714
|
+
start: Point
|
|
1715
|
+
end: Point
|
|
1716
|
+
subcircuit_id?: string
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
interface PcbDebugPoint {
|
|
1720
|
+
type: "pcb_debug_object"
|
|
1721
|
+
pcb_debug_object_id: string
|
|
1722
|
+
label?: string
|
|
1723
|
+
shape: "point"
|
|
1724
|
+
center: Point
|
|
1725
|
+
subcircuit_id?: string
|
|
1726
|
+
}
|
|
1727
|
+
```
|
|
1728
|
+
|
|
1691
1729
|
### PcbFabricationNoteDimension
|
|
1692
1730
|
|
|
1693
1731
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_fabrication_note_dimension.ts)
|