P019 — Default-emitted full transparency renders objects invisible

§12.8 appearance

P1 — silent data loss

assembly

Sources

Sender

FreeCAD 0.21.x, VariCAD, Fusion (re-export round-trip)

Description

STEP files written with `SURFACE_STYLE_RENDERING_WITH_PROPERTIES(.. transparency = 1.0 ..)` for every face — even when the producer treated this as "not specified" — render as wireframe / invisible in viewers that honor transparency.

Reproducer recipe

STEP file with per-face rendering properties having transparency=1.0.

Expected kernel behavior

Heal and accept: default transparency 0 unless explicitly set; receivers should warn when an all-transparent file is improbable.

Notes

**See also**: M041. Synonyms: "geometry invisible after import due to default transparency", "fully transparent default style emitted", "all parts render invisible because of alpha=0", "default presentation_style sets transparency".

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

M041

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* P019: Every face styled with SURFACE_STYLE_RENDERING_WITH_PROPERTIES transparency=1.0 (fully transparent, i.e. invisible); COLOUR_RGB gives an apparent fill colour but transparency overrides it; viewer honouring transparency renders all geometry as invisible wireframe; receiver must warn 'all-transparent file improbable' and default to 0; the defect is a presentation/PMI property the shape-count oracles cannot observe, and here it also sits unreachable from the shape-rep root (product chain roots a GEOMETRIC_CURVE_SET stub), so OCC loads only a 1-vertex stub (shape(1)); byte-present but oracle-invisible to the load-time shape-count oracles */
3HEADER;
4FILE_DESCRIPTION(('P019'),'2;1');
5FILE_NAME('P019.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('',(0.0,0.0,0.0));
11#2=GEOMETRIC_CURVE_SET('',(#1));
12#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
13#9051=PRODUCT('P019','P019','',(#9050));
14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
16#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060);
24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
25#9063=CARTESIAN_POINT('face_orig',(0.0,0.0,0.0));
26#9064=DIRECTION('face_z',(0.0,0.0,1.0));
27#9065=DIRECTION('face_x',(1.0,0.0,0.0));
28#9066=AXIS2_PLACEMENT_3D('face_plc',#9063,#9064,#9065);
29#9067=PLANE('xy_plane',#9066);
30#9068=CARTESIAN_POINT('p0',(0.0,0.0,0.0));
31#9069=CARTESIAN_POINT('p1',(1.0,0.0,0.0));
32#9070=CARTESIAN_POINT('p2',(1.0,1.0,0.0));
33#9071=CARTESIAN_POINT('p3',(0.0,1.0,0.0));
34#9072=VERTEX_POINT('v0',#9068);
35#9073=VERTEX_POINT('v1',#9069);
36#9074=VERTEX_POINT('v2',#9070);
37#9075=VERTEX_POINT('v3',#9071);
38#9076=DIRECTION('d0',(1.0,0.0,0.0));
39#9077=VECTOR('',#9076,1.0);
40#9078=LINE('',#9068,#9077);
41#9079=EDGE_CURVE('e0',#9072,#9073,#9078,.T.);
42#9080=DIRECTION('d1',(0.0,1.0,0.0));
43#9081=VECTOR('',#9080,1.0);
44#9082=LINE('',#9069,#9081);
45#9083=EDGE_CURVE('e1',#9073,#9074,#9082,.T.);
46#9084=DIRECTION('d2',(-1.0,0.0,0.0));
47#9085=VECTOR('',#9084,1.0);
48#9086=LINE('',#9070,#9085);
49#9087=EDGE_CURVE('e2',#9074,#9075,#9086,.T.);
50#9088=DIRECTION('d3',(0.0,-1.0,0.0));
51#9089=VECTOR('',#9088,1.0);
52#9090=LINE('',#9071,#9089);
53#9091=EDGE_CURVE('e3',#9075,#9072,#9090,.T.);
54#9092=ORIENTED_EDGE('',*,*,#9079,.T.);
55#9093=ORIENTED_EDGE('',*,*,#9083,.T.);
56#9094=ORIENTED_EDGE('',*,*,#9087,.T.);
57#9095=ORIENTED_EDGE('',*,*,#9091,.T.);
58#9096=EDGE_LOOP('',(#9092,#9093,#9094,#9095));
59#9097=FACE_OUTER_BOUND('',#9096,.T.);
60#9098=ADVANCED_FACE('',(#9097),#9067,.T.);
61#9099=COLOUR_RGB('default_colour',0.8,0.8,0.8);
62#9100=SURFACE_STYLE_TRANSPARENT(1.0);
63#9101=SURFACE_STYLE_RENDERING_WITH_PROPERTIES(.NORMAL_SHADING.,#9099,(#9100));
64#9102=SURFACE_SIDE_STYLE('full_transparent_style',(#9101));
65#9103=SURFACE_STYLE_USAGE(.BOTH.,#9102);
66#9104=PRESENTATION_STYLE_ASSIGNMENT((#9103));
67#9105=STYLED_ITEM('invisible_face_style',(#9104),#9098);
68#9106=PRODUCT_CONTEXT('sub',#9000,'mechanical');
69#9107=PRODUCT('FullTranspComp','FullTranspComp','',(#9106));
70#9108=PRODUCT_DEFINITION_FORMATION('','',#9107);
71#9109=PRODUCT_DEFINITION('design','',#9108,#9053);
72#9110=NEXT_ASSEMBLY_USAGE_OCCURRENCE('1','full_transp_instance','',#9054,#9109,$);
73ENDSEC;
74END-ISO-10303-21;