blend.fillet_solver_p4 green
- Layer
- 51
- Upstream lines
- 1,404
- Functions
- 2
- Rust module
blend::fillet_solver::p4
Status history
- todo 1,404 lines
- partial 1,404 lines
- green 1,404 lines
Source: crates/solidcore/src/blend/fillet_solver/p4.rs
Upstream: source/SMLib/src/SmFilletSolver.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
GREEN (PR #584, 2026-10-23): the calc_geom shim set the split flag on a second fillet geometry it appended, while CalcFilletGeom reads m_vFilletGeoms[0], the one the SmFilletSolver constructor adds; it now sets that geometry's split flag, which the Rust runner models, so gen0512 (the known mismatch since #463) passes: difftest 651 cases, 651 pass, 0 failed, 0 deferred, max_rel_err 0. 2 fns; largest: SmFilletSolver::CalcFilletGeom, SmFilletSolver::ComputePointValues; cycle back-edges (call into later units; stub or co-port): blend.fillet_solver_p2(3), blend.fillet_solver_p3(2), blend.fillet_geom_p3(1), blend.fillet_geom_p4(1), blend.fillet_geom_p5(1); unit-SCC #22 (220 units); 150 upstream test entry points reach this unit PARTIAL (PR #212, blackveilprecision; adapted to main and landed by batch/finish-3): CalcFilletGeom and ComputePointValues in blend::fillet_solver::p4. Adapted to main's model: m_vFilletGeoms holds FilletGeomId (the FilletGeomRef resolver is gone); calc_fillet_geom takes the executive's solver table (for SmFilletEdge::CalcCrossSection); the intersector adapter's pseudo-B-rep writers take the pseudo B-rep from FilletDispatch. Wired: CalcCylinderFilletGeom, CalcTorusFilletGeom, RecordFilletError (blend.fillet_solver_p2), sm_FindFilletTsectPnt, StepSolve (blend.fillet_solver_p3), TopologySplit (blend.fillet_geom_p3), CalcCrossSection (blend.fillet_geom_p5); back-edge fillet_intersector::FilletSolverOps::compute_point_values is now required and implemented by ConstantRadiusAssistedFs and the custom solvers. difftest: 651 cases, 632 passed, 0 failed, 19 deferred (intersect.surface_drop_lib_p3).
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
- 651
- 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: blend.fillet_geom_p1 green blend.fillet_intersector green blend.fillet_solver_p1 green curve.curve_p2 green geom.extent1d green geom.solution_array green geom.vector2d green geom.vector3d green intersect.surface_intersector_p1 green nurbs.b_spline_curve_p1 green surface.offset_surface green surface.surface_p2 partial topology.edge green topology.edgeuse_p1 green
Soft dependencies: curve.curve_p1 green curve.curve_p4 green curve.curve_p5 partial curve.curve_p6 green geom.axis2_placement green geom.geom_utility_p1 green intersect.surface_intersector_p4 green nurbs.b_spline_curve_p2 green surface.surface_p7 green topology.edgeuse_p3 green topology.vertex green topology.vertexuse green
Dependents: none
Soft dependents: blend.fillet_executive_p2 green blend.fillet_executive_p3 partial
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmFilletSolver::CalcFilletGeom | SmFilletSolver.cpp:1495 | 1179 | [FilletSolver::calc_fillet_geom] |
SmFilletSolver::ComputePointValues | SmFilletSolver.cpp:3544 | 225 | [FilletSolver::compute_point_values] |
Module file-header table (4 rows)
| Rust | Upstream |
|---|---|
[FilletSolver::calc_fillet_geom] | SmFilletSolver::CalcFilletGeom |
[FilletSolver::compute_point_values] | SmFilletSolver::ComputePointValues |
TsRef, TsectStore (private) | SmTArray<SmTsectPnt*> sTsectPnts / sDeletePnts (pointers into SmFilletVertexuse::m_vTsectPnt or to new SmTsectPnt) |
get_or_create_uv_trim_curve, evaluate_binormal (private) | SmEdgeuse::GetOrCreateUVTrimCurve and SmEdgeuse::EvaluateBinormal with the defaults CalcFilletGeom passes (unit topology.edgeuse_p3) |
Upstream tests reaching this unit
prog_test:my_test_parallel_projection, prog_test:my_test_tsurf_projection, prog_test:my_test_surface_interface, prog_test:my_test_ssi, prog_test:my_test_tsurf_section, prog_test:my_test_planar_section