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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ All notable changes to the `NwcIO` library, the CLI and the `NwcIO.Scene` adapte
- `NwcIO.Internal.*` types are now `internal`; only the documented public surface ships in the package. `NwcJsonExportOptions` remains public. Package validation runs on `dotnet pack` against the 0.12.1 baseline, with `CompatibilitySuppressions.xml` recording the intentional type removals.

### Changed
- The CLI folder and `.nwf` assembly paths now share one `ProcessAssembly(NwcAssembly, …)` pipeline. Default output paths and the `NwcIO Assembly Report` / `NwcIO NWF Assembly Report` labels are unchanged; the folder path only loads the assembly and the `.nwf` path only loads the native file before delegating.
- **Breaking:** for files read without the DbCache directory, `MaterialParser` no longer adds the Concrete and Rebar presets, no longer picks a mesh's material by its name or size (bounding box above 2000) or falls back to the first material, and no longer guesses a material colour from its name. A material named in property records keeps its colour from a `revit_Color` record, otherwise a neutral grey. Every mesh without a material shares one `Default Material` (a fresh instance per document, listed in `NwcDocument.Materials`, so JSON `meshes[].material` always resolves). New `NwcMaterial.IsInferred` is `true` for a fallback material or colour; it is now settable. The strict (DbCache) path is unchanged.
- `NwcReaderOptions.MaxMeshVertices` (default 200,000) sets the vertex cap of one geometry record on the lenient reader path. Class 95 records and two-vertex records now read as line meshes (`LineIndices`) instead of triangle strips or being dropped.
- The `NwcIO` and `NwcIO.Cli` package tags no longer name the frozen viewer and coordination extras (`clash-detection`, `clash-matrix`, `clash-grouping`, `model-diff`, `diff`, `grid-system`, `grids`, `measure`, `measurement`, `bcf`, `bcfzip`, `html-viewer`, `webgl`, `spatial-index`, `bvh`), and the `NwcIO.Scene` package has its own tags (`navisworks`, `nwc`, `ioscene`, `scene`, `bim`).
Expand Down
Loading
Loading