@tscircuit/capacity-autorouter 0.0.721 → 0.0.722
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ interface SimpleRouteJson {
|
|
|
60
60
|
obstacles: Obstacle[]
|
|
61
61
|
connections: Array<SimpleRouteConnection>
|
|
62
62
|
buses?: Array<SimpleRouteBus>
|
|
63
|
+
allowViaInPad?: boolean
|
|
63
64
|
bounds: { minX: number; maxX: number; minY: number; maxY: number }
|
|
64
65
|
traces?: SimplifiedPcbTraces // Optional for input
|
|
65
66
|
}
|
|
@@ -92,6 +93,10 @@ interface SimpleRouteBus {
|
|
|
92
93
|
bus. Bus metadata is preserved in the output so routing implementations can
|
|
93
94
|
apply the constraint without losing the original membership or ordering.
|
|
94
95
|
|
|
96
|
+
Via-in-pad repair is disabled by default because it generally requires filled
|
|
97
|
+
and capped vias. Set `allowViaInPad: true` only when the fabrication process
|
|
98
|
+
supports it.
|
|
99
|
+
|
|
95
100
|
### Output Format
|
|
96
101
|
|
|
97
102
|
The `getOutputSimpleRouteJson()` method returns the original `SimpleRouteJson` with a populated `traces` property. The traces are represented as `SimplifiedPcbTraces`:
|
package/dist/index.d.ts
CHANGED
|
@@ -111,6 +111,11 @@ interface SimpleRouteJson {
|
|
|
111
111
|
connections: Array<SimpleRouteConnection>;
|
|
112
112
|
differentialPairs?: Array<DifferentialPair>;
|
|
113
113
|
buses?: Array<SimpleRouteBus>;
|
|
114
|
+
/**
|
|
115
|
+
* Allows DRC repair to place layer transitions inside connected pads.
|
|
116
|
+
* Defaults to false because via-in-pad generally requires filled and capped vias.
|
|
117
|
+
*/
|
|
118
|
+
allowViaInPad?: boolean;
|
|
114
119
|
bounds: {
|
|
115
120
|
minX: number;
|
|
116
121
|
maxX: number;
|