step-examples/12-6-assembly/P007.stp
Sources
- FreeCAD #14600
Sender
HyGEARS / Involute Simulation Softwares (gear-design tool)
Description
Files with `B_SPLINE_SURFACE_WITH_KNOTS` of degree (3,3) representing strongly curved involute / hypoid surfaces with closely spaced knots load fine in OCCT 7.5 but display as flat planes in 7.6.x. The geometry is parsed but tessellation degenerates.
Reproducer recipe
Generate `B_SPLINE_SURFACE_WITH_KNOTS` with bicubic degree, strongly curved, knot vector with closely-spaced knots representing gear flank.
Expected kernel behavior
Heal and accept: surface honored as curved on display tessellation across versions. Must not silently flatten.
Notes
Synonyms: "sharp B-spline surface flattens between OCCT versions", "high-curvature NURBS surface loses detail", "B-spline curvature flattened on import", "surface detail lost across version upgrade".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'B_SPLINE_SURFACE_WITH_KNOTS') or contains(b'B_SPLINE')
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* P007: B_SPLINE_SURFACE_WITH_KNOTS degree (3,3) with closely-spaced knot vectors representing a strongly curved involute gear-flank surface; OCCT 7.5 tessellates correctly; OCCT 7.6.x degenerates to flat plane; geometry parsed but tessellation silently loses all curvature; NEXT_ASSEMBLY_USAGE_OCCURRENCE scaffolding for §12.6 lint; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty */ 3HEADER; 4FILE_DESCRIPTION(('P007'),'2;1'); 5FILE_NAME('P007.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=CARTESIAN_POINT('',(3.0,0.0,2.0)); 12#3=CARTESIAN_POINT('',(7.0,0.0,2.0)); 13#4=CARTESIAN_POINT('',(10.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(0.0,3.0,1.5)); 15#6=CARTESIAN_POINT('',(3.0,3.0,4.5)); 16#7=CARTESIAN_POINT('',(7.0,3.0,4.5)); 17#8=CARTESIAN_POINT('',(10.0,3.0,1.5)); 18#9=CARTESIAN_POINT('',(0.0,7.0,1.5)); 19#10=CARTESIAN_POINT('',(3.0,7.0,4.5)); 20#11=CARTESIAN_POINT('',(7.0,7.0,4.5)); 21#12=CARTESIAN_POINT('',(10.0,7.0,1.5)); 22#13=CARTESIAN_POINT('',(0.0,10.0,0.0)); 23#14=CARTESIAN_POINT('',(3.0,10.0,2.0)); 24#15=CARTESIAN_POINT('',(7.0,10.0,2.0)); 25#16=CARTESIAN_POINT('',(10.0,10.0,0.0)); 26#17=B_SPLINE_SURFACE_WITH_KNOTS('gear_flank_surface',3,3,((#1,#2,#3,#4),(#5,#6,#7,#8),(#9,#10,#11,#12),(#13,#14,#15,#16)),.RULED_SURF.,.F.,.F.,.F.,(4,1,4),(4,1,4),(0.0,0.3,1.0),(0.0,0.3,1.0),.UNSPECIFIED.); 27#18=GEOMETRIC_CURVE_SET('',(#17)); 28#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 29#9051=PRODUCT('P007','P007','',(#9050)); 30#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 31#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 32#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 33#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 34#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 35#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 36#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 37#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 38#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 39#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#18),#9060); 40#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 41#9063=PRODUCT_CONTEXT('sub',#9000,'mechanical'); 42#9064=PRODUCT('GearFlank','GearFlank','',(#9063)); 43#9065=PRODUCT_DEFINITION_FORMATION('','',#9064); 44#9066=PRODUCT_DEFINITION('design','',#9065,#9053); 45#9067=NEXT_ASSEMBLY_USAGE_OCCURRENCE('1','gear_flank_instance','',#9054,#9066,$); 46ENDSEC; 47END-ISO-10303-21;