Skip to content
Open
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes are documented here. The format follows [Keep a Changelog](h
and the project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html); versions before 1.0 may change the
API between minor releases.

## [Unreleased]
## [0.2.0] - 2026-11-29

### Added

Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Deterministic>true</Deterministic>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionPrefix>0.2.0</VersionPrefix>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Values that differ from the ones always seen are kept and reported in `Warnings`

## Limitations

- Version 0.1.0 is a preview. The API can change before 1.0.
- Version 0.2.0 is a preview. The API can change before 1.0.
- Reading only. There is no support for writing or changing files.
- Rows are decoded into typed values only for the most used tables of a model database. `.db2` rows and the rows of the
other tables are given as raw bytes with their offsets. The meaning of section keys, of descriptor words and of the
Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Usage: tdbio info <file> [--json] [--encoding ascii|utf-8|cp1251|cp1252]
| `tdbio text <file>` | model databases (`.db1`) | A tab-separated header line, then one line per text chain, then one line per orphan row. |
| `tdbio export <file> [output]` | model databases (`.db1`) | The object model as JSON (default), or with an option: `--ifc` (IFC), `--scene-json` (an IOScene scene), or no format option and an `.html` output (a standalone viewer). |
| `tdbio --help`, `tdbio -h` | | The usage text, on standard output. |
| `tdbio --version` | | `tdbio <version>`, for example `tdbio 0.1.0`. |
| `tdbio --version` | | `tdbio <version>`, for example `tdbio 0.2.0`. |

The command comes first; options may come before or after the file. The kind of the file is found from its content, not
from its extension (reports, which have no signature, are recognised by the `.xsr` file name).
Expand Down
4 changes: 2 additions & 2 deletions docs/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ advisory is reported as an NU1901-NU1904 warning at restore. Check manually:
dotnet list TdbIO.slnx package --vulnerable --include-transitive
dotnet list TdbIO.slnx package --outdated

At version 0.1.0 the audit reports no vulnerable packages in any project. Re-run it when changing dependencies.
At version 0.2.0 the audit reports no vulnerable packages in any project. Re-run it when changing dependencies.

## Build settings

`Directory.Build.props` sets `LangVersion` 14.0, `Nullable` enable, `ImplicitUsings` enable, `Deterministic` true,
`EmbedUntrackedSources` true, `PublishRepositoryUrl` true, `VersionPrefix` 0.1.0, symbol packages (`snupkg`), a
`EmbedUntrackedSources` true, `PublishRepositoryUrl` true, `VersionPrefix` 0.2.0, symbol packages (`snupkg`), a
`PathMap` that keeps the build folder out of binaries, and `ContinuousIntegrationBuild` true when `CI`,
`GITHUB_ACTIONS` or `TF_BUILD` is set. `src/Directory.Build.props` turns warnings into errors for the library and the
tool; the library generates XML documentation for every public member. `tests/Directory.Build.props` turns warnings into
Expand Down
5 changes: 2 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ Structures: model databases (`.db1`, `.db2` and their `.bak` copies), DBV@ files
- Reads DSTV NC parts, the block tree of templates and the pages of reports.
- Gives every value whose meaning is not known as stored, and reports unexpected values as warnings.

The library targets .NET 8 and .NET 10, has no package dependencies and never writes to the console. Version 0.1.0 is a
preview: the object model, its exports and the `TdbIO.Scene` adapter are on the main branch and await their first
release. Part geometry is approximated by boxes; see the limitations of the [README](https://github.com/IOExtend/TdbIO#limitations).
The library targets .NET 8 and .NET 10, has no package dependencies and never writes to the console. Version 0.2.0
adds the object model, its exports and the `TdbIO.Scene` adapter. Part geometry is approximated by boxes; see the limitations of the [README](https://github.com/IOExtend/TdbIO#limitations).

## Where to go next

Expand Down
2 changes: 1 addition & 1 deletion src/TdbIO.Scene/TdbSceneReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class TdbSceneReader
private const int ModelId = 1;

private static readonly string Producer = "TdbIO.Scene "
+ (typeof(TdbSceneReader).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion.Split('+')[0] ?? "0.1.0");
+ (typeof(TdbSceneReader).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion.Split('+')[0] ?? "0.2.0");

/// <summary>Reads a Tekla model database file (.db1) and converts it into a scene.</summary>
/// <param name="path">Path to the model database file (.db1).</param>
Expand Down
Loading