step-examples/12-8-mixed/M191.stp
Sources
- SASIG PDQ non-geometric enumeration (geometry-completeness / "wireframe-only export" class)
- B4 wave-12. Sketch/curve exporters, harness/electrical and 2.5D tools routinely emit curve-only geometry where a solid is expected. Pattern-authored
- no bytes copied.
Description
The transferred shape is a `GEOMETRIC_CURVE_SET` whose items are twelve valid `LINE` curves tracing the outline of a 10 mm cube. There is no topological superstructure of any kind — no `VERTEX_POINT`, `EDGE_CURVE`, `EDGE_LOOP`, `ADVANCED_FACE`, `CLOSED_SHELL`, or `MANIFOLD_SOLID_BREP`. Every item is a legal `geometric_select` curve and the file is well-formed, so OCC transfers the set cleanly to a single `COMPOUND` holding 12 free edges — there is no solid, face, or wire. A consumer that reports "import OK" without noticing the empty solid set hands a boolean / meshing / mass-property pipeline nothing to operate on. This is a completeness defect (wireframe delivered where a solid was expected), *not* corruption — distinct from M051 (`GEOMETRIC_CURVE_SET` aggregating schema-illegal non-geometric children, which crashes OCC with signal 11) and M058 (curve set carried inside an AP203-tag/AP214-entity schema-mismatch file).
Reproducer recipe
a `GEOMETRIC_CURVE_SET` listing 12 `LINE` entities (the edges of a cube), wrapped in a `MANIFOLD_SURFACE_SHAPE_REPRESENTATION` under the canonical PRODUCT chain; emit no topological entities at all.
Expected kernel behavior
accept, but surface the wireframe-only nature (warn / expose a subshape inventory showing zero solids and zero faces); LOTAR/downstream solid-expecting pipelines must not treat a curve-only import as a successful solid import.
Notes
Synonyms: "wireframe-only STEP has no solid", "curve set imports as loose edges not a solid", "GEOMETRIC_CURVE_SET with no topology", "geometry present but no faces or shells", "cube delivered as wireframe". **See also**: M051, M058, M190, M192.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(12) ifc=schema_n/a
Byte assertions
contains(b'GEOMETRIC_CURVE_SET')count_entity_def(b'LINE') == 12count_entity_def(b'MANIFOLD_SOLID_BREP') == 0
Tier-3 assertions
shape_null == Falsen_faces_total == 0n_edges_total == 12n_vertices_total == 0
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M191: GEOMETRIC_CURVE_SET of the 12 LINE curves of a cube outline with NO topology (no EDGE_CURVE/EDGE_LOOP/FACE/SHELL/SOLID); a legal wireframe delivered where a solid was expected (geometry-completeness defect); every item is a valid geometric_select curve so OCC transfers cleanly to a COMPOUND of 12 loose edges â solid==0, face==0; distinct from M051 (non-geometric children, crashes) and M058 (schema mismatch); GEOMETRIC_CURVE_SET IS the model entity â OCC yields a wireframe compound, never a solid root */ 3HEADER; 4FILE_DESCRIPTION(('M191'),'2;1'); 5FILE_NAME('M191.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=DIRECTION('',(1.0,0.0,0.0)); 11#2=CARTESIAN_POINT('',(0.0,0.0,0.0)); 12#3=VECTOR('',#1,10.0); 13#4=LINE('',#2,#3); 14#5=DIRECTION('',(0.0,1.0,0.0)); 15#6=CARTESIAN_POINT('',(10.0,0.0,0.0)); 16#7=VECTOR('',#5,10.0); 17#8=LINE('',#6,#7); 18#9=DIRECTION('',(-1.0,0.0,0.0)); 19#10=CARTESIAN_POINT('',(10.0,10.0,0.0)); 20#11=VECTOR('',#9,10.0); 21#12=LINE('',#10,#11); 22#13=DIRECTION('',(0.0,-1.0,0.0)); 23#14=CARTESIAN_POINT('',(0.0,10.0,0.0)); 24#15=VECTOR('',#13,10.0); 25#16=LINE('',#14,#15); 26#17=DIRECTION('',(1.0,0.0,0.0)); 27#18=CARTESIAN_POINT('',(0.0,0.0,10.0)); 28#19=VECTOR('',#17,10.0); 29#20=LINE('',#18,#19); 30#21=DIRECTION('',(0.0,1.0,0.0)); 31#22=CARTESIAN_POINT('',(10.0,0.0,10.0)); 32#23=VECTOR('',#21,10.0); 33#24=LINE('',#22,#23); 34#25=DIRECTION('',(-1.0,0.0,0.0)); 35#26=CARTESIAN_POINT('',(10.0,10.0,10.0)); 36#27=VECTOR('',#25,10.0); 37#28=LINE('',#26,#27); 38#29=DIRECTION('',(0.0,-1.0,0.0)); 39#30=CARTESIAN_POINT('',(0.0,10.0,10.0)); 40#31=VECTOR('',#29,10.0); 41#32=LINE('',#30,#31); 42#33=DIRECTION('',(0.0,0.0,1.0)); 43#34=CARTESIAN_POINT('',(0.0,0.0,0.0)); 44#35=VECTOR('',#33,10.0); 45#36=LINE('',#34,#35); 46#37=DIRECTION('',(0.0,0.0,1.0)); 47#38=CARTESIAN_POINT('',(10.0,0.0,0.0)); 48#39=VECTOR('',#37,10.0); 49#40=LINE('',#38,#39); 50#41=DIRECTION('',(0.0,0.0,1.0)); 51#42=CARTESIAN_POINT('',(10.0,10.0,0.0)); 52#43=VECTOR('',#41,10.0); 53#44=LINE('',#42,#43); 54#45=DIRECTION('',(0.0,0.0,1.0)); 55#46=CARTESIAN_POINT('',(0.0,10.0,0.0)); 56#47=VECTOR('',#45,10.0); 57#48=LINE('',#46,#47); 58#49=GEOMETRIC_CURVE_SET('cube-wireframe-no-topology',(#4,#8,#12,#16,#20,#24,#28,#32,#36,#40,#44,#48)); 59#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 60#9051=PRODUCT('M191','M191','',(#9050)); 61#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 62#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 63#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 64#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 65#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 66#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 67#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 68#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 69#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 70#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#49),#9060); 71#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 72ENDSEC; 73END-ISO-10303-21;