P017 — Free wires in a top-level COMPOUND silently dropped

§12.6 assembly

P1 — silent data loss

silent-loss assembly

Sources

Sender

any tool emitting free wires alongside solids (KiCad, electronics packaging)

Description

STEP file with a top-level `COMPOUND` mixing solids and free `EDGE_CURVE`/`WIRE` items at the same level: with importer's "compound merge" preference OFF, loose edges are dropped silently.

Reproducer recipe

STEP `SHAPE_REPRESENTATION` containing both a solid and free-standing `EDGE_CURVE` / `WIRE` items at the same level.

Expected kernel behavior

Heal and accept: the default setting must preserve free wires in a top-level COMPOUND.

Notes

Synonyms: "free wires in top-level COMPOUND silently dropped", "loose curves in compound stripped on write", "wireframe-only entities lost on export", "construction wires not exported".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* P017: three free wires represented as loose topological EDGE_CURVE + VERTEX_POINT items are wired as members of the GEOMETRIC_CURVE_SET that IS the shape-representation item (reachable from the SHAPE root); GEOMETRIC_CURVE_SET members must be geometric point/curve/surface, not topological EDGE_CURVE, so OCCT's transfer silently drops the loose wires and yields an empty shape; a control carrying the same wires as bounded TRIMMED_CURVE geometry is preserved (3 edges + 6 vertices) — compliant receivers must preserve free wires in the top-level COMPOUND */
3HEADER;
4FILE_DESCRIPTION(('P017'),'2;1');
5FILE_NAME('P017.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('wire1_p0',(0.0,0.0,0.0));
11#2=CARTESIAN_POINT('wire1_p1',(5.0,0.0,0.0));
12#3=VERTEX_POINT('wire1_v0',#1);
13#4=VERTEX_POINT('wire1_v1',#2);
14#5=DIRECTION('wire1_dir',(1.0,0.0,0.0));
15#6=VECTOR('',#5,5.0);
16#7=LINE('wire1_line',#1,#6);
17#8=EDGE_CURVE('wire1_edge',#3,#4,#7,.T.);
18#9=CARTESIAN_POINT('wire2_p0',(0.0,1.0,0.0));
19#10=CARTESIAN_POINT('wire2_p1',(3.0,1.0,0.0));
20#11=VERTEX_POINT('wire2_v0',#9);
21#12=VERTEX_POINT('wire2_v1',#10);
22#13=DIRECTION('wire2_dir',(1.0,0.0,0.0));
23#14=VECTOR('',#13,3.0);
24#15=LINE('wire2_line',#9,#14);
25#16=EDGE_CURVE('wire2_edge',#11,#12,#15,.T.);
26#17=CARTESIAN_POINT('wire3_p0',(1.0,0.0,0.0));
27#18=CARTESIAN_POINT('wire3_p1',(4.0,3.0,0.0));
28#19=VERTEX_POINT('wire3_v0',#17);
29#20=VERTEX_POINT('wire3_v1',#18);
30#21=DIRECTION('wire3_dir',(0.707106781187,0.707106781187,0.0));
31#22=VECTOR('',#21,4.24264068712);
32#23=LINE('wire3_line',#17,#22);
33#24=EDGE_CURVE('wire3_edge',#19,#20,#23,.T.);
34#25=GEOMETRIC_CURVE_SET('free_wires',(#8,#16,#24));
35#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
36#9051=PRODUCT('P017','P017','',(#9050));
37#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
38#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
39#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
40#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
41#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
42#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
43#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
44#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
45#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
46#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#25),#9060);
47#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
48#9063=PRODUCT_CONTEXT('sub',#9000,'mechanical');
49#9064=PRODUCT('FreeWireComp','FreeWireComp','',(#9063));
50#9065=PRODUCT_DEFINITION_FORMATION('','',#9064);
51#9066=PRODUCT_DEFINITION('design','',#9065,#9053);
52#9067=NEXT_ASSEMBLY_USAGE_OCCURRENCE('1','free_wire_instance','',#9054,#9066,$);
53ENDSEC;
54END-ISO-10303-21;