@tscircuit/capacity-autorouter 0.0.875 → 0.0.877
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/dist/index.d.ts +9 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2543,6 +2543,7 @@ declare class TraceSimplificationSolver extends BaseSolver {
|
|
|
2543
2543
|
* coordinates or layers when routes represent spliceable local sections
|
|
2544
2544
|
* - useTraceWidthAwareClearance: Uses each route segment's actual copper
|
|
2545
2545
|
* width when checking path-simplification clearance
|
|
2546
|
+
* - enableVertexShortcuts: Adds a vertex cleanup pass after path sampling
|
|
2546
2547
|
* - terminalLayerIndicesByPcbPortId: Physical copper-layer indices on
|
|
2547
2548
|
* which each PCB-port terminal can directly accept a route endpoint
|
|
2548
2549
|
* without a via
|
|
@@ -2566,6 +2567,7 @@ declare class TraceSimplificationSolver extends BaseSolver {
|
|
|
2566
2567
|
readonly enableCrossingViaReduction?: boolean;
|
|
2567
2568
|
readonly preserveRouteEndpoints?: boolean;
|
|
2568
2569
|
readonly useTraceWidthAwareClearance?: boolean;
|
|
2570
|
+
readonly enableVertexShortcuts?: boolean;
|
|
2569
2571
|
readonly terminalLayerIndicesByPcbPortId?: ReadonlyMap<string, ReadonlySet<number>>;
|
|
2570
2572
|
});
|
|
2571
2573
|
private validatePreservedRouteEndpoints;
|
|
@@ -5227,6 +5229,7 @@ declare class Pipeline4HighDensityRepairSolver extends BaseSolver {
|
|
|
5227
5229
|
readonly originalObstacles: Obstacle[];
|
|
5228
5230
|
readonly obstacleSHI: ObstacleSpatialHashIndex;
|
|
5229
5231
|
readonly colorMap: Record<string, string>;
|
|
5232
|
+
readonly connMap?: ConnectivityMap;
|
|
5230
5233
|
repairedRoutesByIndex: Map<number, HighDensityIntraNodeRoute$1>;
|
|
5231
5234
|
activeSampleIndex: number;
|
|
5232
5235
|
activeSubSolver: HighDensityRepairSolver | null;
|
|
@@ -5238,6 +5241,7 @@ declare class Pipeline4HighDensityRepairSolver extends BaseSolver {
|
|
|
5238
5241
|
repairMargin?: number;
|
|
5239
5242
|
colorMap?: Record<string, string>;
|
|
5240
5243
|
maxSampleEntries?: number;
|
|
5244
|
+
connMap?: ConnectivityMap;
|
|
5241
5245
|
});
|
|
5242
5246
|
getSolverName(): string;
|
|
5243
5247
|
getConstructorParams(): readonly [{
|
|
@@ -5246,6 +5250,7 @@ declare class Pipeline4HighDensityRepairSolver extends BaseSolver {
|
|
|
5246
5250
|
readonly obstacles: Obstacle[];
|
|
5247
5251
|
readonly repairMargin: number;
|
|
5248
5252
|
readonly colorMap: Record<string, string>;
|
|
5253
|
+
readonly connMap: ConnectivityMap | undefined;
|
|
5249
5254
|
}];
|
|
5250
5255
|
_step(): void;
|
|
5251
5256
|
getOutput(): HighDensityRoute$1[];
|
|
@@ -6775,6 +6780,8 @@ interface AutoroutingPipelineSolver11SimplificationOptions {
|
|
|
6775
6780
|
iterations?: number;
|
|
6776
6781
|
/** Enables coordinated layer swaps that reduce vias at crossings. */
|
|
6777
6782
|
enableCrossingViaReduction?: boolean;
|
|
6783
|
+
/** Adds collision-checked vertex shortcuts after each path pass. Defaults to true. */
|
|
6784
|
+
enableVertexShortcuts?: boolean;
|
|
6778
6785
|
}
|
|
6779
6786
|
type AutoroutingPipeline11SimplificationInput = {
|
|
6780
6787
|
inputSrj: SimpleRouteJson;
|
|
@@ -7078,6 +7085,7 @@ declare class MultiSimplifiedPathSolver extends BaseSolver {
|
|
|
7078
7085
|
minBoardEdgeClearance: number;
|
|
7079
7086
|
defaultViaDiameter: number;
|
|
7080
7087
|
useTraceWidthAwareClearance: boolean;
|
|
7088
|
+
enableVertexShortcuts: boolean;
|
|
7081
7089
|
constructor(params: {
|
|
7082
7090
|
unsimplifiedHdRoutes: HighDensityIntraNodeRoute$1[];
|
|
7083
7091
|
/** Routed copper that participates in collision checks but is never changed. */
|
|
@@ -7092,6 +7100,7 @@ declare class MultiSimplifiedPathSolver extends BaseSolver {
|
|
|
7092
7100
|
minBoardEdgeClearance?: number;
|
|
7093
7101
|
defaultViaDiameter?: number;
|
|
7094
7102
|
useTraceWidthAwareClearance?: boolean;
|
|
7103
|
+
enableVertexShortcuts?: boolean;
|
|
7095
7104
|
});
|
|
7096
7105
|
_step(): void;
|
|
7097
7106
|
visualize(): GraphicsObject;
|