step-examples/12-8-mixed/M066.stp
Sources
- OCCT STEPControl_ActorWrite.cxx:992 ("NonManifold COMPSOLID was translated like a set of SOLIDs") (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
A non-manifold `COMPSOLID` (multiple solids sharing faces) is silently broken into separate `MANIFOLD_SOLID_BREP`s on write; the shared-face topology is lost. Round-tripping the file via OCCT no longer reflects the original non-manifold structure. Bug-reporter language: "compsolid lost", "non-manifold broken on round-trip".
Reproducer recipe
Two solids sharing a single face, wrapped in a compsolid; export round-trip.
Expected kernel behavior
Heal and accept: preserve compsolid via `SHELL_BASED_SURFACE_MODEL` or AP242 non-manifold subtypes; warn-and-accept if the AP doesn't support it.
Notes
Synonyms: "compsolid decomposed", "non-manifold lost on write", "shared face topology dropped", "COMPSOLID broken into independent solids".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(10) ifc=schema_n/a
Closure intent
solid — authored as a closed solid; openness is the defect — heal it shut.
Tier-3 assertions
face[0].surface_type == "plane"face[5].surface_type == "plane"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* M066: Non-manifold COMPSOLID translated as a set of independent SOLIDs; input: AP214 STEP file (OCCT STEPControl_ActorWrite.cxx:992 pattern) with two MANIFOLD_SOLID_BREPs whose CLOSED_SHELLs each reference the same shared ADVANCED_FACE entity (face #shared_face); on non-manifold COMPSOLID round-trip the shared face is duplicated and the cellular/shared-face topology is lost; OCCT STEPControl_ActorWrite.cxx:992 comment: 'NonManifold COMPSOLID was translated like a set of SOLIDs'; kernel must heal and accept: preserve compsolid via SHELL_BASED_SURFACE_MODEL or AP242 non-manifold subtypes; warn-and-accept if the AP does not support it; synonyms: compsolid decomposed, non-manifold lost on write, shared face topology dropped, COMPSOLID broken into independent solids */ 3HEADER; 4FILE_DESCRIPTION(('M066'),'2;1'); 5FILE_NAME('M066.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=CARTESIAN_POINT('',(1.0,0.0,0.0)); 12#3=CARTESIAN_POINT('',(0.0,1.0,0.0)); 13#4=VERTEX_POINT('',#1); 14#5=VERTEX_POINT('',#2); 15#6=VERTEX_POINT('',#3); 16#7=DIRECTION('',(1.0,0.0,0.0)); 17#8=DIRECTION('',(0.0,1.0,0.0)); 18#9=DIRECTION('',(0.0,0.0,1.0)); 19#10=DIRECTION('',(-0.707106781187,0.707106781187,0.0)); 20#11=VECTOR('',#7,1.0); 21#12=VECTOR('',#8,1.0); 22#13=VECTOR('',#10,1.41421356237); 23#14=LINE('',#1,#11); 24#15=EDGE_CURVE('',#4,#5,#14,.T.); 25#16=LINE('',#2,#13); 26#17=EDGE_CURVE('',#5,#6,#16,.T.); 27#18=LINE('',#1,#12); 28#19=EDGE_CURVE('',#4,#6,#18,.T.); 29#20=ORIENTED_EDGE('',$,$,#15,.T.); 30#21=ORIENTED_EDGE('',$,$,#17,.T.); 31#22=ORIENTED_EDGE('',$,$,#19,.F.); 32#23=EDGE_LOOP('',(#20,#21,#22)); 33#24=AXIS2_PLACEMENT_3D('',#1,#9,#7); 34#25=PLANE('',#24); 35#26=FACE_OUTER_BOUND('',#23,.T.); 36#27=ADVANCED_FACE('shared_face',(#26),#25,.T.); 37#28=DIRECTION('',(0.0,0.0,-1.0)); 38#29=AXIS2_PLACEMENT_3D('',#1,#28,#7); 39#30=DIRECTION('',(-1.0,0.0,0.0)); 40#31=AXIS2_PLACEMENT_3D('',#1,#30,#8); 41#32=DIRECTION('',(0.0,-1.0,0.0)); 42#33=AXIS2_PLACEMENT_3D('',#1,#32,#7); 43#34=AXIS2_PLACEMENT_3D('',#2,#7,#8); 44#35=AXIS2_PLACEMENT_3D('',#3,#8,#7); 45#36=PLANE('a_top',#29); 46#37=PLANE('a_left',#31); 47#38=PLANE('a_front',#33); 48#39=PLANE('a_right',#34); 49#40=PLANE('a_back',#35); 50#41=ADVANCED_FACE('a_top',(#26),#36,.T.); 51#42=ADVANCED_FACE('a_left',(#26),#37,.T.); 52#43=ADVANCED_FACE('a_front',(#26),#38,.T.); 53#44=ADVANCED_FACE('a_right',(#26),#39,.T.); 54#45=ADVANCED_FACE('a_back',(#26),#40,.T.); 55#46=CLOSED_SHELL('s1',(#27,#41,#42,#43,#44,#45)); 56#47=MANIFOLD_SOLID_BREP('compsolid_part1',#46); 57#48=CARTESIAN_POINT('',(0.0,0.0,1.0)); 58#49=AXIS2_PLACEMENT_3D('',#48,#9,#7); 59#50=DIRECTION('',(-1.0,0.0,0.0)); 60#51=AXIS2_PLACEMENT_3D('',#48,#50,#8); 61#52=DIRECTION('',(0.0,-1.0,0.0)); 62#53=AXIS2_PLACEMENT_3D('',#48,#52,#7); 63#54=AXIS2_PLACEMENT_3D('',#2,#7,#8); 64#55=AXIS2_PLACEMENT_3D('',#3,#8,#7); 65#56=PLANE('b_top',#49); 66#57=PLANE('b_left',#51); 67#58=PLANE('b_front',#53); 68#59=PLANE('b_right',#54); 69#60=PLANE('b_back',#55); 70#61=ADVANCED_FACE('b_top',(#26),#56,.T.); 71#62=ADVANCED_FACE('b_left',(#26),#57,.T.); 72#63=ADVANCED_FACE('b_front',(#26),#58,.T.); 73#64=ADVANCED_FACE('b_right',(#26),#59,.T.); 74#65=ADVANCED_FACE('b_back',(#26),#60,.T.); 75#66=CLOSED_SHELL('s2',(#61,#62,#63,#64,#65,#27)); 76#67=MANIFOLD_SOLID_BREP('compsolid_part2',#66); 77#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 78#9051=PRODUCT('M066','M066','',(#9050)); 79#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 80#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 81#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 82#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 83#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 84#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 85#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 86#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 87#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 88#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#47),#9060); 89#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 90ENDSEC; 91END-ISO-10303-21;