Files
OpenNest/OpenNest.Core
ajandClaude Opus 5.5 2be966187c fix(plate): turn the grain when the plate is rotated 90 degrees
Grain belongs to the physical sheet, so Rotate Plate CW/CCW must turn it
too: a 60x120 sheet with side-to-side grain becomes a 120x60 sheet whose
grain runs front to back. Rotate90 swapped the size and turned the parts
but left GrainAngle alone, so bend-vs-grain warnings were wrong after a
rotation. A 180-degree turn leaves the grain's line unchanged.

Grain angles are lines, so they are kept in [0, pi).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 11:01:57 -05:00
..
2026-03-18 16:47:42 -04:00