Repository navigation
fix(ifc)!: drop the Feet suffix from IFC length properties, whose values are in metres - #398
Merged
Merged
Conversation
…ues are in metres
DrunkOnJava
enabled auto-merge (squash)
September 24, 2026 23:09
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b68d59f0-af46-4963-9dca-1c9197185926) |
This was referenced Sep 27, 2026
DrunkOnJava
added a commit
that referenced
this pull request
Sep 27, 2026
## Summary Prepare v0.3.0 (#405). **Merging this PR is not the release**, and nothing is published by it: publication is the draft v0.3.0 GitHub Release, which creates the tag and runs `publish.yml`. Draft until Griffin gives the go-ahead to release. Merging it redeploys the viewer, which would then show 0.3.0. ## Changes - Versions 0.2.0 to 0.3.0: `rvt`, `rvt-py` and its pin, the `stream_evidence` pin, both lockfiles (only the two version lines change), `.release-please-manifest.json`. - The viewer's package version follows the crate (it was 0.1.0), and the viewer shows it under the drop zone (`rvt-rs 0.3.0`, injected by Vite from `package.json`), for #405's "the deployed viewer reports the release version". - `CHANGELOG.md`: `[Unreleased]` becomes `[0.3.0] — 2026-09-27` (to be re-dated at publication) with an empty `[Unreleased]`. - `docs/install.md` and `docs/status.md`: 0.3.0 is prepared, not published; the channel table still shows what is published (0.2.0). - The IFC header now carries 0.3.0 (#417), so both Core Interior witness observations are regenerated. ## Testing - [x] fmt, clippy `-D warnings`, rustdoc `-D warnings`, `cargo test --workspace --all-targets --all-features`, corpus `cargo test --profile ci --no-fail-fast --test '*'` (255 binaries) - [x] Witness: both artifacts PASS with all three replays matching; `ifc_schema_arity.py --witness-agreement` passes - [x] Wheel `rvt-0.3.0-cp38-abi3-macosx_11_0_arm64` builds, installs in a clean venv, `rvt.__version__` is 0.3.0, and the README's Python example prints exactly what the README shows; the IFC header reads `rvt-rs 0.3.0` - [x] Viewer: `npm run build` bundles `rvt-rs 0.3.0`; 13 browser tests pass (6 skipped) Library, CLI, wheel and viewer all report 0.3.0. ## Still to do at publication (#405, #406) - Re-date the `[0.3.0]` heading, publish the draft release (the notes are updated to this branch), then verify the archives, the PyPI wheel and the deployed viewer from the published artifacts. - crates.io: the dry run packages; the crate step skips until the repository secret `CARGO_REGISTRY_TOKEN` is set. ## Breaking changes Generated GlobalIds change once (#400); IFC length properties lost their "Feet" suffix (#398). Both are in the release notes. ## Related issues Refs #405, #406. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Mostly version and documentation updates; merging redeploys the viewer with a visible version label but does not publish binaries or wheels by itself. > > **Overview** > Prepares **v0.3.0** without publishing: bumps `rvt`, `rvt-py`, `stream_evidence` pins, lockfiles, and `.release-please-manifest.json` from 0.2.0 to **0.3.0**, and moves the accumulated release notes from `[Unreleased]` into **`[0.3.0]`** in `CHANGELOG.md`. > > The **browser viewer** now tracks the crate version (`viewer/package.json` was 0.1.0, now 0.3.0) and shows **`rvt-rs <version>`** under the drop zone (#405), injected at build time via Vite `define` from `package.json`. > > **Docs** (`install.md`, `status.md`) state that 0.3.0 is prepared on `main` with a draft GitHub Release and no assets, while published channels still serve 0.2.0. **Witness** observation JSON files update `witness_version` to 0.3.0. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit fac30e6. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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
Ten IFC length properties were named with a "Feet" suffix, but their values were always
IfcLengthMeasure/IfcPositiveLengthMeasurein the file's length unit, which is metres. A reader, human or program, would takeThicknessFeet 0.2032for 0.2 ft, when an 8" wall is 0.2032 m thick. The suffix is gone. The values are unchanged, and the IFC value type still carries the unit, as buildingSMART's own property sets do.ThicknessFeetThicknessJoinReachStartFeet/JoinReachEndFeetJoinReachStart/JoinReachEndJoinTrimStartFeet/JoinTrimEndFeetJoinTrimStart/JoinTrimEndAxisLengthFeet,SectionWidthFeet,SectionDepthFeetAxisLength,SectionWidth,SectionDepthTypeSectionWidthFeet/TypeSectionDepthFeetTypeSectionWidth/TypeSectionDepthIn the viewer's element panel these rows now read, for example, "Thickness 0.667 ft", since the panel formats lengths in feet from the model.
Breaking changes
Anything that reads these properties by name needs the new names. The CHANGELOG says so under Changed. Entries for released versions keep the old names as history.
Changes
[Unreleased], support-matrix evidence.Testing
End to end:
rvt-ifcon Core Interior: no property name ends in "Feet". 460Thicknessand 360JoinTrimStartproperties.ifc_schema_arity.py --witness-agreementpasses.--profile ci,cargo +1.85.0 checkand the fuzz workspace check.Note
Medium Risk
Breaking change for downstream consumers that match property names; exported IFC semantics and values are intentionally unchanged aside from labels.
Overview
Breaking IFC property rename: ten custom length properties drop the misleading
Feetsuffix because values are alreadyIfcLengthMeasurein the file's length unit (metres), not imperial feet. Numeric values andPropertyValue::LengthFeetserialization are unchanged; only theIfcPropertySingleValuenames change (e.g.ThicknessFeet→Thickness,JoinReachStartFeet/JoinReachEndFeet→JoinReachStart/JoinReachEnd, beamAxisLength/SectionWidth/SectionDepth, column typeTypeSectionWidth/TypeSectionDepth).src/ifc/export_content.rsis the sole code change: emitted property names and one beam-axis unit test assertion. CHANGELOG[Unreleased]documents the break; support-matrix evidence strings use the new names. Anything that reads these properties by string must adopt the new names.Reviewed by Cursor Bugbot for commit 1c473cc. Configure here.