M038 — AP209 freedom_and_coefficient `a` ≠ 1, or single_point_constraint `b` ≠ 0

§12.8 (sub-class: FEA)

P1 — silent data loss

spec-violation

Sources

Description

Constraint coefficient values violate the SPC simplifying assumptions (RP requires `a==1`, `b==0`).

Reproducer recipe

`freedom_and_coefficient` entity with `a=2.0`, paired with a `single_point_constraint` whose `b=0.001`.

Expected kernel behavior

Warn and accept; honor values.

Notes

Synonyms: "AP209 SPC coefficient nonstandard", "freedom_and_coefficient a!=1", "single_point_constraint b!=0", "BC simplifying assumptions violated".

Expected validation

occt=empty/empty gmsh=empty 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/* M038: GEOMETRIC_CURVE_SET containing AP209 SPC boundary condition with nonstandard constraint coefficients; input: AP242/AP209 STEP file where FREEDOM_AND_COEFFICIENT has a=2.0 (RP requires a==1) and SINGLE_POINT_CONSTRAINT has b=0.001 (RP requires b==0); per ISO 10303-104 AP209 the simplifying assumptions for SPC are a==1, b==0; a nonstandard 'a' scales the constrained DOF; nonzero 'b' shifts it; kernel must warn and proceed, honoring the actual values rather than silently clamping them to the assumed defaults; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: AP209 SPC coefficient nonstandard, freedom_and_coefficient a!=1, single_point_constraint b!=0, BC simplifying assumptions violated */
3HEADER;
4FILE_DESCRIPTION(('M038'),'2;1');
5FILE_NAME('M038.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('constrained_node',(1.,2.,3.));
11#2=FREEDOM_AND_COEFFICIENT('constrained_dof_x',.X.,2.0);
12#3=SINGLE_POINT_CONSTRAINT('spc_nonstandard_b',(#2),0.001);
13#4=FREEDOM_AND_COEFFICIENT('constrained_dof_y',.Y.,2.0);
14#5=GEOMETRIC_CURVE_SET('ap209-spc-nonstandard-coefficients',(#2,#3,#4));
15#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
16#9051=PRODUCT('M038','M038','',(#9050));
17#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
18#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
19#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
20#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
21#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
22#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
23#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
24#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
25#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
26#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#5),#9060);
27#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
28ENDSEC;
29END-ISO-10303-21;