Repository navigation
chore(release): prepare v0.12.2 - #1269
Merged
Merged
Conversation
…gainst 0.12.1 (Measure run 41589642386)
…nd the synthetic fixtures from CI run 41594159223, only their version and verdict hashes moved
…or change has not measured, keep RE-304's caveats, and count the held-out models; CITATION.cff's date is quoted
…ed Revit export, and scope the door fix's unchanged exports to it
DrunkOnJava
marked this pull request as ready for review
November 3, 2026 07:18
DrunkOnJava
enabled auto-merge (squash)
November 3, 2026 07:18
Owner
Author
|
Automated Claude Code review (the maintainer's review agent; it read the 0.12.2 notes against RE-299 to RE-304 and the Measure runs): no blocking items. Fixed anyway in 8fb817e: the notes say the Snowdon samples have no scored Revit export, and scope the door fix's unchanged exports to that fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prepares v0.12.2, a patch release. It ships #1247's saved-mesh and door fixes, and the viewer's release-range fix (#1266), to the channels users install from. Measured against v0.12.1 on every reference model (Measure run 41589642386):
The changelog section below is the release notes.
Changes
RELEASE.mdlists:Cargo.toml,rvt-py/Cargo.tomland its=pin,rvt-wasm/Cargo.toml,tools/stream_evidence/Cargo.toml,viewer/package.json,CITATION.cff(version and date), and both lockfiles.CHANGELOG.md: the six fragments assembled into[0.12.2] — 2026-11-03, with an introduction measured against 0.12.1 and an "Upgrading from 0.12.1" list.README.md: the release lines name v0.12.2, crates.io and PyPI keep each version's README.witness_versionand the verdict hashes moved) and the two synthetic IFC fixtures (only their version strings moved).The release notes
0.12.2 draws more doors from the meshes Revit saved for display in the
default export, and more bodies with
--saved-meshes. It also changes howa door's type decides whether the door is written as its opening alone.
Both changes come from a user's comparison of 0.6.1 and 0.12.0 (#1247;
thanks to hemanth1986). Not every case that comparison found is fixed:
their cause is open;
RE-303 and RE-305 measured stay boxes, because those meshes are not
Revit's body;
user's own project, which has not been measured with it.
Measured against 0.12.1 on every reference model (Measure run 41589642386,
mainbefore the version bump), in the default export, which draws doorsand windows from their saved meshes:
built and 46 at building permit, 265 of them exact to 0.001 ft against
Revit's export and all within 0.01 ft;
mesh, within 0.01 ft of Revit's body and at 1.0002 of its volume, where
0.12.1 drew a box;
the same IFC as with 0.12.1, but for the version its header records;
The office as built's IFC grows from 58.6 to 67.8 MB, its saved-mesh
triangles from 66,872 to 257,108. With
--saved-meshes, light fixtures andmore bodies are drawn too, with each entry's own caveats (below).
The viewer no longer calls a Revit 2008 to 2014 file an unsupported version
(below).
Upgrading from 0.12.1
instead of its box, in
rvt-ifc,rvt-gltf, Python and the viewer.--no-saved-meshes,saved_meshes=Falseand?savedMeshes=0keep theboxes.
IfcDoororIfcWindowfilling its opening, where 0.12.1 may havewritten only its
IfcOpeningElement(no measured file has such a door).rvt-inspect'sunsupported_revit_versionmessage names 2008 to 2027;the
failure_mode.kindvalue does not change.rvt-capabilities --matrixgives the Revit 2023 and 2024 projectcapabilities new names, in its text and JSON; their ids and statuses do
not change.
rvt::research(unstable) gainsnative_type_materials::GeometryMapandgeometry_maps.Changed
rvt-capabilities --matrixnames the Revit 2023 and 2024 projectcapabilities for what they give.
element-records-revit-2023was"Revit 2023 elements from their partition element records: identity,
category and box (RE-81)", though 2023 projects also get wall joins, beam
cuts, room outlines, storeys, hosts, family and type names, materials and
layer sets;
typed-project-elements, the Revit 2024 row, was "Decode typedelements from real project files". The two names change, and their notes,
which still said names, types, storeys and joins were not read on 2023, in
the text and JSON of the built-in matrix; ids, statuses and evidence do not.
rvt-doc's note on older releases names the reconnaissance document by itsnew path,
docs/format-reconnaissance.md. TheREADME's support-by-release table is now rendered from the matrix, and CI
fails when the two disagree (
tools/ci/readme-matrix.py).Fixed
Saved meshes read cylinder faces whose trim is not a rectangle in their
UV box. Such a face was rejected, and with it the whole element, which
kept its box. The face is now meshed in strips across its angle, each no
wider than the chord bound. On the BIM4LCA office 155 more doors are drawn
from their saved meshes, as the default export draws doors: 151 exact to
0.001 ft against Revit's export, and all within 0.01 ft and 1% of its
volume. Other files' new meshes with
--saved-meshesare not all Revit'sbody: RE1 Plumbing draws 11 more pipe fittings, within 0.01 ft of Revit's
surface but at 1.44 to 1.47 of its volume, and RE1 Architecture a toilet
within 0.0126 ft. Autodesk's 2024 samples gain 163 and 124 (rme basic and
advanced), 265 (Snowdon Towers plumbing), 34, 24 and 15 (Snowdon
architectural and HVAC, rac basic), counted, not scored: no Revit export
of them is scored (v0.12.0 vs v0.6.1: some meshes export as bounding boxes; some doors as IfcOpeningElement #1247, RE-304).
Saved meshes read cylinders whose saved basis is left-handed. Such a
face was rejected, and with it the whole element, which kept its box.
It is the same cylinder with its surface normal turned. On the BIM4LCA
office 100 more bodies are drawn from their saved meshes (102 at permit),
among them doors that the default export draws, 66 exact to 0.001 ft
against Revit's export and 93 within 0.01 ft. Snowdon Towers'
architectural sample gains 172, counted, not scored: no Revit export of
it is scored (v0.12.0 vs v0.6.1: some meshes export as bounding boxes; some doors as IfcOpeningElement #1247, RE-301).
With
--saved-meshes, a light fixture's light source is left out ofits body, instead of keeping the fixture's box. The light source is saved as a
filter of its own: a
GImposter(a rendering asset with no surface)with the shape and lines that draw the light, none of it in Revit's
export. On the BIM4LCA office 43 more bodies are drawn from their saved
meshes, all exact to 0.001 ft against Revit's export, as are RE1
Electrical's 2. Snowdon Towers' electrical sample draws 1,324 bodies from
saved meshes instead of 907 and keeps 139 boxes instead of 556; no Revit
export of it is scored, so those are counted, not scored (v0.12.0 vs v0.6.1: some meshes export as bounding boxes; some doors as IfcOpeningElement #1247, RE-300).
A door or window is no longer written as its opening alone when its
type draws geometry in no material of its own. RE-84 takes a type
whose value block holds no geometry-material map as one that only cuts
its host; the scan of that block missed a map whose values are all unset
or name a material whose name it did not read. The type's native map
now decides: it is empty on every door and window Revit exports as its
opening alone (RE1's CasedOpening, and Snowdon Towers' 47 in Revit's
export, which is local only), and those keep their openings. This fix alone
changes no export of the reference models, the BIM4LCA office, the R2025
models or Autodesk's samples. The case it was found on, the 73 doors of v0.12.0 vs v0.6.1: some meshes export as bounding boxes; some doors as IfcOpeningElement #1247's
project written as openings, is the user's own file and has not been
measured with it (v0.12.0 vs v0.6.1: some meshes export as bounding boxes; some doors as IfcOpeningElement #1247, RE-299).
The viewer no longer calls a Revit 2008 to 2014 file an unsupported
version. Its file status warned "Unsupported Revit version" for any file
before Revit 2015, though rvt-rs reads 2008 to 2014 element records
experimentally since RE-259 and RE-260 (feat(elements): open Revit 2008 to 2013 files and read 2011 to 2014 element records (RE-259) #1076, Read Revit 2008 to 2010 element records, and 2008 to 2012 material names and storeys (RE-260) #1077); it now warns only
outside 2008 to 2027, as
rvt-inspectdecides.rvt-inspect'sunsupported_revit_versionmessage, and the docs that quote it, name thesame 2008 to 2027 range.
Testing
Measure run 41589642386 compares
mainat 30756e9 against v0.12.1, over every model, scorer and held-out pair. The scored changes are the doors above. The held-out models change too, and they are counted, not scored.tools/release/changelog.py checkpasses. A review read the notes against Measure 41589642386, the RE reports and #1247, and then re-read them after its blocking findings were fixed; nothing blocks.Audit-honesty checklist
Breaking changes
None. The stable public API does not change.