step-examples/12-12-cross-product/Xp046.stp
Sources
- Pattern-mined from kovacsv/occt-import-js#42 "Surfaces are occasionally missed" → OCCT tracker 33681 — pattern only, no bytes
- the reporter-attached file is a third-party user upload (DESCRIBE-ONLY).
Sender
any CAD writer emitting a valid conical frustum solid
Description
A fully valid, watertight `MANIFOLD_SOLID_BREP` conical frustum whose lateral face is exactly one `ADVANCED_FACE` on a `CONICAL_SURFACE` (semi-angle 20°) bounded by two `CIRCLE` edges; the two caps are planar. The file is NOT defective — every OCCT version parses it and loads a solid. The defect is a mesher REGRESSION: on an OCCT-7.7.x `BRepMesh` the conical `ADVANCED_FACE` yields ZERO triangles, so the solid renders with a hole (a missing face); OCCT-7.6.1, CAD Assistant and other CAD tessellate all faces. Same bytes → complete in one kernel version, defective in the next.
Reproducer recipe
`MANIFOLD_SOLID_BREP` / `CLOSED_SHELL` with one `ADVANCED_FACE` on a `CONICAL_SURFACE` (finite frustum bounded by a bottom and top `CIRCLE` edge) plus two planar cap faces; fully valid and watertight.
Expected kernel behavior
mesh every face of a valid solid; a face that produces zero triangles is a mesher defect, not an input defect — the receiver must not silently emit a solid missing a face. Cross-oracle: the same bytes are complete in one kernel version and defective in the next, so a version bump is itself a regression surface.
Notes
**See also**: Gn014 / Gd* (conical-canonical INPUT-geometry defects), Pf021 (near-apex healing) — those are bad-geometry inputs; here the geometry is valid and the regression lives in the receiver's mesher VERSION. No prior catalog entry captures a kernel-version tessellation differential. ORACLE-INVISIBLE to our single-version harness: the file loads as a normal solid; the divergence lives between kernel versions. DRIFT audit 2026-07-12: gmsh count was provisional (never live-verified); corrected `shape(5)` → `shape(9)` against the live oracle (CI-Linux + local macOS agree) — a platform/gmsh-version artifact of the standard single-face scaffold, not a change in the claimed defect (still oracle-invisible; occt is unaffected). Synonyms: "conical face missing after OCCT 7.7 upgrade", "BRepMesh drops cone face", "solid renders with a hole one kernel version", "version-differential missing face", "same STEP complete in 7.6.1 broken in 7.7". Provenance tier: runtime-only.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Provenance tier
runtime-only — defect not fully embodied in fixture bytes.
Byte assertions
contains(b'CONICAL_SURFACE')count_entity_def(b'CONICAL_SURFACE') == 1contains(b'MANIFOLD_SOLID_BREP')
Tier-3 assertions
load == "ok"face[0].surface_type == "cone"
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/* Xp046: valid watertight MANIFOLD_SOLID_BREP conical frustum: one ADVANCED_FACE on a CONICAL_SURFACE (semi-angle 20°) bounded by two CIRCLE edges, plus two planar caps; the file loads a solid in every OCCT version, but OCCT-7.7.x BRepMesh emits zero triangles for the conical face (regression) so the solid renders with a hole while â¤7.6.1 / CAD Assistant tessellate all faces â a kernel-version mesher differential, not an input defect */ 3HEADER; 4FILE_DESCRIPTION(('Xp046'),'2;1'); 5FILE_NAME('Xp046.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=CONICAL_SURFACE('',#4,10.0,0.349065850399); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=DIRECTION('',(0.0,0.0,1.0)); 17#8=DIRECTION('',(1.0,0.0,0.0)); 18#9=AXIS2_PLACEMENT_3D('',#6,#7,#8); 19#10=CIRCLE('',#9,10.0); 20#11=CARTESIAN_POINT('',(10.0,0.0,0.0)); 21#12=VERTEX_POINT('',#11); 22#13=EDGE_CURVE('',#12,#12,#10,.T.); 23#14=CARTESIAN_POINT('',(0.0,0.0,15.0)); 24#15=DIRECTION('',(0.0,0.0,1.0)); 25#16=DIRECTION('',(1.0,0.0,0.0)); 26#17=AXIS2_PLACEMENT_3D('',#14,#15,#16); 27#18=CIRCLE('',#17,15.459553514); 28#19=CARTESIAN_POINT('',(15.459553514,0.0,15.0)); 29#20=VERTEX_POINT('',#19); 30#21=EDGE_CURVE('',#20,#20,#18,.T.); 31#22=ORIENTED_EDGE('',$,$,#13,.T.); 32#23=EDGE_LOOP('',(#22)); 33#24=FACE_OUTER_BOUND('',#23,.T.); 34#25=ORIENTED_EDGE('',$,$,#21,.F.); 35#26=EDGE_LOOP('',(#25)); 36#27=FACE_BOUND('',#26,.T.); 37#28=ADVANCED_FACE('',(#24,#27),#5,.T.); 38#29=CARTESIAN_POINT('',(0.0,0.0,0.0)); 39#30=DIRECTION('',(0.0,0.0,-1.0)); 40#31=DIRECTION('',(1.0,0.0,0.0)); 41#32=AXIS2_PLACEMENT_3D('',#29,#30,#31); 42#33=PLANE('',#32); 43#34=ORIENTED_EDGE('',$,$,#13,.F.); 44#35=EDGE_LOOP('',(#34)); 45#36=FACE_OUTER_BOUND('',#35,.T.); 46#37=ADVANCED_FACE('',(#36),#33,.T.); 47#38=CARTESIAN_POINT('',(0.0,0.0,15.0)); 48#39=DIRECTION('',(0.0,0.0,1.0)); 49#40=DIRECTION('',(1.0,0.0,0.0)); 50#41=AXIS2_PLACEMENT_3D('',#38,#39,#40); 51#42=PLANE('',#41); 52#43=ORIENTED_EDGE('',$,$,#21,.T.); 53#44=EDGE_LOOP('',(#43)); 54#45=FACE_OUTER_BOUND('',#44,.T.); 55#46=ADVANCED_FACE('',(#45),#42,.T.); 56#47=CLOSED_SHELL('',(#28,#37,#46)); 57#48=MANIFOLD_SOLID_BREP('',#47); 58#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 59#9051=PRODUCT('Xp046','Xp046','',(#9050)); 60#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 61#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 62#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 63#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 64#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 65#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 66#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 67#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 68#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 69#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#48),#9060); 70#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 71ENDSEC; 72END-ISO-10303-21;