@tscircuit/capacity-autorouter 0.0.876 → 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 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;
@@ -6778,6 +6780,8 @@ interface AutoroutingPipelineSolver11SimplificationOptions {
6778
6780
  iterations?: number;
6779
6781
  /** Enables coordinated layer swaps that reduce vias at crossings. */
6780
6782
  enableCrossingViaReduction?: boolean;
6783
+ /** Adds collision-checked vertex shortcuts after each path pass. Defaults to true. */
6784
+ enableVertexShortcuts?: boolean;
6781
6785
  }
6782
6786
  type AutoroutingPipeline11SimplificationInput = {
6783
6787
  inputSrj: SimpleRouteJson;
@@ -7081,6 +7085,7 @@ declare class MultiSimplifiedPathSolver extends BaseSolver {
7081
7085
  minBoardEdgeClearance: number;
7082
7086
  defaultViaDiameter: number;
7083
7087
  useTraceWidthAwareClearance: boolean;
7088
+ enableVertexShortcuts: boolean;
7084
7089
  constructor(params: {
7085
7090
  unsimplifiedHdRoutes: HighDensityIntraNodeRoute$1[];
7086
7091
  /** Routed copper that participates in collision checks but is never changed. */
@@ -7095,6 +7100,7 @@ declare class MultiSimplifiedPathSolver extends BaseSolver {
7095
7100
  minBoardEdgeClearance?: number;
7096
7101
  defaultViaDiameter?: number;
7097
7102
  useTraceWidthAwareClearance?: boolean;
7103
+ enableVertexShortcuts?: boolean;
7098
7104
  });
7099
7105
  _step(): void;
7100
7106
  visualize(): GraphicsObject;