topology.brep_local_operation partial
- Layer
- 49
- Upstream lines
- 330
- Functions
- 0
- Rust module
topology::brep::local_operation
Status history
- partial 330 lines
- green 330 lines
- partial 330 lines
Source: crates/solidcore/src/topology/brep/local_operation.rs
Upstream: source/SMLib/src/SmBrep.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
[2026-11-04 (#2400): PARTIAL, 6 known mismatches: the blend corner is the default and the old corner code is deleted, so these cases no longer agree with C++ v1.0.1's pinned corner (plan/findings/blend.fillet_corner_p3--blend-corner-default-diverges-from-cpp-v1-0-1-2026-11-04.md)] 2026-10-30 (#1462 P5): LocalOperation lends the B-rep attributes to the extended offset and copies them back with the faces; attributed op 3 (fixtures/topology.brep_local_operation/attributed.json, 18 cases; nurb_fillet face 5 left out, ND-493): cases=165 passed=156 rejected=7 parked=2. GREEN: difftest 115 cases, 108 pass, 0 failed, 0 deferred, 7 rejected, 0 known mismatches (local integration run on bb06099f1: A1 region-list count, cone side flag, bind_owners tolerance sync). 7e-11 (--seeds 1000: 1019 cases, 818 pass, 110 deferred, 0 failed; --perturb: all detected; 3 repeat runs identical, ASLR on). NOT IN callgraph/units.json: SmBrep::LocalOperation is unreached from any upstream test or SM_API entry point. Owns SmBrep::LocalOperation (SmBrep.cpp:11945) and the part of SmLocalOperationGeometryCreation the offset executive reads (OffsetExecutive::set_local_surfaces, LocalOperationGeometryCreation::faceuse_offset_with_backend). Rust: topology::brep::local_operation::local_operation; removes every face (p5::remove_faces) and copies the offset result in with a merge (p7::copy_faces) as upstream does. The runner replaces the surfaces of one to three faces of upstream .smb solids by planes derived from the faces' own surfaces (offset along the normal, tilted normal) by the real SmBrep::LocalOperation and by the port, and compares the status, the whole graph (topology, points, tolerances, intervals, UV domains) and samples of every edge curve and face surface; every C++ case it compares returns status 0. The former known mismatches (Solids/nurb_fillet.smb x8: plan/findings/topology.brep_local_operation--nurb-fillet-vertex-tolerances.md and its region-list addendum; cone.smb x2: plan/findings/topology.brep_local_operation--cone-zero-coordinate-noise.md and its resolved addendum) are fixed; both solids stay as named fixtures, and generated cases on them run on their own seed stream (fcNNNN, 32 by default, <unit>:fillet_cone) so the gen stream is unchanged. Deferred: SmFace::GetTolerance for a bare face handle (UNPORTED(topology.face_p2), reached by the plane intersect of the extended offset). Compared since the A1 region-list fix: the edge uses' stored UV trim curves (sampled on both sides). Not compared: the faces' Rust-only loops list, a face of a replaced list twice (the first surface wins, as upstream), surfaces other than planes as replacements. Uncertified: the debug drawing code; the arena-only notification store of the merge copy. The runner shares topology.brep_mirror's helpers (geometry, native lists, face-shell normalisation).
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 161
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 4
Metadata counts describe fields in the stored records; they are not passes or live failures.
Known failures (not blessed)
gen0014: tangency-labs/solidcore#2981: tilted disk returns three non-collinear straight boundary carriers; an affine image of the semicircle-and-diameter boundary has only onegen0019: tangency-labs/solidcore#2981: tilted disk returns three non-collinear straight boundary carriers; an affine image of the semicircle-and-diameter boundary has only onegen0073: tangency-labs/solidcore#2981: tilted disk returns three non-collinear straight boundary carriers; an affine image of the semicircle-and-diameter boundary has only onegen0078: tangency-labs/solidcore#2981: tilted disk returns three non-collinear straight boundary carriers; an affine image of the semicircle-and-diameter boundary has only one
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: offset.offset_executive_p1 partial offset.offset_executive_p2 partial surface.surface_p2 partial topology.brep_p1 green topology.brep_p2 green topology.brep_p5 green topology.brep_p7 green
Soft dependencies: none
Dependents: none
Soft dependents: none
Upstream functions
No upstream functions listed in harness/callgraph/units.json.
Module file-header table (3 rows)
| Rust | Upstream |
|---|---|
[local_operation] | SmBrep::LocalOperation |
[local_operation_simple] | (not upstream) SmBrep::LocalOperation with its own notification identities |
[transformed_face_surface] | (not upstream) one face's support under a rigid motion |
Upstream tests reaching this unit
none