circuit-json 0.0.431 → 0.0.433
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 +23 -0
- package/dist/index.d.mts +716 -22
- package/dist/index.mjs +508 -481
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -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)
|
|
@@ -3015,6 +3037,7 @@ interface SchematicPath {
|
|
|
3015
3037
|
schematic_symbol_id?: string
|
|
3016
3038
|
fill_color?: string
|
|
3017
3039
|
is_filled?: boolean
|
|
3040
|
+
is_dashed: boolean
|
|
3018
3041
|
stroke_width?: number | null
|
|
3019
3042
|
stroke_color?: string
|
|
3020
3043
|
dash_length?: number
|