Commit Graph

105 Commits

Author SHA1 Message Date
Mikolaj Wielgus 1c7042c8c3 autorouter: move `Execute` and `ExecuteWithStatus` to own file 2024-09-29 03:17:07 +02:00
Mikolaj Wielgus f414089521 tests: add forgotten files (again)
I once again have forgotten to commit some files.
2024-09-27 18:27:27 +02:00
Mikolaj Wielgus 39b8c572c7 tests: update command files to the new format 2024-09-27 18:01:56 +02:00
Mikolaj Wielgus 1642eacfbf tests: rename forgotten files and partially fix 3pin xlr test 2024-09-27 17:53:09 +02:00
Mikolaj Wielgus d43983a84d tests: clean up a bit in the tests directory 2024-09-27 01:59:25 +02:00
Mikolaj Wielgus 31bc9a9447 tests: update reference value in THT diode bridge rectifier test 2024-08-25 23:51:42 +02:00
Mikolaj Wielgus 541b7acb04 tests: fix compilation error 2024-08-22 03:08:55 +02:00
Mikolaj Wielgus ca27804c64 drawing: move band length measurement to new band refobject 2024-07-21 16:45:36 +02:00
Mikolaj Wielgus 00a68f1c67 cleanup: remove mistakenly staged SES files 2024-07-20 00:20:12 +02:00
Mikolaj Wielgus 0dacb99c9e tests: shorten the paths to test projects 2024-07-18 14:18:42 +02:00
Mikolaj Wielgus ace5709e5d cleanup: `cargo fix`, `cargo fmt` to reduce number of error messages 2024-07-15 13:14:17 +02:00
Mikolaj Wielgus 47e1f7760e tests: adjust loading design file to the new `BufRead` interface 2024-07-09 18:57:37 +02:00
Mikolaj Wielgus 806742736a cleanup: get rid of `*Trait` names for traits, use verbs and sentences 2024-07-03 13:40:37 +02:00
Mikolaj Wielgus 3ce8cfcabc autorouter: fix redo operation
Redone operation was only dispatched, not truly executed.
2024-06-25 11:20:59 +02:00
Mikolaj Wielgus d4a310a5c0 graph: disambiguate naming of different kinds of indices
Disambiguate between node indices and (teir inner) petgraph indices.
Rename "band index" to "band first seg index", as we identify bands by
teir first segs. Rename "trianvertex index" and "navvertex index"
respectively to "trianvertex node index" and "navvertex node index", as
these point to nodes on the geometry graph and only indirectly to
vertices on the vertex graph.
2024-06-18 15:30:33 +02:00
Mikolaj Wielgus e15e1efe5e router: remove observers
The observer "pattern", arguably, is an anti-pattern that managed to get
into textbooks. It causes a lot of problems, it was a bad idea to use
it.
2024-06-18 01:37:45 +02:00
Mikolaj Wielgus a7b4a84b98 layout: remove inserted dots if placing via fails 2024-06-17 23:59:36 +02:00
Mikolaj Wielgus 9d00e95457 specctra: change "dsn" to "specctra" where it's about both DSN and SES 2024-06-16 18:04:20 +02:00
Mikolaj Wielgus 96ad809a83 tests: fix multilayer test (somehow I managed to earlier push it broken) 2024-06-16 14:22:30 +02:00
Mikolaj Wielgus 4ec9467649 tests: test names of loaded layers in signal integrity test test 2024-06-15 01:07:18 +02:00
Mikolaj Wielgus c4ac090790 tests: add signal integrity test board (4-layer) test data 2024-06-14 23:21:33 +02:00
Mikolaj Wielgus cff6b5aaf6 cleanup: cargo fix, cargo fmt 2024-06-13 13:38:12 +02:00
Mikolaj Wielgus 90bc90350d tests: test via placement failure 2024-06-12 01:51:04 +02:00
Mikolaj Wielgus c5148b0cb1 tests: update tht_diode_bridge_rectifier reference data 2024-06-09 20:42:26 +02:00
Mikolaj Wielgus 7a02877eb4 board,dsn: move layer and net name bidirectional lookup to `Mesadata` 2024-06-08 21:39:25 +02:00
Mikolaj Wielgus 19a4766cb5 board,dsn: introduce `MesadataTrait`, an extension of `RulesTrait`
The trait's contents aren't implemented yet.

"mesa" is supposed to mean the opposite of "meta". By "mesadata" I don't
mean mere content or payload: I mean data that is stored *inside* or
*under* such content or payload.

I found this meaning of "mesa" -- as opposite of "meta" -- by browsing
somewhere on the internet. Fair chance many classicists would think
poorly of this usage. But I don't care about etymology: I just need a
word to close a lexical gap.
2024-06-08 16:36:21 +02:00
Mikolaj Wielgus 1dc3718159 board: move board to its own directory 2024-06-08 13:37:27 +02:00
Mikolaj Wielgus cd1e78db6f tests: perform some undo-redo sanity testing before each test 2024-06-07 19:23:13 +02:00
Mikolaj Wielgus 91480453b3 tests: add 3-pin XLR THT female to THT female test
Hardly functional so far.
2024-06-07 02:14:05 +02:00
Mikolaj Wielgus 5b4f35b57e tests: add 3-pin XLR THT female to THT female test board
Cannot load yet, as the footprint used contains keepout areas for which
we haven't implemented parsing yet.
2024-06-06 21:22:26 +02:00
Mikolaj Wielgus eea1da604f tests: keep single-layer and multilayer test data in separate dirs 2024-06-06 14:49:50 +02:00
Mikolaj Wielgus e574043c2f tests: move common code to new common module 2024-06-06 02:30:25 +02:00
Mikolaj Wielgus a02bf1541e autorouter: implement measurement of band length 2024-06-05 23:20:55 +02:00
Mikolaj Wielgus 352a96f895 tests: fix single-layer THT diode bridge rectifier test 2024-06-04 14:49:41 +02:00
Mikolaj Wielgus 5eeeb5a004 autorouter: select nodes with pin-layer pairs, not only pins
We call these pairs "selectors".

The command file format has been thus changed. I've upgraded the command
files in tests with the following command:

    jq ".done?.[].Autoroute |= {selectors: ([.pins.[] | {pin: ., layer: \"F.Cu\"}])}" $FILE | sponge $FILE

Where $FILE is the name of the upgraded command file.
2024-06-04 01:54:10 +02:00
Mikolaj Wielgus a80dfc10be autorouter,router: shorten and clarify terminology
Rename "triangulation vertex" to just "trianvertex".
Rename "navigation vertex" to just "navvertex".

The standalone word "vertex" was overused and in some cases confusing.
2024-06-03 12:46:27 +02:00
Mikolaj Wielgus 02a5e13e23 tests: add single-layer THT diode bridge rectifier test 2024-06-02 01:52:59 +02:00
Mikolaj Wielgus 765d8495c6 tests: add four 3rd order SMD LC filters test 2024-06-01 00:34:09 +02:00
Mikolaj Wielgus de17adb01c layout: move pin information to a new parent object, `Board` 2024-05-31 01:47:51 +02:00
Mikolaj Wielgus b22e3dce1a router,autorouter: stop hiding layout behind an arc-mutex
This was preventing us from creating a new abstraction layer over
layout.
2024-05-30 22:57:20 +02:00
Mikolaj Wielgus a757576fe3 tests: fix 0603 breakout test by passing a command file 2024-05-25 02:33:10 +02:00
Mikolaj Wielgus 4a4f18f558 egui,autorouter: implement undo/redo in GUI 2024-05-15 03:40:48 +02:00
Mikolaj Wielgus 9bd63d3f0d tests: change project name of THT female to THT female test 2024-05-12 01:55:35 +02:00
Mikolaj Wielgus 338adc32a3 tests: test routed connections and number of ratlines in 0603 breakout 2024-05-12 01:48:56 +02:00
Mikolaj Wielgus 4f7c3b40d9 tests: add THT female to THT female DE-9 gender changer testdata 2024-05-11 15:03:05 +02:00
Mikolaj Wielgus 2a97e9bb06 tests: add 0603 breakout test 2024-05-06 20:49:38 +02:00
Mikolaj Wielgus d1ae0ec9c6 tests: remove residual traces from the unrouted LM317 breakout 2024-04-23 22:18:03 +02:00
Mikolaj Wielgus 8ac63ea6d1 tests: add unrouted export of prerouted_lm317_breakout 2024-04-20 20:28:46 +02:00
Tomasz Cichoń 23fe001647 tests: add export of prerouted_lm317_breakout
The file can now be parsed and partially loaded into Layout.
2024-03-08 09:09:38 +01:00
Mikolaj Wielgus d5d26cdaeb tests: add prerouted LM317 breakout board project for testing
Will add some tests for it in later commits.
2024-03-01 11:13:04 +00:00
Tomasz Cichoń de21bbaa8e dsn, rules: fix import bugs, update test file 2024-02-29 22:12:37 +01:00
Mikolaj Wielgus 5ba56963ee dsn,tests: use pins instead of vias in test .dsn file 2024-02-23 23:07:39 +00:00
Tomasz Cichoń bf7d89e7bd dsn: include the source files the test case was exported from 2024-02-23 04:34:08 +01:00
Tomasz Cichoń 2014be1004 dsn: add loading of simple images containing pins 2024-02-23 03:52:07 +01:00
Tomasz Cichoń 3f6bad2ed6 dsn, sdl2-demo: replace hardcoded layout with basic .dsn file 2024-02-21 19:22:05 +01:00