sweep.trans_sweep_geometry green
- Layer
- 52
- Upstream lines
- 817
- Functions
- 11
- Rust module
sweep::trans_sweep_geometry
Status history
- todo 817 lines
- partial 817 lines
- green 817 lines
Source: crates/solidcore/src/sweep/trans_sweep_geometry.rs
Upstream: source/SMLib/inc/SmTransSweepGeometry.h, source/SMLib/src/SmTransSweepGeometry.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
CURRENT (after 68ed17170 / #1226): 788/788 pass, 0 rejected. GREEN (PR #692 merged with main after #685, CI 2026-10-24): PASS sweep.trans_sweep_geometry cases=788 passed=780 failed=0 deferred=0 rejected=8 max_rel_err=0; gen0411 passes now that #685 prepares face-owned surfaces for shell ray fires. Earlier: PARTIAL (PR #692, CreateFaceFromSurface op 8 fixture, 2026-10-23): 788 cases, 779 pass, 0 failed, 1 deferred (topology.face_p2: gen0411, shell ray fire on a face-owned surface while CreateFaceFromSurface splits a closed extrusion), 8 rejected (profile-curve constructor failures), max_rel_err 0. FaceSweepSame now makes its face with CreateFaceFromSurface on both sides and compares a failed status (11 cases, all SM_ERR 1001) instead of rejecting them; see findings.md. GREEN (PR #565, extrusion recognition, 2026-10-23): 788 cases, 769 pass, 0 failed, 0 deferred, 19 rejected native fixtures, max_rel_err 0. The 24 remaining stale extrusion-dispatch deferrals now compare exactly: recognised copies retain lazy state, evaluation/iso queries prepare temporary NURBs, and non-identity transforms build the NURB before transforming as upstream does. No tolerance, fixture rejection or case-count changes. #76 kernel-aware Surface dispatch (PR #313, 2026-10-21): 788 cases, 728 pass, 0 failed, 41 deferred (surface.sphere 41), max_rel_err 0; before 719 pass / 50 deferred. PARTIAL (PR #127): 788 cases, 719 bit-identical passes, 50 deferred on surface.cone_p2, 19 rejected native fixtures (not parity passes); zero failures, no absolute floors. All 11 owned functions plus GetEndCoordSystem ported; compiled SM_SWEEP_CHECKS-disabled behavior. Shared SweepGeometryCreation and SweepCheckType; native lines/circles/non-circular ellipses/Hermite/2D and rational B-splines/planes; constructor-failure guard regressions and Cartesian op/kind/flag coverage; ordered boundaries, endpoint aliases, tolerances, runtime types and evaluations compared. No incoming UNPORTED back-edges. 11 fns; largest: SmTranslationalSweepGeometry::CheckCurveSweep, SmTranslationalSweepGeometry::EdgeSweepHigher, SmTranslationalSweepGeometry::EdgeSweepSame, SmTranslationalSweepGeometry::FaceSweepSame; unit-SCC #22 (220 units); 45 upstream test entry points reach this unit
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
- 788
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: curve.curve_p2 green geom.axis2_placement green geom.extent2d green geom.vector3d green surface.surface_p2 partial sweep.topology_sweep green topology.edge green
Soft dependencies: curve.curve_p7 green curve.line green geom.object green geom.solution_array green geom.tol green geom.vector2d green nurbs.b_spline_curve_p1 green nurbs.b_spline_surface_n_lib_p1 green nurbs.b_spline_surface_p1 green nurbs.b_spline_surface_p2 green surface.surface_p7 green topology.brep_p1 green topology.face_p2 partial topology.vertex green
Dependents: none
Soft dependents: primitive.primitive_creation_p3 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmTranslationalSweepGeometry::~SmTranslationalSweepGeometry | SmTransSweepGeometry.h:40 | 1 | |
SmTranslationalSweepGeometry::SmTranslationalSweepGeometry | SmTransSweepGeometry.cpp:26 | 7 | [TranslationalSweepGeometry] |
SmTranslationalSweepGeometry::Copy | SmTransSweepGeometry.cpp:39 | 8 | |
SmTranslationalSweepGeometry::GetStartCoordSystem | SmTransSweepGeometry.cpp:56 | 29 | [TranslationalSweepGeometry::start_coord_system] |
SmTranslationalSweepGeometry::GetSweepTransform | SmTransSweepGeometry.cpp:113 | 11 | [TranslationalSweepGeometry::sweep_transform] |
SmTranslationalSweepGeometry::VertexSweepHigher | SmTransSweepGeometry.cpp:131 | 38 | [TranslationalSweepGeometry::vertex_sweep_higher] |
SmTranslationalSweepGeometry::VertexSweepSame | SmTransSweepGeometry.cpp:176 | 27 | [TranslationalSweepGeometry::vertex_sweep_same] |
SmTranslationalSweepGeometry::EdgeSweepHigher | SmTransSweepGeometry.cpp:212 | 252 | [TranslationalSweepGeometry::edge_sweep_higher] |
SmTranslationalSweepGeometry::EdgeSweepSame | SmTransSweepGeometry.cpp:470 | 54 | [TranslationalSweepGeometry::edge_sweep_same] |
SmTranslationalSweepGeometry::FaceSweepSame | SmTransSweepGeometry.cpp:530 | 41 | [TranslationalSweepGeometry::face_sweep_same] |
SmTranslationalSweepGeometry::CheckCurveSweep | SmTransSweepGeometry.cpp:628 | 349 | [TranslationalSweepGeometry::check_curve_sweep] |
Module file-header table (10 rows)
| Rust | Upstream |
|---|---|
[TranslationalSweepGeometry] | SmTranslationalSweepGeometry |
[TranslationalSweepGeometry::start_coord_system] | GetStartCoordSystem |
[TranslationalSweepGeometry::end_coord_system] | GetEndCoordSystem |
[TranslationalSweepGeometry::sweep_transform] | GetSweepTransform |
[TranslationalSweepGeometry::vertex_sweep_higher] | VertexSweepHigher |
[TranslationalSweepGeometry::vertex_sweep_same] | VertexSweepSame |
[TranslationalSweepGeometry::edge_sweep_higher] | EdgeSweepHigher |
[TranslationalSweepGeometry::edge_sweep_same] | EdgeSweepSame |
[TranslationalSweepGeometry::face_sweep_same] | FaceSweepSame |
[TranslationalSweepGeometry::check_curve_sweep] | CheckCurveSweep |
Upstream tests reaching this unit
prog_test:my_sweep_null_region_counts, prog_test:my_test_dosweep_null_region, SM_API_test:TestNonManifoldSweepDistinctTarget, SM_API_test:TestNonManifoldSweepNullEntry, SM_API_test:TestNonManifoldSweepStaleEntry, SM_API_test:TestSmCreateLinearSweepCylinder