step-examples/12-3c-faces/Hea011.stp
Sources
- OCCT `ShapeProcess::Perform` (`ShapeProcess.hxx:87`)
Description
A top-level driver runs a sequence of named healing operators ("fix-shape, split-closed-faces, .."). The sequence is configured at runtime; operator parameters come from a context resource. Errors at any step must be aggregated; the driver must not silently skip failed operators. Typical fixture: a GEOMETRIC_SET with multiple defect classes; a sub-tolerance EDGE_CURVE (length ~1e-7 between near-coincident VERTEX_POINTs), a rectangular shell, and an EDGE_CURVE whose 3D length disagrees with its pcurve length (same-parameter violation).
Reproducer recipe
A multi-defect GEOMETRIC_SET compound (sub-tolerance edge, rectangular shell, same-parameter pcurve mismatch); driver invoked with operator list "fix-shape, same-parameter, remove-small-edges".
Expected kernel behavior
run operators in declared order; collect per-operator status; abort on operator-not-found, otherwise continue. Configuration parameters are pulled from the context.
Notes
Provides the runtime extension point for the healing pipeline. Defect manifests at runtime (operator-list invocation is API-level); fixture establishes the input precondition (a multi-defect compound mixing sub-tolerance edge, open shell, and same-parameter violation). **OCC behavior**: oracle-invisible (shape_counts) — occt=empty/empty gmsh=empty. The multi-defect GEOMETRIC_SET is orphaned (not reachable from the shape-representation root), so OCC yields empty regardless of the sub-defects; the runtime-configured operator sequence is API-level. oracle-invisible (shape_counts): the defect is byte-verifiable but the healing-pipeline behavior the fixture describes is API/runtime-level, not exercised by the load-time oracles. Synonyms: "runtime-configured healing operator sequence", "named healing operators chained at runtime", "sub-tolerance edge plus open shell plus same-param violation", "healing driver aggregates errors from each operator".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Hea011: GEOMETRIC_SET compound mixing three defect classes: (a) sub-tolerance EDGE_CURVE 1e-7 long between near-coincident VERTEX_POINTs; (b) OPEN_SHELL with one 1x1 rectangular ADVANCED_FACE on PLANE; (c) EDGE_CURVE with 3D LINE length=1.0 but pcurve LINE length=5.0 (same-param violation); ShapeProcess driver must chain fix-shape + same-parameter + remove-small-edges */ 3HEADER; 4FILE_DESCRIPTION(('Hea011'),'2;1'); 5FILE_NAME('Hea011.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 7ENDSEC; 8DATA; 9#9000=APPLICATION_CONTEXT('mechanical design'); 10#1=CARTESIAN_POINT('',(0.0,0.0,0.0)); 11#2=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=PLANE('',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=CARTESIAN_POINT('subtol',(1.0E-07,0.0,0.0)); 17#8=VERTEX_POINT('Va',#6); 18#9=VERTEX_POINT('Vb_subtol',#7); 19#10=DIRECTION('',(1.0,0.0,0.0)); 20#11=VECTOR('',#10,1.0); 21#12=LINE('',#6,#11); 22#13=EDGE_CURVE('part_a_subtol_edge',#8,#9,#12,.T.); 23#14=CARTESIAN_POINT('',(2.0,0.0,0.0)); 24#15=CARTESIAN_POINT('',(3.0,0.0,0.0)); 25#16=CARTESIAN_POINT('',(3.0,1.0,0.0)); 26#17=CARTESIAN_POINT('',(2.0,1.0,0.0)); 27#18=VERTEX_POINT('Vc1',#14); 28#19=VERTEX_POINT('Vc2',#15); 29#20=VERTEX_POINT('Vc3',#16); 30#21=VERTEX_POINT('Vc4',#17); 31#22=DIRECTION('',(1.0,0.0,0.0)); 32#23=VECTOR('',#22,1.0); 33#24=LINE('',#14,#23); 34#25=EDGE_CURVE('',#18,#19,#24,.T.); 35#26=DIRECTION('',(0.0,1.0,0.0)); 36#27=VECTOR('',#26,1.0); 37#28=LINE('',#15,#27); 38#29=EDGE_CURVE('',#19,#20,#28,.T.); 39#30=DIRECTION('',(-1.0,0.0,0.0)); 40#31=VECTOR('',#30,1.0); 41#32=LINE('',#16,#31); 42#33=EDGE_CURVE('',#20,#21,#32,.T.); 43#34=DIRECTION('',(0.0,-1.0,0.0)); 44#35=VECTOR('',#34,1.0); 45#36=LINE('',#17,#35); 46#37=EDGE_CURVE('',#21,#18,#36,.T.); 47#38=ORIENTED_EDGE('',$,$,#25,.T.); 48#39=ORIENTED_EDGE('',$,$,#29,.T.); 49#40=ORIENTED_EDGE('',$,$,#33,.T.); 50#41=ORIENTED_EDGE('',$,$,#37,.T.); 51#42=EDGE_LOOP('part_b_face_loop',(#38,#39,#40,#41)); 52#43=FACE_OUTER_BOUND('',#42,.T.); 53#44=ADVANCED_FACE('part_b_face',(#43),#5,.T.); 54#45=OPEN_SHELL('part_b_open_shell',(#44)); 55#46=CARTESIAN_POINT('',(5.0,0.0,0.0)); 56#47=CARTESIAN_POINT('',(6.0,0.0,0.0)); 57#48=VERTEX_POINT('Vd1',#46); 58#49=VERTEX_POINT('Vd2',#47); 59#50=DIRECTION('',(1.0,0.0,0.0)); 60#51=VECTOR('',#50,1.0); 61#52=LINE('part_c_3d_len1',#46,#51); 62#53=CARTESIAN_POINT('',(0.0,0.0)); 63#54=DIRECTION('',(1.0,0.0)); 64#55=VECTOR('',#54,5.0); 65#56=LINE('part_c_pcurve_len5',#53,#55); 66#57=DEFINITIONAL_REPRESENTATION('',( #56),#4); 67#58=PCURVE('',#5,#57); 68#59=SURFACE_CURVE('',#52,(#58),.PCURVE_S1.); 69#60=EDGE_CURVE('part_c_sameparam_violation',#48,#49,#59,.T.); 70#61=GEOMETRIC_SET('multi_defect_compound',(#13,#45,#60)); 71#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 72#9051=PRODUCT('Hea011','Hea011','',(#9050)); 73#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 74#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 75#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 76#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 77#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 78#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 79#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 80#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 81#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 82#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#45),#9060); 83#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 84ENDSEC; 85END-ISO-10303-21;