solidcore

Units / blend

blend.fillet_solver_p3 green

Layer
59
Upstream lines
1,112
Functions
7
Rust module
blend::fillet_solver::p3

Status history

Oct 12Nov 25
  1. todo 1,112 lines
  2. partial 1,112 lines
  3. green 1,112 lines

Source: crates/solidcore/src/blend/fillet_solver/p3.rs

Upstream: source/SMLib/src/SmFilletSolver.cpp

Port-plan notes

These notes preserve historical port measurements and limitations, not current CI results.

Back-edge settled (2026-10-24): the ExecutiveAccess default UNPORTED(blend.fillet_solver_p3) for SmFilletSolver::GetOtherFilletCorner (blend::fillet_executive::p3) is now the required adapter solver_other_corner, delegating to FilletSolver::other_fillet_corner as solver_corner does to fillet_corner; the executive runners' fixtures build no solvers, so their adapters refuse it like solver_corner. Counts unchanged. 7 fns; largest: SmFilletSolver::StepSolve, SmFilletSolver::ProcessFullRollOver, SmFilletSolver::SplitAndTrimFilletSurface, sm_RefineRailCurveClassification; cycle back-edges (call into later units; stub or co-port): blend.fillet_solver_p2(6), blend.fillet_geom_p5(2), blend.fillet_geom_p2(1); unit-SCC #22 (220 units); 150 upstream test entry points reach this unit; PR #236 partial: 400 cases (generated StepSolve), 378 passed, 22 deferred (blend.fillet_solver_p2: PointOnPlaneSolve in the constant-radius-assisted clipped branch), 0 failed, max_rel_err=1.8e-15, no absolute floors. Built on #147 (head b396cdd3) and #192 (head a88c62af), merged. Other routines kernel-tested only (they reach p2 / fillet_geom_p5 stubs on every native path); see plan/findings.md. Adds FilletSolverOps::solver_type and constant_distance. Wires main's UNPORTED(blend.fillet_solver_p3) StepSolve back-edge in blend.fillet_intersector (ConstantRadiusAssistedFs::step_solve); StepSolve's flags are an out-param kept on failure (the shim and runner compare them after a failed solve too). Round 4: PointOnPlaneSolve is a FilletSolverOps hook (virtual upstream; default = the base stub, blend.fillet_solver_p2); the variable-radius GetOriginalCurve and the constant-distance GetDistance stubs are justified (findings.md: those solvers do not implement FilletSolverOps yet). UPDATE (PR #208 integration): ProcessFullRollOver accepts caller RailOwnership and shares the single typed p1 rail split/support helpers, preserving actual geometry ids, owner identities and notifications. Its final TrimCliffRails call dispatches through the existing live-solver p5 trim resolver using the geometry actual solver id; the old justified p5 stub is removed. P5 delegates classification refinement, rail/edge intersection and full rollover here. No numerical formula/order or status handling changes. Qualification after #236 in PR #208: PARTIAL blend.fillet_solver_p3 cases=400 passed=378 failed=0 deferred=22 max_rel_err=1.8011683050692552e-15 with_values=378 no_values=0 blocked_by=blend.fillet_solver_p2(22). PROMOTED to green by PR #466 (blend.fillet_solver_p2): its 6 UNPORTED(blend.fillet_solver_p2) stubs (GetFilletCorner x2, RailEdgeuseIntersect x3, CreateCliffRollOverSideFG) and the solver_p1 PointOnPlaneSolve default are wired; 400 cases, 400 pass, 0 failed, 0 deferred (was 378 pass / 22 deferred at blend.fillet_solver_p2), main e685b418.

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
400
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_solver_p1 green curve.curve_p2 green curve.iso_curve green geom.extent1d green geom.extent2d green geom.local_solve_nd green geom.object green geom.solution_array green geom.tol green geom.vector2d green geom.vector3d green intersect.curve_class_p1 green intersect.surface_intersector_p1 green surface.offset_surface green surface.surface_p2 partial topology.edge green topology.edgeuse_p1 green topology.vertex green

Soft dependencies: blend.fillet_executive_p1 green blend.fillet_standard_solver_p1 green curve.curve_p1 green geom.a_object green geom.local_solve1d green intersect.point_class green surface.surface_p4 green surface.surface_p6 green topology.edgeuse_p2 green topology.face_p2 partial topology.loopuse green topology.vertexuse green

Dependents: blend.fillet_standard_solver_p2 green

Soft dependents: blend.fillet_executive_p2 green

Upstream functions

Upstream functionDefined atLinesRust (from the file header)
SmFilletSolver::GetOtherFilletCornerSmFilletSolver.cpp:23514[FilletSolver::other_fillet_corner]
sm_FindFilletTsectPntSmFilletSolver.cpp:1244118[find_fillet_tsect_pnt]
SmFilletSolver::SplitAndTrimFilletSurfaceSmFilletSolver.cpp:4779143[FilletSolver::split_and_trim_fillet_surface], [FilletSolver::split_and_trim_fillet_surface_with]
SmFilletSolver::StepSolveSmFilletSolver.cpp:5145393[FilletSolver::step_solve], [StepSolveOutcome]
sm_RefineRailCurveClassificationSmFilletSolver.cpp:5571123[refine_rail_curve_classification]
sm_CalcRailXEdgeSmFilletSolver.cpp:583999[calc_rail_x_edge], [calc_rail_x_edge_with_ops]
SmFilletSolver::ProcessFullRollOverSmFilletSolver.cpp:6906222[FilletSolver::process_full_roll_over]
Module file-header table (9 rows)
RustUpstream
[FilletSolver::other_fillet_corner]SmFilletSolver::GetOtherFilletCorner
[find_fillet_tsect_pnt]sm_FindFilletTsectPnt (static)
[FilletSolver::split_and_trim_fillet_surface], [FilletSolver::split_and_trim_fillet_surface_with]SmFilletSolver::SplitAndTrimFilletSurface
[FilletSolver::step_solve], [StepSolveOutcome]SmFilletSolver::StepSolve
[refine_rail_curve_classification]sm_RefineRailCurveClassification
[calc_rail_x_edge], [calc_rail_x_edge_with_ops]sm_CalcRailXEdge (static)
[FilletSolver::process_full_roll_over]SmFilletSolver::ProcessFullRollOver
impl EvalFunction for FindClippedRadiusEfoSmFindClippedRadiusEFO as SmEvalFunctionObject
impl EvalNFunctions for FilletSphereSolveEnfoSmFilletSphereSolveENFO as SmEvalNFunctionsObject

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