ACadSharp misreads UTF-8 degree symbol (C2 B0) as two ANSI_1252
characters (°) then writes that back out. Post-process the saved
DXF to replace ° with ° so bend notes display correctly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bend lines retained their original explicit color (white) from
SolidWorks after being moved to the BEND layer. Now set to ByLayer
so they inherit the layer's yellow color.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
The DxfWriter in 3.1.32 wrote root dictionary entries referencing child
dictionary objects (ACAD_GROUP, ACAD_LAYOUT, etc.) but never serialized
the actual objects. This caused AutoCAD to report "GroupTable dictionary
was not defined in NamedObject dictionary". Version 3.4.9 includes the
root dictionary fix from PR #957.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SolidWorks DXF exports don't include the ACAD_GROUP entry in the Named
Object Dictionary. Without it, AutoCAD reports "GroupTable dictionary was
not defined in NamedObject dictionary" when opening the file.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace vendored netDxf git submodule with ACadSharp NuGet package
(v3.1.32). This aligns the DXF dependency with the parent project.
API migration: DxfDocument→CadDocument, Vector3→XYZ, Vector2→XY,
MText.Position→MText.InsertPoint, Line.Linetype→Line.LineType,
DxfDocument.Load()→DxfReader, doc.Save()→DxfWriter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix GetEtchLines() using yield break instead of return lines, which
caused all etch lines to be silently discarded
- Support BEND LINES and BENDLINES layer names in addition to BEND
- Move all bend lines to BEND layer before processing
- Migrate csproj from .NET Framework 4.8 to SDK-style net8.0-windows
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>