Tfa070 — `CURVE_BOUNDED_SURFACE.implicit_outer = .U.` (unset BOOLEAN) leaves boundary semantics ambiguous (BRL-CAD step-g)

§12.3c faces / sewing / free bounds (sub-class: ambiguous boundary semantics)

P1 — silent data loss

silent-loss topology

Sources

Sender

Hand-edited fixtures and a small population of fuzzed AP203 files where the producer left `implicit_outer` unspecified; also some early Inventor STEP exports that emitted `.U.` literal rather than `.T.`/`.F.`.

Description

The `CURVE_BOUNDED_SURFACE.implicit_outer` BOOLEAN slot has two valid states under the schema (`.T.` — natural surface boundary is implicitly the outer loop; `.F.` — every boundary in the `boundaries` list is explicit). step-g's `getBooleanAttribute` accepts a third state, `BUnset`, which leaves the receiver unable to choose between the two valid interpretations. Because `LoadONBrep` is a stub anyway the immediate symptom is silent face-drop; but even when LoadONBrep is implemented, the absence of a default for `.U.` means the importer has no defined behaviour. The schema-strict reading is to reject; a forgiving reader could heal by computing whether the listed boundaries cover the surface domain and inferring `implicit_outer` automatically.

Reproducer recipe

`#80=CURVE_BOUNDED_SURFACE('cbs_face', #14, (#70), .U.);`. step-g loads `implicit_outer = BUnset` and the LoadONBrep stub drops the face.

Expected kernel behavior

reject — emit `E_AMBIGUOUS_IMPLICIT_OUTER` and refuse the entity; alternatively heal by inspecting whether the listed boundaries cover the surface's natural domain and inferring the flag, with `W_INFERRED_IMPLICIT_OUTER` diagnostic.

Notes

**See also**: Tfa038, Twi091, Gs042. Synonyms: "CURVE_BOUNDED_SURFACE implicit_outer unset", "STEP face implicit_outer .U. silently dropped", "step-g BUnset boolean defaults to drop", "ambiguous outer-boundary semantics", "BOOLEAN attribute .U. accepted but undefined".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Tfa038, Twi091, Gs042

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Tfa070: GEOMETRIC_CURVE_SET containing CURVE_BOUNDED_SURFACE with implicit_outer=.U.; basis surface is a PLANE at z=0; one boundary curve: a B_SPLINE_CURVE tracing the rectangle [0,10]x[0,10]; implicit_outer left as .U. (undefined BOOLEAN) — receiver cannot determine whether natural surface boundary is implicit outer loop; step-g LoadONBrep is a stub — face silently dropped; schema-strict receivers must reject with E_AMBIGUOUS_IMPLICIT_OUTER; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Tfa070'),'2;1');
5FILE_NAME('Tfa070.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=PLANE('',#4);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=CARTESIAN_POINT('',(10.0,0.0,0.0));
17#8=CARTESIAN_POINT('',(10.0,10.0,0.0));
18#9=CARTESIAN_POINT('',(0.0,10.0,0.0));
19#10=CARTESIAN_POINT('',(0.0,0.0,0.0));
20#11=B_SPLINE_CURVE_WITH_KNOTS('rect_boundary',1,(#6,#7,#8,#9,#10),.UNSPECIFIED.,.F.,.F.,(2,1,1,1,2),(0.0,1.0,2.0,3.0,4.0),.UNSPECIFIED.);
21#12=CURVE_BOUNDED_SURFACE('cbs_face',#5,(#11),.U.);
22#13=GEOMETRIC_CURVE_SET('',( #12));
23#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
24#9051=PRODUCT('Tfa070','Tfa070','',(#9050));
25#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
26#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
27#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
28#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
29#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
30#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
31#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
32#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
33#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
34#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#13),#9060);
35#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
36ENDSEC;
37END-ISO-10303-21;