上传文件至「/」
This commit is contained in:
+35
-1
@@ -137,7 +137,7 @@ mxpic_router/mxpic_router/builder.py
|
||||
mxpic_router/tests/test_eda_router_contract.py
|
||||
|
||||
|
||||
## 2026-06-10
|
||||
## 2026-06-09
|
||||
|
||||
### Scope
|
||||
|
||||
@@ -173,3 +173,37 @@ The current resistor test YAML was found to export `xsection: strip` and `family
|
||||
|
||||
mxpic_router/mxpic_router/builder.py
|
||||
mxpic_router/tests/test_eda_router_contract.py
|
||||
|
||||
|
||||
## 2026-06-10
|
||||
|
||||
### Scope
|
||||
|
||||
Backend routing condition alignment and automatic route direction normalization in `mxpic_router`.
|
||||
|
||||
### Summary
|
||||
|
||||
Recent work focused on aligning backend routing behavior with updated frontend metadata and reducing direction-related crossing issues in bundled automatic routes.
|
||||
|
||||
### Completed Work
|
||||
|
||||
#### 1. PCB Routing Condition Update
|
||||
|
||||
The PCB routing condition was updated to use the YAML link `family` field instead of route `xsection`.
|
||||
|
||||
Routes with `family: electrical` now enable `PCB=True`, regardless of the specific metal layer or xsection name. Optical routes remain unchanged.
|
||||
|
||||
#### 2. Automatic Route Direction Normalization
|
||||
|
||||
Automatic bundled routes are now normalized to route from the lower-x endpoint to the higher-x endpoint.
|
||||
|
||||
This keeps route direction consistent inside the same bundle and reduces crossing risks caused by mixed left-to-right and right-to-left link definitions.
|
||||
|
||||
#### 3. Test Coverage Update
|
||||
|
||||
Contract tests were added to verify electrical-family PCB routing and left-to-right automatic route ordering.
|
||||
|
||||
### Modified Files
|
||||
|
||||
mxpic_router/mxpic_router/builder.py
|
||||
mxpic_router/tests/test_eda_router_contract.py
|
||||
|
||||
Reference in New Issue
Block a user