Files
ViewDesignEngine/docs
hm f5aeeeb424 fix(curves): initialize plane normal before coplanarity test in is_circle_section
is_circle_section used the caller's uninitialized Vector3D normal in the coplanarity sampling loop before assigning it at the end; suffix tests rewriting the stack flipped rational-circle sections to the generic resampling path, giving loft weight sum 26.414213562 instead of 23.485281374 and offset fit residuals 4.3e-2. Assign plane_normal before the loop and hand it back as the output.

Regression: MeasureTest.LoftOfRationalCirclesStaysRational (rational Coons prefix + 3-circle loft; weight sum and v-boundary tolerance 1e-12). test_measure 160/160; test_generative_surfaces 33/33; test_curve_tools 52/52; test_brep 96/96; PR gate 918/918.
2026-11-16 03:05:27 +08:00
..