P008 — Long helix represented as huge B-spline causes catastrophic import time

§12.10 scale/performance

P2 — spec deviation (no data loss)

assembly

Sources

Sender

SolidWorks (`EixoY.STEP`); thread-profile tools

Description

A single long thread/helix represented as a `B_SPLINE_CURVE_WITH_KNOTS` with thousands of control points (e.g. M10×300 thread) takes >1 hour in FreeCAD vs. <1 minute in SolidWorks/VariCAD. The helix dominates cost; rest of model is fast.

Reproducer recipe

STEP file with one helical sweep represented as a NURBS curve with 5000+ control points spanning many turns, plus minimal capping faces.

Expected kernel behavior

Heal and accept: linear scaling with face count, not catastrophic. Must not hang on long helix.

Notes

**See also**: Pf014. Synonyms: "long helix becomes huge B-spline that takes forever to import", "spring/screw thread import hangs", "helical curve approximation explodes file size", "catastrophic import time on long helix".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(3) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Pf014

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* P008: B_SPLINE_CURVE_WITH_KNOTS with 5040 control points representing a long helical thread curve (M10x300, 60 turns at pitch 5mm); catastrophic import time >1 hour in FreeCAD vs <1 min in SolidWorks; helix parametrization causes quadratic scaling in OCCT tessellator; NEXT_ASSEMBLY_USAGE_OCCURRENCE scaffolding for §12.6 lint; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('P008'),'2;1');
5FILE_NAME('P008.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');