From 5dfa26dea97c84ef3fea1a7fb783443ad0ddeac8 Mon Sep 17 00:00:00 2001 From: ShiboSoftwareDev Date: Sun, 12 Oct 2025 23:35:20 +0200 Subject: [PATCH] update autorouter --- package.json | 2 +- .../__snapshots__/solderjumper-circuit-pcb.snap.svg | 2 +- .../__snapshots__/multilayer-resistor-cross2-pcb.snap.svg | 2 +- .../__snapshots__/trace-hint-with-local-autorouter-pcb.snap.svg | 2 +- .../__snapshots__/via-connect-trace-pcb.snap.svg | 2 +- .../pcb-component-overlap-different-types-pcb.snap.svg | 2 +- tests/drc/__snapshots__/pcb-component-overlap-pcb.snap.svg | 2 +- tests/drc/__snapshots__/pcb-hole-overlap-pcb.snap.svg | 2 +- .../example29-pcb_component_outside_board_error-pcb.snap.svg | 2 +- .../examples/__snapshots__/example34-board-anchor2-pcb.snap.svg | 2 +- .../examples/__snapshots__/example34-board-anchor3-pcb.snap.svg | 2 +- .../__snapshots__/capacity-mesh-autorouting1-pcb.snap.svg | 2 +- .../__snapshots__/four-layer-routing01-pcb.snap.svg | 2 +- .../footprint/__snapshots__/footprint-library-map2-pcb.snap.svg | 2 +- .../group-subcircuit-no-duplicate-trace-pcb.snap.svg | 2 +- .../__snapshots__/repro1-packing-imported-board-pcb.snap.svg | 2 +- tests/repros/__snapshots__/repro18-jumper-pcb.snap.svg | 2 +- .../__snapshots__/repro44-e2e-pack-and-schematic-pcb.snap.svg | 2 +- .../__snapshots__/repro45-pinheader-connections-pcb.snap.svg | 2 +- tests/repros/__snapshots__/repro48-555-timer-pcb.snap.svg | 2 +- .../repro58-pcb-autolayout-out-of-board-pcb.snap.svg | 2 +- ...repro60-arduino-shield-components-outside-board-pcb.snap.svg | 2 +- .../__snapshots__/repro10-usbc-flashlight-pcb.snap.svg | 2 +- .../__snapshots__/simple-route-json-outline-pcb.snap.svg | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 64e260e91..7018d3606 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@biomejs/biome": "^1.8.3", - "@tscircuit/capacity-autorouter": "^0.0.131", + "@tscircuit/capacity-autorouter": "^0.0.132", "@tscircuit/checks": "^0.0.85", "@tscircuit/circuit-json-util": "^0.0.72", "@tscircuit/common": "^0.0.9", diff --git a/tests/components/normal-components/__snapshots__/solderjumper-circuit-pcb.snap.svg b/tests/components/normal-components/__snapshots__/solderjumper-circuit-pcb.snap.svg index 5891a78bb..9c85713d5 100644 --- a/tests/components/normal-components/__snapshots__/solderjumper-circuit-pcb.snap.svg +++ b/tests/components/normal-components/__snapshots__/solderjumper-circuit-pcb.snap.svg @@ -1 +1 @@ -R1R2R3J1 \ No newline at end of file +R1R2R3J1 \ No newline at end of file diff --git a/tests/components/primitive-components/__snapshots__/multilayer-resistor-cross2-pcb.snap.svg b/tests/components/primitive-components/__snapshots__/multilayer-resistor-cross2-pcb.snap.svg index 7461cfe4c..6b57ac1f3 100644 --- a/tests/components/primitive-components/__snapshots__/multilayer-resistor-cross2-pcb.snap.svg +++ b/tests/components/primitive-components/__snapshots__/multilayer-resistor-cross2-pcb.snap.svg @@ -1 +1 @@ -R4R1R2R3 \ No newline at end of file +R4R1R2R3 \ No newline at end of file diff --git a/tests/components/primitive-components/__snapshots__/trace-hint-with-local-autorouter-pcb.snap.svg b/tests/components/primitive-components/__snapshots__/trace-hint-with-local-autorouter-pcb.snap.svg index c8bcc36fb..6b781c71c 100644 --- a/tests/components/primitive-components/__snapshots__/trace-hint-with-local-autorouter-pcb.snap.svg +++ b/tests/components/primitive-components/__snapshots__/trace-hint-with-local-autorouter-pcb.snap.svg @@ -1 +1 @@ -R1LED1 \ No newline at end of file +R1LED1 \ No newline at end of file diff --git a/tests/components/primitive-components/__snapshots__/via-connect-trace-pcb.snap.svg b/tests/components/primitive-components/__snapshots__/via-connect-trace-pcb.snap.svg index 2a29c390a..cb5364978 100644 --- a/tests/components/primitive-components/__snapshots__/via-connect-trace-pcb.snap.svg +++ b/tests/components/primitive-components/__snapshots__/via-connect-trace-pcb.snap.svg @@ -1 +1 @@ -C1TP1TP2 \ No newline at end of file +C1TP1TP2 \ No newline at end of file diff --git a/tests/drc/__snapshots__/pcb-component-overlap-different-types-pcb.snap.svg b/tests/drc/__snapshots__/pcb-component-overlap-different-types-pcb.snap.svg index 2acf01401..e869b5ff6 100644 --- a/tests/drc/__snapshots__/pcb-component-overlap-different-types-pcb.snap.svg +++ b/tests/drc/__snapshots__/pcb-component-overlap-different-types-pcb.snap.svg @@ -1 +1 @@ -R1C1R2R3PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_2" \ No newline at end of file +R1C1R2R3PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_2" \ No newline at end of file diff --git a/tests/drc/__snapshots__/pcb-component-overlap-pcb.snap.svg b/tests/drc/__snapshots__/pcb-component-overlap-pcb.snap.svg index 8e4eec9da..8d7f134d2 100644 --- a/tests/drc/__snapshots__/pcb-component-overlap-pcb.snap.svg +++ b/tests/drc/__snapshots__/pcb-component-overlap-pcb.snap.svg @@ -1 +1 @@ -R1R2R3R4PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_2"PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_3" \ No newline at end of file +R1R2R3R4PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_2"PCB component pcb_smtpad "pcb_smtpad_1" overlaps with pcb_smtpad "pcb_smtpad_3" \ No newline at end of file diff --git a/tests/drc/__snapshots__/pcb-hole-overlap-pcb.snap.svg b/tests/drc/__snapshots__/pcb-hole-overlap-pcb.snap.svg index 997b932c9..8363102cf 100644 --- a/tests/drc/__snapshots__/pcb-hole-overlap-pcb.snap.svg +++ b/tests/drc/__snapshots__/pcb-hole-overlap-pcb.snap.svg @@ -1 +1 @@ -R1R2PCB component pcb_hole "pcb_hole_0" overlaps with pcb_hole "pcb_hole_1" \ No newline at end of file +R1R2PCB component pcb_hole "pcb_hole_0" overlaps with pcb_hole "pcb_hole_1" \ No newline at end of file diff --git a/tests/examples/__snapshots__/example29-pcb_component_outside_board_error-pcb.snap.svg b/tests/examples/__snapshots__/example29-pcb_component_outside_board_error-pcb.snap.svg index c1287b3fa..cb9739062 100644 --- a/tests/examples/__snapshots__/example29-pcb_component_outside_board_error-pcb.snap.svg +++ b/tests/examples/__snapshots__/example29-pcb_component_outside_board_error-pcb.snap.svg @@ -1 +1 @@ -R1C1U1 \ No newline at end of file +R1C1U1 \ No newline at end of file diff --git a/tests/examples/__snapshots__/example34-board-anchor2-pcb.snap.svg b/tests/examples/__snapshots__/example34-board-anchor2-pcb.snap.svg index 286169d81..1832bb434 100644 --- a/tests/examples/__snapshots__/example34-board-anchor2-pcb.snap.svg +++ b/tests/examples/__snapshots__/example34-board-anchor2-pcb.snap.svg @@ -1 +1 @@ -R1(0,0)board.anchor: bottom_right @ (10,10) \ No newline at end of file +R1(0,0)board.anchor: bottom_right @ (10,10) \ No newline at end of file diff --git a/tests/examples/__snapshots__/example34-board-anchor3-pcb.snap.svg b/tests/examples/__snapshots__/example34-board-anchor3-pcb.snap.svg index 1b1ff458b..e938e5092 100644 --- a/tests/examples/__snapshots__/example34-board-anchor3-pcb.snap.svg +++ b/tests/examples/__snapshots__/example34-board-anchor3-pcb.snap.svg @@ -1 +1 @@ -R1(0,0)board.anchor: center @ (5,5) \ No newline at end of file +R1(0,0)board.anchor: center @ (5,5) \ No newline at end of file diff --git a/tests/features/__snapshots__/capacity-mesh-autorouting1-pcb.snap.svg b/tests/features/__snapshots__/capacity-mesh-autorouting1-pcb.snap.svg index 69e0b5544..8184300c0 100644 --- a/tests/features/__snapshots__/capacity-mesh-autorouting1-pcb.snap.svg +++ b/tests/features/__snapshots__/capacity-mesh-autorouting1-pcb.snap.svg @@ -1 +1 @@ -R1R2_obstacleLED1 \ No newline at end of file +R1R2_obstacleLED1 \ No newline at end of file diff --git a/tests/features/four-layer-routing/__snapshots__/four-layer-routing01-pcb.snap.svg b/tests/features/four-layer-routing/__snapshots__/four-layer-routing01-pcb.snap.svg index d5f7f8cd8..6327af3d8 100644 --- a/tests/features/four-layer-routing/__snapshots__/four-layer-routing01-pcb.snap.svg +++ b/tests/features/four-layer-routing/__snapshots__/four-layer-routing01-pcb.snap.svg @@ -1 +1 @@ -pin1pin2pin3pin4pin5pin6pin7pin8pin9pin10pin11pin12J1pin1pin2pin3pin4pin5pin6pin7pin8pin9pin10pin11pin12J2U1 \ No newline at end of file +pin1pin2pin3pin4pin5pin6pin7pin8pin9pin10pin11pin12J1pin1pin2pin3pin4pin5pin6pin7pin8pin9pin10pin11pin12J2U1 \ No newline at end of file diff --git a/tests/footprint/__snapshots__/footprint-library-map2-pcb.snap.svg b/tests/footprint/__snapshots__/footprint-library-map2-pcb.snap.svg index 2027a51a0..c1245f166 100644 --- a/tests/footprint/__snapshots__/footprint-library-map2-pcb.snap.svg +++ b/tests/footprint/__snapshots__/footprint-library-map2-pcb.snap.svg @@ -1 +1 @@ -R2R1R1R1 \ No newline at end of file +R2R1R1R1 \ No newline at end of file diff --git a/tests/groups/__snapshots__/group-subcircuit-no-duplicate-trace-pcb.snap.svg b/tests/groups/__snapshots__/group-subcircuit-no-duplicate-trace-pcb.snap.svg index da0b55a81..425b86c02 100644 --- a/tests/groups/__snapshots__/group-subcircuit-no-duplicate-trace-pcb.snap.svg +++ b/tests/groups/__snapshots__/group-subcircuit-no-duplicate-trace-pcb.snap.svg @@ -1 +1 @@ -R3R4C1C2 \ No newline at end of file +R3R4C1C2 \ No newline at end of file diff --git a/tests/pcb-packing/repros/__snapshots__/repro1-packing-imported-board-pcb.snap.svg b/tests/pcb-packing/repros/__snapshots__/repro1-packing-imported-board-pcb.snap.svg index 97f310f1d..f820f0e6b 100644 --- a/tests/pcb-packing/repros/__snapshots__/repro1-packing-imported-board-pcb.snap.svg +++ b/tests/pcb-packing/repros/__snapshots__/repro1-packing-imported-board-pcb.snap.svg @@ -1 +1 @@ -pin1pin2pin3pin4pin5J1_greenpillR1_greenpillC1_greenpillC2R2LED_PWR \ No newline at end of file +pin1pin2pin3pin4pin5J1_greenpillR1_greenpillC1_greenpillC2R2LED_PWR \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro18-jumper-pcb.snap.svg b/tests/repros/__snapshots__/repro18-jumper-pcb.snap.svg index 4e2a4734e..a57c9984d 100644 --- a/tests/repros/__snapshots__/repro18-jumper-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro18-jumper-pcb.snap.svg @@ -1 +1 @@ -SJ1GNDVOUTJP6R1 \ No newline at end of file +SJ1GNDVOUTJP6R1 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro44-e2e-pack-and-schematic-pcb.snap.svg b/tests/repros/__snapshots__/repro44-e2e-pack-and-schematic-pcb.snap.svg index 2e03d0a59..8627a33b1 100644 --- a/tests/repros/__snapshots__/repro44-e2e-pack-and-schematic-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro44-e2e-pack-and-schematic-pcb.snap.svg @@ -1 +1 @@ -U1R1R2C1C2R3 \ No newline at end of file +U1R1R2C1C2R3 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro45-pinheader-connections-pcb.snap.svg b/tests/repros/__snapshots__/repro45-pinheader-connections-pcb.snap.svg index 34beb31d5..8cb2bca93 100644 --- a/tests/repros/__snapshots__/repro45-pinheader-connections-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro45-pinheader-connections-pcb.snap.svg @@ -1 +1 @@ -J1R1C1 \ No newline at end of file +J1R1C1 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro48-555-timer-pcb.snap.svg b/tests/repros/__snapshots__/repro48-555-timer-pcb.snap.svg index dcc5e9eb6..27d060484 100644 --- a/tests/repros/__snapshots__/repro48-555-timer-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro48-555-timer-pcb.snap.svg @@ -1 +1 @@ -U1R1R2C1C2VCCOUTGNDJ1 \ No newline at end of file +U1R1R2C1C2VCCOUTGNDJ1 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro58-pcb-autolayout-out-of-board-pcb.snap.svg b/tests/repros/__snapshots__/repro58-pcb-autolayout-out-of-board-pcb.snap.svg index 7be58a432..cc27835a1 100644 --- a/tests/repros/__snapshots__/repro58-pcb-autolayout-out-of-board-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro58-pcb-autolayout-out-of-board-pcb.snap.svg @@ -1 +1 @@ -JP1JP2pin1pin2pin3pin4U1C1C2R1R2R3D1pin1pin2pin3pin4JP3 \ No newline at end of file +JP1JP2pin1pin2pin3pin4U1C1C2R1R2R3D1pin1pin2pin3pin4JP3 \ No newline at end of file diff --git a/tests/repros/__snapshots__/repro60-arduino-shield-components-outside-board-pcb.snap.svg b/tests/repros/__snapshots__/repro60-arduino-shield-components-outside-board-pcb.snap.svg index 61c5624e6..6c8e35cec 100644 --- a/tests/repros/__snapshots__/repro60-arduino-shield-components-outside-board-pcb.snap.svg +++ b/tests/repros/__snapshots__/repro60-arduino-shield-components-outside-board-pcb.snap.svg @@ -1 +1 @@ -A0A1A2A3A4A5VINGND1GND0V5V3_3RESIOREFNCD7D6D5D4D3D2TXRXD8D9D10D11D12D13GND2AREFSDASCLR1LED1 \ No newline at end of file +A0A1A2A3A4A5VINGND1GND0V5V3_3RESIOREFNCD7D6D5D4D3D2TXRXD8D9D10D11D12D13GND2AREFSDASCLR1LED1 \ No newline at end of file diff --git a/tests/repros/repro10-usb-c-flashlight/__snapshots__/repro10-usbc-flashlight-pcb.snap.svg b/tests/repros/repro10-usb-c-flashlight/__snapshots__/repro10-usbc-flashlight-pcb.snap.svg index ac708afb6..f1a827b2e 100644 --- a/tests/repros/repro10-usb-c-flashlight/__snapshots__/repro10-usbc-flashlight-pcb.snap.svg +++ b/tests/repros/repro10-usb-c-flashlight/__snapshots__/repro10-usbc-flashlight-pcb.snap.svg @@ -1 +1 @@ -LEDR1 \ No newline at end of file +LEDR1 \ No newline at end of file diff --git a/tests/utils/autorouting/__snapshots__/simple-route-json-outline-pcb.snap.svg b/tests/utils/autorouting/__snapshots__/simple-route-json-outline-pcb.snap.svg index c30f8d1c5..6c860fde0 100644 --- a/tests/utils/autorouting/__snapshots__/simple-route-json-outline-pcb.snap.svg +++ b/tests/utils/autorouting/__snapshots__/simple-route-json-outline-pcb.snap.svg @@ -1 +1 @@ -R1R2 \ No newline at end of file +R1R2 \ No newline at end of file