bf36a56387da18f8f802b08c816bc7b078f6b921
Three issues prevented bend line detection after the ACadSharp migration: 1. IsBendLine required layer "BEND" but SolidWorks exports bend lines on layer "0" with CENTERX2 linetype. Added "0" as accepted layer. 2. Bend note regex used literal ° which failed when ACadSharp reads the degree symbol as multi-byte "°" due to ANSI/UTF-8 encoding mismatch. Changed to [^R\d]* to tolerate any characters between angle and R. 3. Radius filter excluded bends with null Radius (unparsed notes). Nullable comparison null <= 4.0 evaluates to false in C#, filtering out all bends. Added null check to include unparsed bends. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
Languages
C#
100%