Wave 165/509: kernel: bridges read their support faces on the record (and 3 more)

4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 9b5e0a8b4 jyviko: kernel: T-spline sheets as record faces; NURBS faces on the record
- 5c1b335e1 jyviko: kernel: bridges read their support faces on the record
- b5a7d52b7 jyviko: kernel: bridges and surfaces read the body's own record
- c83bd8f94 jyviko: kernel: T-spline and offset tests read the body's record

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
This commit is contained in:
jyviko
2026-10-22 07:15:40 -04:00
parent fde43b5317
commit ce74cebdc2
6 changed files with 431 additions and 334 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ mod tests {
let z = |x: f64| 50.0 - (1600.0 - x * x).sqrt();
let rim = [Vec3::new(14.0, 0.0, z(14.0)), Vec3::new(0.0, 14.0, z(0.0)), Vec3::new(-14.0, 0.0, z(-14.0)), Vec3::new(0.0, -14.0, z(0.0))];
let cover = crate::patch_edges(&cup, &rim).unwrap();
let record = crate::native::brep_record(&cover).unwrap();
let record = cover.record();
let s = solidcraft_geom::brep::eval::SurfaceEval::new(&record.faces[0].surface).unwrap();
let out = offset_surface(&cover, &[0], 1.5, 0.01).unwrap();
let mesh = out.mesh(&crate::MeshTolerance::chord(0.05)).unwrap();