step-examples/12-6-assembly/A119.stp
Sources
- occt-coverage PARTIAL audit, `exchange/problems.json` `stp-mapped-item-no-transform`
- `STEPControl_ActorRead::TransferEntity(StepRepr_MappedItem)`, STEPControl_ActorRead.cxx:1555-1577 @ bd2a789f15235755ce4d1a3b07379a2e062fdc2e.
Sender
deduced — OCCT uncovered-class sweep
Description
A `MAPPED_ITEM` whose `mapping_source` is a genuinely resolvable `REPRESENTATION_MAP` pointing at a real target `SHAPE_REPRESENTATION` with live geometry, but whose `mapping_target` is a plain `CARTESIAN_POINT` — neither a `CartesianTransformationOperator3d` nor an `Axis2Placement3d`. Both of `TransferEntity(MappedItem)`'s placement-resolution branches fail (`ok=False`); the reader emits `"Mapped Item, case not recognized, location ignored"` but still binds and returns the already-resolved shape UNTRANSFORMED (identity placement) rather than dropping it.
Reproducer recipe
`REPRESENTATION_MAP(#origin_placement,#real_target_shape_representation)` (resolvable) plus `MAPPED_ITEM('name',#representation_map,#cartesian_point)` where `#cartesian_point` is an ordinary `CARTESIAN_POINT`, not a placement or transform-operator type.
Expected kernel behavior
reject the `MAPPED_ITEM` as malformed (its placement reference must be one of the two recognized types), or clearly flag that the instance was loaded un-positioned rather than silently defaulting to identity.
Notes
Fixes Tfa248's gap: Tfa248 puts an empty string (`''`) where `mapping_source` belongs and the `REPRESENTATION_MAP` itself in the `mapping_target` slot — a malformed empty-string source slot that risks aborting the transfer before the identity-fallback-with-warning branch this class targets ever runs. This fixture keeps the map+shape fully valid and resolvable; only the placement TYPE is unrecognized. Live-verified (2026-07-12, OCP 7.8.1, direct probing — not mirrored/guessed): `shape_null=False`, `n_faces_total=1`; the mapped face's geometry loads at its own local coordinates (no transform applied), confirming the identity/un-positioned fallback rather than the shape being dropped. Provenance tier: bytes-sufficient. **See also**: Tfa248 (malformed-source precedent this fixture fixes). Synonyms: "MAPPED_ITEM unrecognized transform type", "placement case not recognized", "location ignored fallback", "MAPPED_ITEM loads unpositioned", "mapping_target neither CartesianTransformationOperator3d nor Axis2Placement3d".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Byte assertions
contains(b"MAPPED_ITEM('mapped_inst'")contains(b"CARTESIAN_POINT('unrecognized_target'")
Tier-3 assertions
shape_null == Falsen_faces_total == 1
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/* A119: MAPPED_ITEM with resolvable REPRESENTATION_MAP but unrecognized-type mapping_target */ 3/* DEFECT: mapping_target (#44) is a plain CARTESIAN_POINT -- neither a */ 4/* CartesianTransformationOperator3d nor an Axis2Placement3d -- 'case not recognized, */ 5/* location ignored' fires, but the mapped shape (via the REAL, resolvable */ 6/* REPRESENTATION_MAP) still loads, un-positioned, rather than being dropped */ 7HEADER; 8FILE_DESCRIPTION(('A119: MAPPED_ITEM unrecognized-type mapping_target, shape still loads'),'2;1'); 9FILE_NAME('A119.stp','2026-07-12T00:00:00',(''),(''),'cad-research-suite','',''); 10FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 11ENDSEC; 12DATA; 13#1=CARTESIAN_POINT('',(0.0,0.0,0.0)); 14#2=DIRECTION('',(0.0,0.0,1.0)); 15#3=DIRECTION('',(1.0,0.0,0.0)); 16#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 17#5=PLANE('',#4); 18#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 19#7=CARTESIAN_POINT('',(1.0,0.0,0.0)); 20#8=CARTESIAN_POINT('',(1.0,1.0,0.0)); 21#9=CARTESIAN_POINT('',(0.0,1.0,0.0)); 22#10=VERTEX_POINT('',#6); 23#11=VERTEX_POINT('',#7); 24#12=VERTEX_POINT('',#8); 25#13=VERTEX_POINT('',#9); 26#14=DIRECTION('',(1.0,0.0,0.0)); 27#15=VECTOR('',#14,1.0); 28#16=LINE('',#6,#15); 29#17=EDGE_CURVE('',#10,#11,#16,.T.); 30#18=DIRECTION('',(0.0,1.0,0.0)); 31#19=VECTOR('',#18,1.0); 32#20=LINE('',#7,#19); 33#21=EDGE_CURVE('',#11,#12,#20,.T.); 34#22=DIRECTION('',(-1.0,0.0,0.0)); 35#23=VECTOR('',#22,1.0); 36#24=LINE('',#8,#23); 37#25=EDGE_CURVE('',#12,#13,#24,.T.); 38#26=DIRECTION('',(0.0,-1.0,0.0)); 39#27=VECTOR('',#26,1.0); 40#28=LINE('',#9,#27); 41#29=EDGE_CURVE('',#13,#10,#28,.T.); 42#30=ORIENTED_EDGE('',$,$,#17,.T.); 43#31=ORIENTED_EDGE('',$,$,#21,.T.); 44#32=ORIENTED_EDGE('',$,$,#25,.T.); 45#33=ORIENTED_EDGE('',$,$,#29,.T.); 46#34=EDGE_LOOP('',(#30,#31,#32,#33)); 47#35=FACE_OUTER_BOUND('',#34,.T.); 48#36=ADVANCED_FACE('',(#35),#5,.T.); 49#37=OPEN_SHELL('',(#36)); 50#38=SHELL_BASED_SURFACE_MODEL('',(#37)); 51#39=(GEOMETRIC_REPRESENTATION_CONTEXT(3)REPRESENTATION_CONTEXT('','3D')); 52#40=SHAPE_REPRESENTATION('target_rep',(#38),#39); 53#41=CARTESIAN_POINT('',(0.0,0.0,0.0)); 54#42=AXIS2_PLACEMENT_3D('map_origin',#41,#2,#3); 55/* Resolvable REPRESENTATION_MAP: origin + a REAL target SHAPE_REPRESENTATION with live geometry */ 56#43=REPRESENTATION_MAP(#42,#40); 57/* DEFECT: mapping_target is a plain CARTESIAN_POINT -- unrecognized type for placement resolution */ 58#44=CARTESIAN_POINT('unrecognized_target',(5.0,0.0,0.0)); 59#45=MAPPED_ITEM('mapped_inst',#43,#44); 60#46=SHAPE_REPRESENTATION('host_rep',(#45),#39); 61#100=APPLICATION_CONTEXT('mechanical design'); 62#101=PRODUCT_CONTEXT('',#100,'mechanical'); 63#102=PRODUCT('A119','A119','',(#101)); 64#103=PRODUCT_DEFINITION_FORMATION('','',#102); 65#104=PRODUCT_DEFINITION_CONTEXT('part definition',#100,'design'); 66#105=PRODUCT_DEFINITION('','',#103,#104); 67#106=PRODUCT_DEFINITION_SHAPE('','',#105); 68#107=SHAPE_DEFINITION_REPRESENTATION(#106,#46); 69ENDSEC; 70END-ISO-10303-21;