circuit-json 0.0.537 → 0.0.539
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 +39 -0
- package/dist/index.d.mts +412 -7
- package/dist/index.mjs +541 -477
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,6 +115,8 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
115
115
|
- [CadCable](#cadcable)
|
|
116
116
|
- [CadCollisionError](#cadcollisionerror)
|
|
117
117
|
- [CadComponent](#cadcomponent)
|
|
118
|
+
- [CadExplosionMove](#cadexplosionmove)
|
|
119
|
+
- [CadExplosionStage](#cadexplosionstage)
|
|
118
120
|
- [CadReferenceSurface](#cadreferencesurface)
|
|
119
121
|
- [PCB Elements](#pcb-elements)
|
|
120
122
|
- [PcbAutoroutingError](#pcbautoroutingerror)
|
|
@@ -1610,6 +1612,41 @@ interface CadComponent {
|
|
|
1610
1612
|
}
|
|
1611
1613
|
```
|
|
1612
1614
|
|
|
1615
|
+
### CadExplosionMove
|
|
1616
|
+
|
|
1617
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/cad/cad_explosion_move.ts)
|
|
1618
|
+
|
|
1619
|
+
```typescript
|
|
1620
|
+
interface CadExplosionMove {
|
|
1621
|
+
type: "cad_explosion_move"
|
|
1622
|
+
cad_explosion_move_id: string
|
|
1623
|
+
cad_explosion_stage_id: string
|
|
1624
|
+
order: number
|
|
1625
|
+
targets: CadExplosionTarget[]
|
|
1626
|
+
translation: Point3
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
type CadExplosionTarget =
|
|
1630
|
+
| { type: "cad_reference_surface"; cad_reference_surface_id: string }
|
|
1631
|
+
| { type: "cad_component"; cad_component_id: string }
|
|
1632
|
+
| { type: "cad_explosion_stage"; cad_explosion_stage_id: string }
|
|
1633
|
+
```
|
|
1634
|
+
|
|
1635
|
+
### CadExplosionStage
|
|
1636
|
+
|
|
1637
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/cad/cad_explosion_stage.ts)
|
|
1638
|
+
|
|
1639
|
+
```typescript
|
|
1640
|
+
interface CadExplosionStage {
|
|
1641
|
+
type: "cad_explosion_stage"
|
|
1642
|
+
cad_explosion_stage_id: string
|
|
1643
|
+
name: string
|
|
1644
|
+
order: number
|
|
1645
|
+
cad_component_ids: string[]
|
|
1646
|
+
cad_reference_surface_ids?: string[]
|
|
1647
|
+
}
|
|
1648
|
+
```
|
|
1649
|
+
|
|
1613
1650
|
### CadReferenceSurface
|
|
1614
1651
|
|
|
1615
1652
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/cad/cad_reference_surface.ts)
|
|
@@ -3743,6 +3780,8 @@ interface PcbVia {
|
|
|
3743
3780
|
type: "pcb_via"
|
|
3744
3781
|
pcb_via_id: string
|
|
3745
3782
|
pcb_group_id?: string
|
|
3783
|
+
/** Owning manufacturing panel for copper connecting its child boards. */
|
|
3784
|
+
pcb_panel_id?: string
|
|
3746
3785
|
subcircuit_id?: string
|
|
3747
3786
|
subcircuit_connectivity_map_key?: string
|
|
3748
3787
|
x: Distance
|