solidcore

Units / blend

blend.fillet_removal green

Layer
62
Upstream lines
1,757
Functions
0
Rust module
blend::fillet_removal

Status history

Oct 12Nov 25
  1. green 1,757 lines

Source: crates/solidcore/src/blend/fillet_removal.rs

Upstream: source/SMLib/src/SmFilletRemoval.cpp, source/SMLib/inc/SmFilletRemoval.h

Port-plan notes

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

GREEN: difftest 170 cases, 170 pass, 0 deferred, max_rel_err 3e-16 (every face of 18 upstream fillet solids; non-fillet faces compare the refusal). New unit (step 1 of #1060, the fork's SmOffsetFaces): SmFilletRemoval, SmFilletCornerInfo, SmFaceRemoval::MoveVtxAndEdgeToAdjacentFace, SmBrep::DeleteFilletFace (SmFilletRemoval.cpp). No upstream test reaches it except through SmApiRemoveFillet (TestSmCircularFillet), which also needs SmFace::IdentifyFillet and SmFeatureExecutive (unported; SmApiRemoveFillet follows IdentifyFillet). CO-PORTED in blend.fillet_removal (PR #1821): SmEdge::SetTrimCurve, SmBrep::GlueEdges, SmSurface::UpdateAnalyticalDomain (dispatch) -> crate::blend::fillet_removal. CO-PORTED in blend.fillet_removal (PR #1821): SmEdge::Replace3DCurve -> crate::topology::edge::replace_3d_curve (shared with offset_geometry_creation's SmBrep::ReplaceCurve). CO-PORTED in blend.fillet_removal (PR #1821): SmPlane::UpdateAnalyticalDomain, the plane's mutable SmBSplineSurface part -> crate::surface::plane::p1::Plane::{update_analytical_domain, base_mut}. CO-PORTED in blend.fillet_removal (PR #1821): SmEdge::ValidateGeometry(bFixTolerances) -> crate::topology::brep::validation::pointers::validate_geometry (check_edge_geometry its FALSE case). Shared: blend::fillet_corner::p3::join_with and topology::brep::p7::edge_remove made pub(crate).

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
170
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 curve.curve_p6 green nurbs.b_spline_curve_n_lib green nurbs.b_spline_curve_p3 green nurbs.b_spline_surface_n_lib_p1 green surface.surface_p2 partial surface.surface_p3 green topology.brep_p2 green topology.brep_p3 partial topology.brep_p4 green topology.brep_p5 green topology.edge green topology.edgeuse_p1 green topology.face_p4 green topology.vertex green topology.vertexuse green

Soft dependencies: blend.fillet_corner_p3 partial surface.surf_of_extrusion_p1 green surface.surf_of_revolution_p3 green topology.brep_p7 green

Dependents: none

Soft dependents: none

Upstream functions

No upstream functions listed in harness/callgraph/units.json.

Module file-header table (16 rows)
RustUpstream
[delete_fillet_face]SmBrep::DeleteFilletFace
[FilletRemoval]SmFilletRemoval
[FilletRemoval::new]SmFilletRemoval::SmFilletRemoval
[FilletRemoval::remove_face]SmFilletRemoval::RemoveFace
collect_fillet_topology (private)SmFilletRemoval::CollectFilletTopology
calc_new_corner_vertices (private)SmFilletRemoval::CalcNewCornerVertices
find_side_edge_extensions (private)SmFilletRemoval::FindSideEdgeExtensions
intersect_tangent_surfaces (private)SmFilletRemoval::IntersectTangentSurfaces
do_removal (private)SmFilletRemoval::DoRemoval
[FilletCornerInfo]SmFilletCornerInfo
[move_vtx_and_edge_to_adjacent_face]SmFaceRemoval::MoveVtxAndEdgeToAdjacentFace
[set_trim_curve]SmEdge::SetTrimCurve
topology::edge::replace_3d_curve (shared)SmEdge::Replace3DCurve
[glue_edges]SmBrep::GlueEdges
[update_analytical_domain]SmSurface::UpdateAnalyticalDomain (virtual)
[FilletRemoval::set_exact_only], [FilletRemoval::not_exact], [FilletRemoval::sharp_edge]the fork's SetExactOnly, NotExact, GetSharpEdge (WR-606, not upstream)

Upstream tests reaching this unit

SM_API_test:TestSmCircularFillet