step-examples/12-2c-surfaces/Gs088.stp
Sources
- synthesized — no external source cited
Description
ShapeUpgrade_FaceDivide.SplitSurface periodic
Reproducer recipe
Expected kernel behavior
Accept, matching OCCT's own measured result (a single valid face): the RECTANGULAR_TRIMMED_SURFACE restricts a unit-radius CYLINDRICAL_SURFACE to u,v in [0,1] radians/mm, a window far short of the cylinder's 2*pi seam, so there is no periodic-wraparound question for this particular trim. A kernel should build the ordinary partial-cylinder face directly from the declared bounds. Note this file is one where an independent meshing tool reports a rejection on the same input even though the loader accepts it -- a kernel author porting behavior from multiple tools should surface that disagreement as a diagnostic rather than silently trusting only one verdict.
Expected validation
occt=shape(1)/shape(1) gmsh=reject ifc=schema_n/a
Tier-3 assertions
n_faces_total == 1face[0].surface_type == "cylinder"face[0].quadric.radius == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gs088: CYLINDRICAL_SURFACE split at seam; periodic wrapping not preserved */ 3HEADER; 4FILE_DESCRIPTION(('Gs088'),'2;1'); 5FILE_NAME('Gs088.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=RECTANGULAR_TRIMMED_SURFACE('periodic_cylinder',#5,0.0,1.0,0.0,1.0,.T.,.T.); 16#7=CARTESIAN_POINT('',(1.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(0.0,0.0,0.0)); 18#9=CARTESIAN_POINT('',(1.0,0.0,1.0)); 19#10=CARTESIAN_POINT('',(0.0,0.0,1.0)); 20#11=VERTEX_POINT('',#7); 21#12=VERTEX_POINT('',#8); 22#13=VERTEX_POINT('',#10); 23#14=VERTEX_POINT('',#9); 24#15=DIRECTION('',(-1.0,0.0,0.0)); 25#16=VECTOR('',#15,1.0); 26#17=LINE('',#7,#16); 27#18=EDGE_CURVE('',#11,#12,#17,.T.); 28#19=ORIENTED_EDGE('',$,$,#18,.T.); 29#20=DIRECTION('',(0.0,0.0,1.0)); 30#21=VECTOR('',#20,1.0); 31#22=LINE('',#8,#21); 32#23=EDGE_CURVE('',#12,#13,#22,.T.); 33#24=ORIENTED_EDGE('',$,$,#23,.T.); 34#25=DIRECTION('',(1.0,0.0,0.0)); 35#26=VECTOR('',#25,1.0); 36#27=LINE('',#10,#26); 37#28=EDGE_CURVE('',#13,#14,#27,.T.); 38#29=ORIENTED_EDGE('',$,$,#28,.T.); 39#30=DIRECTION('',(0.0,0.0,-1.0)); 40#31=VECTOR('',#30,1.0); 41#32=LINE('',#9,#31); 42#33=EDGE_CURVE('',#14,#11,#32,.T.); 43#34=ORIENTED_EDGE('',$,$,#33,.T.); 44#35=EDGE_LOOP('',(#19,#24,#29,#34)); 45#36=FACE_OUTER_BOUND('',#35,.T.); 46#37=ADVANCED_FACE('',(#36),#6,.T.); 47#38=OPEN_SHELL('',(#37)); 48#39=SHELL_BASED_SURFACE_MODEL('',(#38)); 49#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 50#9051=PRODUCT('Gs088','Gs088','',(#9050)); 51#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 52#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 53#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 54#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 55#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 56#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 57#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 58#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 59#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 60#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#39),#9060); 61#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 62ENDSEC; 63END-ISO-10303-21;