Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ API between minor releases.

## [Unreleased]

## [0.5.0] - 2026-11-20

### Added
- `DwgIO.Scene.Adapter` provides scene conversion with only DwgIO and IOScene as dependencies.
The `DwgIO.Scene` package retains its export API and forwards the existing conversion types.
Expand All @@ -31,15 +33,15 @@ API between minor releases.
- `dwgio entities <file.dwg> [--type LINE,CIRCLE] [--json]` lists decoded entities one line each or as a JSON
array, with the type filter validated against the known type names (#19). The JSON export writes to standard
output when the target is `-` (#19).
- `DwgIO.Scene` package: converts a drawing into a neutral [IOScene](https://www.nuget.org/packages/IOScene) scene
- `DwgSceneReader` converts a drawing into a neutral [IOScene](https://www.nuget.org/packages/IOScene) scene
document, the shared scene model of the IOExtend tools. One element per decoded entity with the handle as
`SourceId`, line and point geometries scaled to metres (`DwgSceneOptions.LengthUnit`), ACI colours on the
placements and a conversion report (`DwgSceneResult`). The scene passes the IOScene structural validation and
round-trips through the IOScene JSON format.
- `dwgio scene <file.dwg> <out.json> [--unit mm|cm|m|ft|in]` writes the scene document.
- `DwgSceneExport.SaveObj`/`SaveGlb` write a drawing to Wavefront OBJ (with an adjacent MTL colour library,
written as a pair) and binary glTF (GLB) through the IOScene writers; `dwgio drawing.dwg out.obj` and
`dwgio drawing.dwg out.glb` dispatch by extension.
`dwgio drawing.dwg out.glb` dispatch by extension. These exporters use `IOScene.Formats` 0.1.0-preview.1.
- `DwgSvgExporter` and `dwgio svg <file.dwg> <out.svg> [--scale n]` draw model space to SVG (#32): LINE,
CIRCLE, ARC and POINT in the top view with the y axis up, in their ACI colours, inside a view box that
contains every exported entity. Polylines, curves and text follow as the core decodes them.
Expand All @@ -48,6 +50,11 @@ API between minor releases.
- `dwgio inspect` is written through a `TextWriter`, so the report is testable directly.

### Fixed
- Preview extraction maps image offsets through the section pages, wraps bare bitmaps and keeps WMF images
identified as WMF (#10).
- `AcDb:AppInfo` entries are decoded by identifier, including when the producer writes them out of order (#11).
- Section reads accept the small trailing size discrepancy found in real drawings and preserve section diagnostics (#12).
- JSON exports write non-finite geometry values as `null`. File replacement preserves existing access rights (#9).
- `DwgAppInfo.Product` is filled from the product XML's `name` attribute ("AutoCAD", "AutoCAD LT",
"Teigha(R)", ...), so `dwgio inspect` and the JSON export name the product instead of an empty string (#35).
- `dwgio preview` exits with code 5 when the drawing has no thumbnail, distinct from the parse-error code, and
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>0.4.0</Version>
<Version>0.5.0</Version>
<Authors>mahach666</Authors>
<Copyright>Copyright (c) 2026 IOExtend</Copyright>
<Product>DwgIO</Product>
Expand Down
Loading