step-examples/12-6-assembly/P021.stp
Sources
- FreeCAD #17422, #17201
Sender
Fusion 360
Description
Two `EDGE_CURVE` instances share the same trimmed `CIRCLE` geometry but bind to different `FACE_OUTER_BOUND`s with different radii (radius mismatch within tolerance). Quick Measure samples the underlying curve and reports the wrong radius.
Reproducer recipe
STEP file with two edges sharing a single underlying `CIRCLE` curve geometry, attached to faces with materially different radii.
Expected kernel behavior
Heal and accept: resolve via face geometry rather than edge curve; or warn and accept on mismatch.
Notes
Synonyms: "edge curve doesn't lie on adjacent face within tolerance", "edge geometry mismatches face geometry", "edge-curve / surface gap exceeds tolerance", "sliver between edge and face".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(18) ifc=schema_n/a
Byte assertions
count_entity_def(b'CIRCLE') >= 1count_entity_def(b'EDGE_CURVE') >= 2
Tier-3 assertions
n_faces_total == 2
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* P021: Two ADVANCED_FACEs sharing a CIRCLE geometry (radius 10 mm) but the second face bounds are scaled for radius 10.5 mm â edge-curve geometry mismatches face surface within tolerance; Fusion 360 radius mismatch: CIRCLE curve sampled at wrong radius; OCCT heals and loads shape(1) */ 3HEADER; 4FILE_DESCRIPTION(('P021'),'2;1'); 5FILE_NAME('P021.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,5.0)); 16#7=DIRECTION('',(0.0,0.0,1.0)); 17#8=DIRECTION('',(1.0,0.0,0.0)); 18#9=AXIS2_PLACEMENT_3D('',#6,#7,#8); 19#10=PLANE('',#9); 20#11=CARTESIAN_POINT('',(-10.0,-10.0,0.0)); 21#12=CARTESIAN_POINT('',(10.0,-10.0,0.0)); 22#13=CARTESIAN_POINT('',(10.0,10.0,0.0)); 23#14=CARTESIAN_POINT('',(-10.0,10.0,0.0)); 24#15=VERTEX_POINT('',#11); 25#16=VERTEX_POINT('',#12); 26#17=VERTEX_POINT('',#13); 27#18=VERTEX_POINT('',#14); 28#19=DIRECTION('',(1.0,0.0,0.0)); 29#20=VECTOR('',#19,20.0); 30#21=LINE('',#11,#20); 31#22=EDGE_CURVE('',#15,#16,#21,.T.); 32#23=DIRECTION('',(0.0,1.0,0.0)); 33#24=VECTOR('',#23,20.0); 34#25=LINE('',#12,#24); 35#26=EDGE_CURVE('',#16,#17,#25,.T.); 36#27=DIRECTION('',(-1.0,0.0,0.0)); 37#28=VECTOR('',#27,20.0); 38#29=LINE('',#13,#28); 39#30=EDGE_CURVE('',#17,#18,#29,.T.); 40#31=DIRECTION('',(0.0,-1.0,0.0)); 41#32=VECTOR('',#31,20.0); 42#33=LINE('',#14,#32); 43#34=EDGE_CURVE('',#18,#15,#33,.T.); 44#35=ORIENTED_EDGE('',$,$,#22,.T.); 45#36=ORIENTED_EDGE('',$,$,#26,.T.); 46#37=ORIENTED_EDGE('',$,$,#30,.T.); 47#38=ORIENTED_EDGE('',$,$,#34,.T.); 48#39=EDGE_LOOP('',(#35,#36,#37,#38)); 49#40=FACE_OUTER_BOUND('',#39,.T.); 50#41=ADVANCED_FACE('',(#40),#5,.T.); 51#42=CARTESIAN_POINT('',(-10.5,-10.5,5.0)); 52#43=CARTESIAN_POINT('',(10.5,-10.5,5.0)); 53#44=CARTESIAN_POINT('',(10.5,10.5,5.0)); 54#45=CARTESIAN_POINT('',(-10.5,10.5,5.0)); 55#46=VERTEX_POINT('',#42); 56#47=VERTEX_POINT('',#43); 57#48=VERTEX_POINT('',#44); 58#49=VERTEX_POINT('',#45); 59#50=DIRECTION('',(1.0,0.0,0.0)); 60#51=VECTOR('',#50,21.0); 61#52=LINE('',#42,#51); 62#53=EDGE_CURVE('',#46,#47,#52,.T.); 63#54=DIRECTION('',(0.0,1.0,0.0)); 64#55=VECTOR('',#54,21.0); 65#56=LINE('',#43,#55); 66#57=EDGE_CURVE('',#47,#48,#56,.T.); 67#58=DIRECTION('',(-1.0,0.0,0.0)); 68#59=VECTOR('',#58,21.0); 69#60=LINE('',#44,#59); 70#61=EDGE_CURVE('',#48,#49,#60,.T.); 71#62=DIRECTION('',(0.0,-1.0,0.0)); 72#63=VECTOR('',#62,21.0); 73#64=LINE('',#45,#63); 74#65=EDGE_CURVE('',#49,#46,#64,.T.); 75#66=ORIENTED_EDGE('',$,$,#53,.T.); 76#67=ORIENTED_EDGE('',$,$,#57,.T.); 77#68=ORIENTED_EDGE('',$,$,#61,.T.); 78#69=ORIENTED_EDGE('',$,$,#65,.T.); 79#70=EDGE_LOOP('',(#66,#67,#68,#69)); 80#71=FACE_OUTER_BOUND('',#70,.T.); 81#72=ADVANCED_FACE('',(#71),#10,.T.); 82#73=CARTESIAN_POINT('',(0.0,0.0,0.0)); 83#74=DIRECTION('',(0.0,0.0,1.0)); 84#75=DIRECTION('',(1.0,0.0,0.0)); 85#76=AXIS2_PLACEMENT_3D('',#73,#74,#75); 86#77=CIRCLE('shared_circle',#76,10.0); 87#78=CARTESIAN_POINT('',(10.0,0.0,0.0)); 88#79=VERTEX_POINT('',#78); 89#80=EDGE_CURVE('circ_edge1',#79,#79,#77,.T.); 90#81=EDGE_CURVE('circ_edge2',#79,#79,#77,.T.); 91#82=OPEN_SHELL('',(#41,#72)); 92#83=SHELL_BASED_SURFACE_MODEL('',(#82)); 93#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 94#9051=PRODUCT('P021','P021','',(#9050)); 95#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 96#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 97#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 98#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 99#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 100#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 101#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 102#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 103#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 104#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#83),#9060); 105#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 106#9063=COLOUR_RGB('mismatch_color',0.2,0.7,0.4); 107#9064=FILL_AREA_STYLE_COLOUR('',#9063); 108#9065=FILL_AREA_STYLE('',(#9064)); 109#9066=SURFACE_STYLE_FILL_AREA(#9065); 110#9067=SURFACE_SIDE_STYLE('',(#9066)); 111#9068=SURFACE_STYLE_USAGE(.BOTH.,#9067); 112#9069=PRESENTATION_STYLE_ASSIGNMENT((#9068)); 113#9070=STYLED_ITEM('mismatch_style',(#9069),#41); 114ENDSEC; 115END-ISO-10303-21;