step-examples/12-2c-surfaces/Gs177.stp
Sources
- synthesized — no external source cited
Description
ConicalSurface Apex Singularity
Reproducer recipe
Expected kernel behavior
Accept: a CONICAL_SURFACE (semi-angle pi/4, reference radius 1.0) trimmed by a RECTANGULAR_TRIMMED_SURFACE spanning v in [0,1] with a full 2*pi U sweep, wired into the face via a genuine vertex/loop at the apex (v=0, where every u maps to the single 3D apex point). A kernel enumerating a cone's singular points must report the apex whenever the trim's v-range includes v=0, using the surface's own analytic apex location (the AXIS2_PLACEMENT_3D origin), not a numerically-estimated collapse point.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Tier-3 assertions
shape_null == Falsen_faces_total == 1n_edges_total == 4n_vertices_total == 8face[0].surface_type == "cone"face[0].quadric.semi_angle == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gs177: conical surface apex singularity, VERTEX_LOOP at apex */ 3HEADER; 4FILE_DESCRIPTION(('Gs177'),'2;1'); 5FILE_NAME('Gs177.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=CONICAL_SURFACE('cone',#4,0.785398163,1.0); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=VERTEX_LOOP('apex_loop',#7); 18#9=FACE_OUTER_BOUND('',#8,.T.); 19#10=RECTANGULAR_TRIMMED_SURFACE('apex_window',#5,0.0,6.283185307179586,0.0,1.0,.T.,.T.); 20#11=ADVANCED_FACE('apex_face',(#9),#10,.T.); 21#12=OPEN_SHELL('apex_shell',(#11)); 22#13=SHELL_BASED_SURFACE_MODEL('sbsm',(#12)); 23#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 24#9051=PRODUCT('Gs177','Gs177','',(#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;