diff --git a/CHANGELOG.md b/CHANGELOG.md index 26ab1da..6485eda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,25 @@ API between minor releases. ## [Unreleased] +### Added + +- The CLI opens Revit families (`.rfa`) through `RvtIO.Scene`. When some of a family's geometry cannot be read, it + prints `Warning: Family geometry is incomplete.` and the HTML page shows an **Incomplete geometry** banner. Viewer + JSON keeps the mark in `ViewerDocument.GeometryIncomplete`. +- An HTML page of a family carries its types (`ViewerDocument.FamilyTypes`): their parameters, and for each type its + meshes or the reason it has none. Viewer JSON, `.ivmesh` and `--add` outputs keep the saved type only, and the CLI + prints `Warning: Family types are not carried to this output.` +- With two or more types, the viewer opens a **Family type** panel. Choosing a type shows its geometry and parameters, + or says why it has no geometry; selection, measurement, sections and fitting see the chosen type only. +- On a page with family types, the vertex positions are written as float32 and the viewer keeps them: on the 1/1024 m + grid a vertex moved by up to half a millimetre and the narrow facets of circles folded into dark lines. Each material + is drawn slightly nearer than the one before it, by units of the depth buffer, so that faces of two parts that coincide + (a flange bore on the ring it sits on) do not alternate between the two per pixel. The later material shows on a shared + face. Without a graphics card some such faces still show as dashes at a grazing angle. +- A page with family types is shaded like Revit's shaded view, with a light fixed to the view that was fitted to + Revit's pictures of a family, and a part with no material is grey 127. Highlight, tint and white mode look as on + other pages. Other pages are written and drawn as before. + ## [0.4.4] - 2026-12-03 ### Fixed diff --git a/Directory.Packages.props b/Directory.Packages.props index 7a1a2be..570bd8c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -14,7 +14,7 @@ - + diff --git a/README.md b/README.md index 8709978..269242f 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ ioviewer model.obj -o viewer.html # Convert IFC, Revit or Navisworks models via the scene adapters ioviewer model.ifc ioviewer model.rvt -o viewer.html +ioviewer family.rfa -o family.html ioviewer model.nwc -o viewer.html # Convert and immediately preview in default web browser via built-in HTTP server @@ -253,6 +254,7 @@ The documentation site with API references and guides is at