M110 — AP209 ply orientation vector not normalized

§12.8 mixed (sub-class: AP209 material orientation)

P1 — silent data loss

spec-violation

Sources

Sender

deduced — composite-modeling tool storing ply angle as raw vector without normalization

Description

A composite ply's fiber orientation `DIRECTION` ratios sum to a magnitude of e.g. `2.0` (vector `(2.0, 0.0, 0.0)`) instead of unit length. STEP `DIRECTION` is supposed to be unit-normalized; consumers that use the ratios directly (e.g. for stiffness-matrix transformation) compute doubled effective fiber-angle weight. Bug-reporter language: "AP209 ply direction not unit", "fiber angle vector wrong magnitude", "composite stiffness 2x off".

Reproducer recipe

`DIRECTION('ply_0deg', (2.0, 0.0, 0.0))` referenced as a ply orientation in a `LAMINATE_TABLE`.

Expected kernel behavior

normalize direction silently and warn; or reject the ply specification as malformed.

Notes

Synonyms: "AP209 unnormalized direction", "ply orientation magnitude wrong", "fiber DIRECTION not unit length", "STEP DIRECTION ratios sum >1". Synonyms: "AP209 unnormalized direction", "ply orientation magnitude wrong".

Expected validation

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

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M110: AP209 ply orientation vector not normalized */
3/* DEFECT: DIRECTION('ply_0deg',(2.0,0.0,0.0)) — magnitude=2.0, not unit length */
4/* Consumers computing stiffness-matrix transforms get 2x effective fiber weight */
5/* Violates ISO 10303-42 direction normalization and AP209 §8 ply orientation */
6/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
7/* Byte assertion: contains(b'DIRECTION') */
8/* Byte assertion: contains(b'(2.0,0.0,0.0)') */
9HEADER;
10FILE_DESCRIPTION(('M110: AP209 ply orientation DIRECTION not unit normalized'),'2;1');
11FILE_NAME('M110.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
12/* Byte assertion: contains(b'STRUCTURAL_ANALYSIS_DESIGN') */
13FILE_SCHEMA(('STRUCTURAL_ANALYSIS_DESIGN { 1 0 10303 209 1 0 0 }'));
14ENDSEC;
15DATA;
16#1=APPLICATION_CONTEXT('structural_analysis_design');
17#2=APPLICATION_PROTOCOL_DEFINITION('international standard',
18  'structural_analysis_design',2001,#1);
19/* Standard unit context */
20#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
21#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
22#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
23#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.001),#10,
24  'distance_accuracy_value','maximum model space distance between geometric entities');
25#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
26  GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
27  GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
28  REPRESENTATION_CONTEXT('fea','3D'));
29/* Byte assertion: contains(b'DIRECTION') */
30/* Byte assertion: contains(b'(2.0,0.0,0.0)') */
31/* DEFECT: ply_0deg direction has magnitude 2.0 — should be (1.0,0.0,0.0) */
32/* CAM tool stored raw vector without normalisation; magnitude = sqrt(4) = 2.0 */
33#50=DIRECTION('ply_0deg',(2.0,0.0,0.0));
34/* Normal to ply plane — correctly unit-normalised (0 deg layup on XY plane) */
35#51=DIRECTION('ply_normal',(0.0,0.0,1.0));
36/* Origin for ply axis placement */
37#52=CARTESIAN_POINT('ply_origin',(0.0,0.0,0.0));
38/* AXIS2_PLACEMENT_3D using the defective unnormalized direction as ref direction *)  */
39#60=AXIS2_PLACEMENT_3D('ply_axis',#52,#51,#50);
40/* PLY_LAMINATE_DEFINITION referencing the unnormalized ply orientation axis */
41#70=PLY_LAMINATE_DEFINITION('ply_0',#60,$,$,$);
42/* LAMINATE_TABLE holding the defective ply entry *)  */
43#80=LAMINATE_TABLE('layup_A',(#70),$);
44/* GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty */
45#300=GEOMETRIC_CURVE_SET('ap209-ply-orientation-direction-not-unit-normalized',
46  (#50,#51,#52,#60,#70,#80));
47/* Product chain */
48#400=APPLICATION_CONTEXT('mechanical design');
49#401=PRODUCT_CONTEXT('',#400,'mechanical');
50#402=PRODUCT('M110','M110','M110',(#401));
51#403=PRODUCT_DEFINITION_FORMATION('','',#402);
52#404=PRODUCT_DEFINITION_CONTEXT(#400,'design');
53#405=PRODUCT_DEFINITION('','',#403,#404);
54#406=PRODUCT_DEFINITION_SHAPE('','',#405);
55#407=SHAPE_REPRESENTATION('',(#300),#14);
56#408=SHAPE_DEFINITION_REPRESENTATION(#406,#407);
57ENDSEC;
58END-ISO-10303-21;