solidcore
solidcore is a boundary-representation (B-rep) solid modeling kernel in safe Rust,
started as a port of NVIDIA's SMLib from usd-brep (Apache-2.0;
reference usd-brep v1.0.1 (3fd5b95)). The C++ is now reading material, not the correctness target.
CI checks Rust outputs against committed goldens; a golden proves an output unchanged, not correct.
Correctness is established by closed forms, geometric checks and invariants.
Green and partial below are historical port-plan statuses, not current CI verdicts.
The 282 units' golden record counts describe stored expectations, never measured passes.
See canonical CI for execution results.
This page is regenerated from the
repository on every push to main.
Earlier upstream pins
Difftest results against previous C++ references, kept after the pin moved on.
Progress over time
Share of in-scope upstream lines in green and partial units, from
plan/units/ along main's history (69 sampled states).
Timeline as a table
| Commit time | Green lines | Ported lines | Units ported |
|---|---|---|---|
| 0.0% | 0.0% | 0 / 260 | |
| 20.8% | 29.9% | 95 / 260 | |
| 26.8% | 36.3% | 110 / 261 | |
| 26.8% | 37.4% | 113 / 261 | |
| 26.8% | 40.2% | 121 / 261 | |
| 26.8% | 41.3% | 125 / 261 | |
| 28.4% | 50.0% | 146 / 261 | |
| 29.1% | 54.3% | 159 / 261 | |
| 29.2% | 58.3% | 168 / 261 | |
| 31.1% | 61.4% | 178 / 261 | |
| 31.8% | 64.8% | 185 / 261 | |
| 36.0% | 68.5% | 194 / 261 | |
| 36.0% | 69.6% | 197 / 261 | |
| 38.0% | 72.5% | 202 / 261 | |
| 38.2% | 74.2% | 206 / 261 | |
| 38.2% | 76.5% | 210 / 261 | |
| 38.6% | 81.1% | 219 / 261 | |
| 38.6% | 85.6% | 228 / 261 | |
| 38.6% | 87.5% | 233 / 261 | |
| 38.6% | 88.1% | 234 / 261 | |
| 39.4% | 88.8% | 236 / 261 | |
| 40.7% | 89.8% | 238 / 261 | |
| 43.2% | 93.9% | 247 / 261 | |
| 46.9% | 96.5% | 253 / 261 | |
| 48.1% | 97.0% | 254 / 261 | |
| 52.6% | 100.0% | 261 / 261 | |
| 67.4% | 100.0% | 261 / 261 | |
| 72.8% | 100.0% | 261 / 261 | |
| 74.7% | 100.0% | 261 / 261 | |
| 78.2% | 100.0% | 261 / 261 | |
| 82.3% | 100.0% | 261 / 261 | |
| 83.6% | 100.0% | 261 / 261 | |
| 87.3% | 100.0% | 261 / 261 | |
| 96.7% | 100.0% | 262 / 262 | |
| 99.5% | 100.0% | 262 / 262 | |
| 99.1% | 100.0% | 262 / 262 | |
| 100.0% | 100.0% | 262 / 262 | |
| 99.4% | 100.0% | 262 / 262 | |
| 99.4% | 100.0% | 262 / 262 | |
| 100.0% | 100.0% | 263 / 263 | |
| 100.0% | 100.0% | 263 / 263 | |
| 100.0% | 100.0% | 263 / 263 | |
| 99.2% | 100.0% | 266 / 266 | |
| 99.3% | 100.0% | 268 / 268 | |
| 100.0% | 100.0% | 278 / 278 | |
| 100.0% | 100.0% | 278 / 278 | |
| 99.5% | 100.0% | 280 / 280 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 99.3% | 99.3% | 281 / 282 | |
| 96.1% | 99.3% | 281 / 282 | |
| 93.2% | 99.3% | 281 / 282 | |
| 91.1% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 | |
| 89.7% | 99.3% | 281 / 282 |
By module
Click a module for its own progress chart and unit list.
| Module | Units ported | Lines | Progress | % |
|---|---|---|---|---|
| geom | 29 / 29 | 26,601 / 26,601 | 100% | |
| nurbs | 49 / 49 | 71,161 / 71,161 | 100% | |
| curve | 25 / 25 | 35,425 / 35,425 | 100% | |
| surface | 42 / 42 | 67,229 / 67,229 | 100% | |
| topology | 40 / 40 | 62,493 / 62,493 | 100% | |
| intersect | 26 / 26 | 42,083 / 42,083 | 100% | |
| primitive | 8 / 8 | 8,607 / 8,607 | 100% | |
| query | 12 / 12 | 11,989 / 11,989 | 100% | |
| mass | 1 / 1 | 1,066 / 1,066 | 100% | |
| sweep | 5 / 5 | 5,734 / 5,734 | 100% | |
| heal | 7 / 7 | 11,925 / 11,925 | 100% | |
| offset | 3 / 3 | 6,726 / 6,726 | 100% | |
| boolean | 9 / 9 | 14,128 / 14,128 | 100% | |
| blend | 24 / 25 | 40,570 / 43,575 | 93% | |
| (crate-wide) | 1 / 1 | 0 / 0 | 0% |
greenpartial
Historical surface/surface intersection corpus
119 cases from the external ssi-corpus, scored against known true intersections. The committed historical comparison records 110 Rust/C++ cases compared, 110 agree within 1e-9, 0 mismatched. All cases.
| Verdict | C++ | Rust |
|---|---|---|
| DEFERRED | 0 | 9 |
| ERROR | 2 | 1 |
| INCOMPLETE | 25 | 21 |
| PASS | 81 | 78 |
| WRONG TOPOLOGY | 11 | 10 |
Elsewhere
- All 282 units, with committed golden inventory and recorded deferrals.
- Dependency graph: what is ready to claim and what blocks the most.
- Solids: 9/9 primitives build, 9/9 pass, and what blocks each.
- Kernel cases: 704 cases of the kernel corpus with their renders and status.
- 1431 upstream issues found while porting.
- Model viewer: the upstream test models rendered by SMLib and by solidcore, side by side.
- Repository: how to port a unit, checklist.