step-examples/12-1b-header/Lh031.stp
Sources
- 04-occt-translation Q038, 04-occt-translation Q086
Sender
I-DEAS variants (and any tool whose preprocessor string changes)
Description
OCCT auto-detects I-DEAS-style non-manifold encoding by substring-matching the FILE_NAME `preprocessor_version` field. Misses other I-DEAS variants whose preprocessor string differs; flags false positives on tools whose preprocessor mentions "I-DEAS".
Reproducer recipe
file with `FILE_NAME(..,..,(''),(''),'I-DEAS Master Series 11','','');` versus a renamed variant.
Expected kernel behavior
Heal and accept by detecting non-manifold encoding from the entity graph (e.g. presence of `NON_MANIFOLD_SURFACE_SHAPE_REPRESENTATION`), not from a substring of header metadata.
Notes
**See also**: Lh019. Synonyms: "I-DEAS auto-detect by FILE_NAME substring", "preprocessor_version string match brittle", "false-positive non-manifold detection", "STEP receiver inferring vendor from header", "originating-system substring detection".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'I-DEAS')matches(rb"FILE_NAME\([^;]*'I-DEAS")
Tier-3 assertions
shape_null == True
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/* Lh031: FILE_NAME preprocessor_version contains 'I-DEAS Master Series 11' */ 3/* DEFECT: OCCT auto-detects I-DEAS non-manifold mode by substring match on this field */ 4/* Correct detection: inspect entity graph for NON_MANIFOLD_SURFACE_SHAPE_REPRESENTATION */ 5/* This file has no non-manifold entities; auto-detect fires a false positive */ 6/* OCC silently accepts (empty result); catalog requires heal and accept */ 7HEADER; 8FILE_DESCRIPTION(('Lh031: I-DEAS substring in FILE_NAME preprocessor_version'),'2;1'); 9/* DEFECT: preprocessor_version field contains I-DEAS substring; triggers false-positive */ 10FILE_NAME('Lh031.stp','2026-06-20T00:00:00',(''),(''),'I-DEAS Master Series 11','',''); 11FILE_SCHEMA(('AUTOMOTIVE_DESIGN')); 12ENDSEC; 13DATA; 14#1=CARTESIAN_POINT('origin',(0.,0.,0.)); 15#2=CARTESIAN_POINT('corner',(1.,1.,0.)); 16#3=DIRECTION('xdir',(1.,0.,0.)); 17#4=DIRECTION('zdir',(0.,0.,1.)); 18#5=GEOMETRIC_CURVE_SET('ideas-false-positive-shape',(#1,#2)); 19ENDSEC; 20END-ISO-10303-21;