freerouting / freerouting

Advanced PCB auto-router
https://www.freerouting.app
GNU General Public License v3.0
1.23k stars 221 forks source link

Create and reload regular snapshots for long-running boards #190

Closed andrasfuchs closed 1 year ago

andrasfuchs commented 1 year ago

We already have a snapshot function with the -im command line argument, but it's not well documented and rarely used.

It would be great if it worked seamlessly in the background, making a restorable snapshot every ~30 minutes. This would help projects like @lynchaj Z80 manageable even if the routing process gets terminated unexpectedly.

Here is an example file for testing.

andrasfuchs commented 1 year ago

This feature needs to be broken into smaller tasks:

andrasfuchs commented 1 year ago

It still needs some testing, but I implemented this feature. It will be available in the next release.

image

Every time a better routing is found, a new snapshot is saved. If the routing is cancelled by the user or terminated in any other way, the next time we open the original file the above confirmation dialog offers the continuation of the process by loading the snapshot file back.