step-examples/12-3a-shells/Bo025.stp
Sources
- OCCT BRepLib::EncodeRegularity (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
Two ADVANCED_FACEs on CYLINDRICAL_SURFACEs (often defined as two distinct surface entities with identical axis and radius, duplicates of one cylinder) meet along a shared circular edge; their normals at the edge are tangent-continuous (G1) but the edge is tagged in the model as a sharp boundary (e.g., `C0` continuity). Or the inverse: an edge is tagged smooth but the two surfaces meet at an angle. Bug-reporter language: "edge continuity wrong", "smooth edge marked sharp", "fillet edge marked as crease", "duplicate cylinders should share one surface".
Reproducer recipe
Two ADVANCED_FACEs on two CYLINDRICAL_SURFACE entities that are duplicates (same axis, same radius) sharing a tangent edge, with the edge marked `C0` in the source model. (In STEP this is implicit in face tessellation tools but not in the entity graph; the reproducer is geometric — surfaces meet smoothly.)
Expected kernel behavior
Heal and accept: recompute regularity from face normals; correct the tag.
Notes
Affects downstream meshing and shading. Provenance tier: runtime-only; bytes alone cannot demonstrate this defect; STEP edge entities have no continuity-tag attribute, so the "C0 vs G1" mistagging exists only as kernel-internal regularity state populated during the regularity-encoding pass. The static fixture encodes only the geometric trigger (two cylinders meeting tangentially). A behavioral test against the regularity-encoder is the appropriate venue. **RUNTIME-VERIFIED 2026-08-08 (live OCP/OCCT 7.8.1):** the claim now has measurements, not just a described trigger. After transfer the shape has exactly ONE edge with two incident faces (so it does reach the regularity gate). Sampling that edge at 9 parameters and comparing the two faces' surface normals via D1 gives a normal angle of 0.0000 deg at every sample -- the edge is geometrically G1. `BRep_Tool::Continuity` nevertheless reports `GeomAbs_C0`, and it STAYS C0 after an explicit `BRepLib::EncodeRegularity(shape, 0.5)` with a deliberately generous 0.5 rad tolerance. So the mis-tag is real and reproducible, not merely asserted. CAUTION for future auditors: querying `Continuity` and seeing "sharp" does NOT refute this entry -- the tag is precisely what the fixture claims is wrong. The claim is about GEOMETRY (face normals), so measure the normals. An audit pass on 2026-08-08 rejected this fixture by measuring the tag instead, and that rejection was wrong. Synonyms: "edge continuity wrong", "smooth edge marked sharp", "fillet edge marked as crease", "duplicate cylinders should share one surface", "regularity tag disagrees with measured smoothness".
Expected validation
occt=shape(1)/shape(1) gmsh=reject ifc=schema_n/a
Provenance tier
runtime-only — defect not fully embodied in fixture bytes.
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Tier-3 assertions
face[0].surface_type == "cylinder"face[1].surface_type == "cylinder"face[0].quadric.radius == 1.0face[1].quadric.radius == 1.0edge[1].curve_type == "circle"edge[1].analytic.radius == 1.0edge[2].curve_type == "circle"edge[2].analytic.radius == 1.0edge[3].curve_type == "circle"edge[3].analytic.radius == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Bo025: Two ADVANCED_FACEs on duplicate CYLINDRICAL_SURFACEs (same axis, same radius=1.0) share a circular edge â surfaces meet tangentially (G1) but modelled as distinct surface entities IS wired into OPEN_SHELL face/edge topology; regularity-encoder mis-tags the shared edge as C0 (sharp crease) */ 3HEADER; 4FILE_DESCRIPTION(('Bo025'),'2;1'); 5FILE_NAME('Bo025.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=CYLINDRICAL_SURFACE('',#4,1.0); 15#6=AXIS2_PLACEMENT_3D('',#1,#2,#3); 16#7=CYLINDRICAL_SURFACE('',#6,1.0); 17#8=AXIS2_PLACEMENT_3D('',#1,#2,#3); 18#9=CIRCLE('',#8,1.0); 19#10=CARTESIAN_POINT('',(1.0,0.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=EDGE_CURVE('',#11,#11,#9,.T.); 22#13=CARTESIAN_POINT('',(0.0,0.0,1.0)); 23#14=AXIS2_PLACEMENT_3D('',#13,#2,#3); 24#15=CIRCLE('',#14,1.0); 25#16=CARTESIAN_POINT('',(1.0,0.0,1.0)); 26#17=VERTEX_POINT('',#16); 27#18=EDGE_CURVE('',#17,#17,#15,.T.); 28#19=CARTESIAN_POINT('',(0.0,0.0,-1.0)); 29#20=AXIS2_PLACEMENT_3D('',#19,#2,#3); 30#21=CIRCLE('',#20,1.0); 31#22=CARTESIAN_POINT('',(1.0,0.0,-1.0)); 32#23=VERTEX_POINT('',#22); 33#24=EDGE_CURVE('',#23,#23,#21,.T.); 34#25=ORIENTED_EDGE('',$,$,#24,.T.); 35#26=ORIENTED_EDGE('',$,$,#12,.T.); 36#27=EDGE_LOOP('',(#25,#26)); 37#28=FACE_OUTER_BOUND('',#27,.T.); 38#29=ADVANCED_FACE('',(#28),#5,.T.); 39#30=ORIENTED_EDGE('',$,$,#12,.F.); 40#31=ORIENTED_EDGE('',$,$,#18,.T.); 41#32=EDGE_LOOP('',(#30,#31)); 42#33=FACE_OUTER_BOUND('',#32,.T.); 43#34=ADVANCED_FACE('',(#33),#7,.T.); 44#35=OPEN_SHELL('bo025_dup_cyl',(#29,#34)); 45#36=SHELL_BASED_SURFACE_MODEL('',(#35)); 46#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 47#9051=PRODUCT('Bo025','Bo025','',(#9050)); 48#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 49#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 50#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 51#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 52#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 53#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 54#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 55#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 56#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 57#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#36),#9060); 58#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 59ENDSEC; 60END-ISO-10303-21;