mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-18 22:50:56 +00:00
916b91e8d0
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:44525da669git-subtree-split:c440e5f892
14 lines
6.7 KiB
TOML
Vendored
14 lines
6.7 KiB
TOML
Vendored
id = "intersect.point_class"
|
|
upstream = ["source/SMLib/inc/SmPointClass.h", "source/SMLib/inc/SmSpaceBend.h", "source/SMLib/inc/SmSpaceUnbend.h", "source/SMLib/src/SmLineSegClass.cpp", "source/SMLib/src/SmPointClass.cpp", "source/SMLib/src/SmSpaceBend.cpp", "source/SMLib/src/SmSpaceUnbend.cpp"]
|
|
rust_module = "intersect::point_class"
|
|
depends_on = ["curve.curve_p2", "geom.object", "geom.solution_array", "geom.tol", "geom.vector2d", "geom.vector3d", "surface.surface_p2"]
|
|
soft_depends_on = ["curve.curve_p6", "geom.extent1d", "geom.extent2d", "surface.surface_p1", "surface.surface_p4", "surface.surface_p7", "surface.volume_p1", "surface.volume_p2"]
|
|
est_lines = 909
|
|
layer = 30
|
|
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 = ""
|
|
claimed_at = ""
|
|
notes = "GREEN (PR #673): difftest 2511 cases, 2511 pass, 0 fail, 0 deferred, max_rel_err 0. Stand-in Edgeuse in topology_zone_tol_3d falls back to ZONE_TOL_3D matching upstream SmTol::GetZoneTol3d for non-topology stand-in objects (the 3 former topology.edgeuse_p1 deferrals pass). PARTIAL (PR #635): difftest 2511 cases, 2508 pass, 0 fail, 3 deferred (topology.edgeuse_p1 3: stand-in edgeuses whose tolerance upstream reads from an object that is not an SmEdgeuse, so the port defers by design). MergeIntoObject and Combine on a vertex now run on the pool's B-rep (merge_into_brep, and the new combine_in_brep/CombineBrep), so the former 26 deferrals (topology.vertex 23 + edgeuse 3) are down to the 3 stand-ins: 7 generated merge cases and the 11 combine_104_*_sss fixtures plus 5 generated combine cases now compare status, new-topology counts/precedence and the classification state. Before: 26 deferred. PR #295 (stand-in vertex/edge/face objects as B-rep records, BareTopology, used when the case has no real one-face B-rep; merged with main 215f690e1 / #347): 2511 cases, 2466 pass, 0 fail, 45 deferred (topology.vertex 30, topology.edge 6, topology.face_p4 6, topology.edgeuse_p1 3); main 2411/100; --perturb 2466/2466. Topology members wired (branch wire/point-class-topology): GetCurve, IsConnectedTo/IsConnectedToAny, ComputePointParameters, FindObjPoint3D and the zone-tolerance fallbacks on SmVertex/SmEdge/SmEdgeuse/SmLoopuse/SmVertexuse/SmFace resolve through ClassGeometry::topology_entity (no hook keeps the Unported deferral; a target in another Brep is not connected); SmFace::IsConnectedTo stays UNPORTED(topology.face_p4), SetPoint and MergeIntoObject stay stubbed; this runner still uses stand-in objects so its counts are unchanged (2411 pass, 100 deferred, 0 failed); exercised through intersect.curve_class_p7. Before: PARTIAL: difftest 2511 cases (511 fixture: Combine precedence matrix, LoadFromIntersection kinds/offsets up to 9/8/7, curve and real SmEllipse/SmCircle projections, every class with a NULL object, tolerance sentinels incl. -SM_USE_DEFAULT; 2000 generated scripts), 2197 pass bit-identical, 314 deferred (surface.surface_p4 216, topology.vertex 49, topology.edge 27, topology.face_p2 15, topology.face_p4 4, topology.edgeuse_p1 3); review fixes: constructor stores its SmZoneTol3d as is, MergeIntoObject calls SmVertex::SetTolerance (SM_USE_OLDTOL), base SmTopology tolerance/IsConnectedTo for kinds without overrides, curve tolerance via Curve::edge; back-edges wired: surface.volume_p2 (SmVolume::GlobalPointSolve / EvaluatePoint; volume branch not exercised by the shim), SmTol point-classification overloads (geom.tol note), surface.trim_srf_cache face_point_classify now blocked only by query.face_p2. 53 fns; largest: SmPointClassification::MergeIntoObject, SmPointClassification::ComputePointParameters, SmPointClassification::Combine, SmPointClassification::GetGap3d; cycle back-edges (call into later units; stub or co-port): topology.vertex(8), topology.edge(7), topology.edgeuse_p1(5), topology.brep_p9(3), topology.face_p2(3), topology.face_p4(3), topology.brep_p4(2), topology.loopuse(2), topology.shell(1), topology.topology(1), topology.vertexuse(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=2511 passed=2197 failed=0 deferred=314 max_rel_err=0e0 blocked_by=surface.surface_point_solve_p3(216),topology.edge(27),topology.edgeuse_p1(3),topology.face_p2(15),topology.face_p4(4),topology.vertex(49). Re-run with surface.surface_point_solve_p3 (PR #106): cases=2511 passed=2411 failed=0 deferred=100 max_rel_err=0.0 blocked_by=topology.edge(27),topology.edgeuse_p1(3),topology.face_p2(15),topology.face_p4(5),topology.vertex(50). Re-run after merging PR #106 (surface.surface_point_solve_p3 wired, 2026-10-15): 2511 cases, 2411 pass, 100 deferred (topology.edge 27, topology.edgeuse_p1 3, topology.face_p2 15, topology.face_p4 5, topology.vertex 50), 0 failed, max_rel_err 0. CO-PORTED in intersect.curve_class_p5 (PR #150): handle adapters for SmVertex::GetPoint, SmTol::GetZoneTol3d and SmVertexuse::GetVertexFaceGap -> ClassGeometry::{classification_vertex_point, topology_zone_tol_3d, vertex_face_gap}, plus the optional topology tolerance short-circuit in object_zone_tol_3d; these resolve caller-owned data and do not duplicate topology algorithms. Defaults preserve existing opaque-handle behavior. CO-PORTED in intersect.curve_class_p8 (PR #152): ClassObject::temporary (default None), handles for the temporary boundary curves/planes whose pointers sm_InsertSolutions records. CO-PORTED in intersect.curve_class_p4 (PR #137): defaulted ClassGeometry::topology_entity (handle -> (&Brep, EntityRef)) and topology_handle (EntityRef -> handle) hooks through which part 4 calls the ported topology members; defaults return None (unresolved). Re-run: 2511 cases, 2411 pass, 100 deferred, 0 failed, --perturb SENSITIVE 2411/2411. PR #183 integration: BrepMerge/merge_into_brep provide caller-owned mutable arenas, target identities and notification storage for p9 calls; the endpoint-refusal return preserves the unset-parameter flag and skips SSS/tolerance changes. Native p9 fixtures compare endpoint-refusal adapter behavior and vertex position/tolerance updates; successful topology mutations are not certified. The existing 2511-case point-class runner remains 2411 pass / 100 deferred / 0 failed, bit-identical. Issue #210 follow-up: opaque region/edge handles without mutable owning arenas defer specifically to topology.brep_p1 owning context; typed adapters call p9 with notification storage and actual curve type identities. Valid upstream B-rep context is not an invalid-input error. Adapter evidence covers refusals and vertex updates; no p9 topology mutation is certified. Current rerun remains 2511 cases, 2411 passed, 100 deferred, 0 failed."
|
|
|