circuit-json 0.0.432 → 0.0.434
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 +22 -0
- package/dist/index.d.mts +1126 -204
- package/dist/index.mjs +539 -696
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -147,6 +147,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
147
147
|
- [PcbPortNotMatchedError](#pcbportnotmatchederror)
|
|
148
148
|
- [PcbRouteHints](#pcbroutehints)
|
|
149
149
|
- [PcbSilkscreenCircle](#pcbsilkscreencircle)
|
|
150
|
+
- [PcbSilkscreenGraphic](#pcbsilkscreengraphic)
|
|
150
151
|
- [PcbSilkscreenLine](#pcbsilkscreenline)
|
|
151
152
|
- [PcbSilkscreenOval](#pcbsilkscreenoval)
|
|
152
153
|
- [PcbSilkscreenPath](#pcbsilkscreenpath)
|
|
@@ -2323,6 +2324,27 @@ interface PcbSilkscreenCircle {
|
|
|
2323
2324
|
}
|
|
2324
2325
|
```
|
|
2325
2326
|
|
|
2327
|
+
### PcbSilkscreenGraphic
|
|
2328
|
+
|
|
2329
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_silkscreen_graphic.ts)
|
|
2330
|
+
|
|
2331
|
+
Defines a BRep silkscreen graphic on the PCB
|
|
2332
|
+
|
|
2333
|
+
```typescript
|
|
2334
|
+
/** Defines a BRep silkscreen graphic on the PCB */
|
|
2335
|
+
interface PcbSilkscreenGraphicBRep {
|
|
2336
|
+
type: "pcb_silkscreen_graphic"
|
|
2337
|
+
pcb_silkscreen_graphic_id: string
|
|
2338
|
+
pcb_component_id: string
|
|
2339
|
+
pcb_group_id?: string
|
|
2340
|
+
subcircuit_id?: string
|
|
2341
|
+
layer: VisibleLayer
|
|
2342
|
+
image_asset?: Asset
|
|
2343
|
+
shape: "brep"
|
|
2344
|
+
brep_shape: BRepShape
|
|
2345
|
+
}
|
|
2346
|
+
```
|
|
2347
|
+
|
|
2326
2348
|
### PcbSilkscreenLine
|
|
2327
2349
|
|
|
2328
2350
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_silkscreen_line.ts)
|