8000 Freerouting leaves nets unrouted in 90 degree mode · Issue #413 · freerouting/freerouting · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Freerouting leaves nets unrouted in 90 degree mode #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
edwardcwang opened this issue Feb 7, 2025 · 2 comments
Open

Freerouting leaves nets unrouted in 90 degree mode #413

edwardcwang opened this issue Feb 7, 2025 · 2 comments
Labels
8000 bug
Milestone

Comments

@edwardcwang
Copy link

Describe the bug
Freerouting leaves nets unrouted in 90 degree mode. The design is 90-degree routable and a proof-of-concept routing is provided.

To Reproduce
Steps to reproduce the behavior:

  1. Open test.kicad_pcb in KiCAD.
  2. File -> Export -> Specctra DSN as test.dsn.
  3. Run freerouting via CLI as per the below.
  4. File -> Importt -> Specctra Session and observe unrouted nets.

Expected behavior
I expected Freerouting to either route the nets or provide more information about why it gave up/quit.

Screenshots

Freerouting output:
Image

Manually routed proof-of-concept:
Image

Environment

  • OS: Ubuntu 24.04 x86_64
  • EDA: KiCad 8.0.7
  • Freerouting version: 2.0.2-SNAPSHOT revision 5b1c365

Note: since Freerouting doesn't appear to have a way to force 90 degree routing via the CLI (as opposed to the GUI), I had to modify trace_angle_restriction below to force it to always be AngleRestriction.NINETY_DEGREE.

private transient AngleRestriction trace_angle_restriction;

Command line arguments

freerouting -ll 7 --gui.enabled=false --router.allowed_via_types=false --router.max_passes=10000 --router.fanout_max_passes=10000 --router.default_undesired_direction_trace_cost=0.01 --router.default_preferred_direction_trace_cost=0.01 --router.start_ripup_costs=1 -oit 0.001 -de test.dsn -do test.ses

Project files
If applicable, include project files like .pro, .kicad_pcb, .dsn.
See https://github.com/edwardcwang/freerouting-90deg-bug

Logs

2025-02-06 19:10:55.910 [main] INFO  Freerouting v2.0.2-SNAPSHOT (build-date: 2025-01-24)
2025-02-06 19:10:57.236 [ForkJoinPool.commonPool-worker-1] INFO  New version available: v2.0.1
2025-02-06 19:10:57.340 [Thread-7] INFO  Auto-router pass #1 on board '1b575aaf9b0e794f2e9428200ff7fe38' was completed in 0.12 seconds
2025-02-06 19:10:57.389 [Thread-7] INFO  Auto-router pass #2 on board 'a458a7ea65d54434e2593994bd7e7469' was completed in 0.04 seconds
@edwardcwang edwardcwang added the bug label Feb 7, 2025
@edwardcwang
Copy link
Author

Any updates on this issue?

@andrasfuchs
Copy link
Collaborator

Might be related to #367? I'll investigate it further this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants
0