solidcore

Units / blend

blend.feature_executive blocked

Layer
62
Upstream lines
3,005
Functions
0
Rust module
blend::feature_executive

Status history

Oct 12Nov 25
  1. blocked 3,005 lines

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

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

Port-plan notes

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

PR #1851, #1908, #1934. Blocked: 3 generated cases disagree with the C++ in ExtSurfaceRebuild patches (plan/findings/blend.feature_executive--ext-surface-patch-faces-differ.md; 5 more were the UB-242 stop at imprints without a vertex sector, fixed in #1934: plan/findings/blend.feature_executive--ext-surface-patch-faces-differ--addendum-2026-10-31-no-vertex-sector.md); the 21 prog_test smFeatureTest cases pass. #1908 carries attributes through the PartitionFeature and RestoreFeature copies; attributes_add_by_faces_extrusion still fails (the feature patch path does not carry yet: plan/findings/blend.feature_executive--ext-surface-patch-faces-differ--addendum-2026-10-31-attributes.md). Cases: 148 (21 upstream, 127 generated); 125 pass, 4 fail, 19 rejected (C++ crashes and hangs: plan/upstream-issues/UB-278--extsurfacerebuild-null-extended-surface.md, UB-279--dodefeature-again-reads-stitched-loop-edges.md, UB-280--extsurfacerebuild-xor-crash.md, UB-277--restorefeatures-removes-wrong-entry-keeps-deleted-feature.md, HANG-52--defeature-extension-runs-past-a-minute.md), 0 deferred. Not ported: Draw/Dump, NSidedPatchRebuild (unreachable), RebuildBrepAll (#if 0). Follow-up: SmApiRemoveFillet / sm_DefeatureFillets after blend.identify_fillet (#1844).

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
149
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: boolean.merge_p3 green boolean.merge_p4 green curve.curve_p4 green curve.curve_p6 green intersect.curve_class_p3 green query.face_p1 green surface.surface_p2 partial topology.brep_p1 green topology.brep_p3 partial topology.brep_p4 green topology.brep_p5 green topology.brep_p7 green topology.brep_p8 green topology.edge green topology.face_p1 green topology.face_p2 partial topology.face_p3 green topology.face_p4 green topology.loopuse green topology.topology_traverser green topology.vertex green

Soft dependencies: none

Dependents: none

Soft dependents: none

Upstream functions

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

Module file-header table (33 rows)
RustUpstream
[RebuildBrepType]SmRebuildBrepType
[FeatureLoop]SmFeatureLoop
[FeatureLoop::new]SmFeatureLoop::SmFeatureLoop
[FeatureLoop::unique_patches]SmFeatureLoop::GetUniquePatches
[FeatureLoop::index_in_feature]SmFeatureLoop::GetIndexInFeature
[Feature]SmFeature
[Feature::set_base_ext_dist] (and the other setters)SmFeature::SetBaseExtDist, SetFeatureExtDist, SetBaseRBType, SetFeatureRBType (both overloads each)
collect_faces (private)SmFeature::CollectFaces
collect_feature_loop_edges (private)SmFeature::CollectFeatureLoopEdges
partition_feature (private)SmFeature::PartitionFeature
build_patches (private)SmFeature::BuildPatches
build_patch (private)SmFeature::BuildPatch
apply_patches (private)SmFeature::ApplyPatches
restore_feature (private)SmFeature::RestoreFeature
join_patches (private)SmFeature::JoinPatches
[FeatureExecutive]SmFeatureExecutive
[FeatureExecutive::new]SmFeatureExecutive::SmFeatureExecutive
[FeatureExecutive::add_feature_with_loops]SmFeatureExecutive::AddFeature(SmFace*, SmTArray<SmFeatureLoop*>&)
[FeatureExecutive::add_feature_with_edges]SmFeatureExecutive::AddFeature(SmFace*, SmTArray<SmEdge*>&, ..)
[FeatureExecutive::add_feature]SmFeatureExecutive::AddFeature(SmTArray<SmFace*>&, ..)
add_feature_internal (private)SmFeatureExecutive::AddFeatureInternal
[FeatureExecutive::do_defeature]SmFeatureExecutive::DoDefeature
[FeatureExecutive::restore_features]SmFeatureExecutive::RestoreFeatures
[defeature_and_rebuild_with_edges], [defeature_and_rebuild]SmFeatureExecutive::DefeatureAndRebuild (both overloads)
[FeatureExecutive::feature_breps], [FeatureExecutive::features], [FeatureExecutive::base_brep]GetFeatureBreps, GetFeatures, GetBaseBrep
[FeatureExecutive::set_base_ext_dist] (and the other setters)SmFeatureExecutive::SetBaseExtDist, SetFeatureExtDist, SetBaseRBType, SetFeatureRBType
validate_patch (private)SmFeatureExecutive::ValidatePatch
rebuild_brep (private)SmFeatureExecutive::RebuildBrep
planar_cap_rebuild (private)SmFeatureExecutive::PlanarCapRebuild
ext_surface_rebuild (private)SmFeatureExecutive::ExtSurfaceRebuild
trim_patches (private)sm_TrimPatches
[fix_edge_chain_list]SmTopologyTraverser::FixEdgeChainList (CO-PORTED)
[edge_number_in_brep]SmEdge::GetEdgeNumberInBrep (CO-PORTED)

Upstream tests reaching this unit

prog_test:my_test_rebuild_fillets, prog_test:my_test_add_by_faces, prog_test:my_test_multi_feature, prog_test:my_test_multi_feature_adv, prog_test:my_test_multi_rebuilds, prog_test:my_test_extended_surface