Files
solvecraft/solidcore/plan/units/surface.surface_cache_p1.toml
Brennen Herbruck 916b91e8d0 Vendor solidcore at solidcore/ with its history (solidcore c0d3cc0124)
solidcore's main at c0d3cc0124, rewritten to one commit per same-author run per
PR (2,800 commits, author credit kept; tree identical). Full original history:
tangency-labs/solidcore archive/full-history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

git-subtree-dir: solidcore
git-subtree-mainline: 44525da669
git-subtree-split: c440e5f892
2026-11-08 15:18:40 -05:00

13 lines
2.7 KiB
TOML
Vendored

id = "surface.surface_cache_p1"
upstream = ["source/SMLib/inc/SmSurfaceCache.h", "source/SMLib/src/SmSurfaceCache.cpp"]
rust_module = "surface::surface_cache::p1"
depends_on = ["geom.extent2d", "geom.extent3d", "geom.object", "geom.tree", "geom.vector2d", "geom.vector3d", "nurbs.b_spline_curve_p1", "surface.surface_p2"]
soft_depends_on = ["curve.curve_p2", "geom.extent1d", "geom.polar_box", "geom.tol", "nurbs.b_spline_curve_p2", "nurbs.b_spline_curve_p3", "nurbs.b_spline_surface_p1", "nurbs.b_spline_surface_p2"]
est_lines = 1944
layer = 22
tests = ["prog_test:my_test_extent3d", "prog_test:my_test_vector2d", "prog_test:my_test_surface_closest_point", "prog_test:my_test_drop_point", "prog_test:my_test_matrix", "prog_test:my_test_reversed_line_join"]
status = "green"
claimed_by = "swarm-surface.surface_cache_p1-a1"
claimed_at = "2026-10-13T06:57:51Z"
notes = "PARTIAL: difftest 872 cases (72 fixture + 800 generated), 709 pass bit-identical, 163 deferred (surface.surface_p7 107: SmSurface::EvaluateNormal in every polar box and at collinear boundary samples; surface.surface_p5 37: SmSurface::IsSingularity in every Bezier approximation; surface.surface_p1 19: GetFace); 20k-seed run clean, --perturb SENSITIVE; co-ports SmSurfaceCache's constructor field init and GetTree's existing-tree path (surface.surface_cache_p3); wired UNPORTED(surface.surface_cache_p1): SmTree::GetOwnerObject of surface trees (Tree::set_owner_surface), sm_GetOriginalSurface; retagged the bare-tree patch data stubs (GetFirstBezierPatch, SmSurfaceGridElement::Init, sm_CsArePerpenDisjoint) to surface.surface_cache_p3 and smsurf_GetSurfaceCache / ExpandHierarchy to surface.surface_p1 (CacheMakeOrValidate); geom.tree 7 and geom.grid 2 deferred now blocked by those; open self-stubs UNPORTED(surface.surface_cache_p1): SmPlane / SmSurfOfRevolution::CreateIsoParametricCurve (ported in surface.plane_p1 / surface.surf_of_revolution_p1, but the cache stores iso curves as BSplineCurve; wiring needs Curve storage; 8 surface.surface_cache_p3 cases defer at the SmPlane one; retagged by surface.surf_of_revolution_p3); 43 fns; largest: sm_ComputeBezierApproximation, SmSurfaceCache::MarkFaceContainment, SmSurfaceCache::BuildTreeTop, SmPatchBoundaryBoundingPlanes::ComputeBoundingPlanes; cycle back-edges (call into later units; stub or co-port): surface.surface_p5(3), surface.surface_p1(2), surface.surface_cache_p3(1), surface.surface_p7(1); unit-SCC #22 (220 units); 319 upstream test entry points reach this unit Re-run with surface.surface_p5's back-edges wired (PR #50): cases=872 passed=835 failed=0 deferred=37 max_rel_err=0e0 blocked_by=surface.surface_p3(37). GREEN (PR #52, after merging surface_p4/#49 and surface_p5/#50): 872/872 pass, 0 deferred."