Skip to content

research(elements): RE-153 a room's Floor Finish is BuiltInParameter -1006903 (#35) - #588

Merged
DrunkOnJava merged 4 commits into
mainfrom
re/re153-room-finishes
Oct 3, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
re/re153-room-finishes

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

The probe and report behind B21's Pset_SpaceCommon. On RE1 Architecture, -1006903 equals Revit's FloorCovering on 11 of 11 exported rooms. Each value is joined to its room through an Adler-32-verified data object. Measure run 37131189456.


Note

Low Risk
Documentation and a standalone research example only; no changes to library parsing, IFC export, or tests in this PR.

Overview
Adds RE-153 research for issue #35: where a room’s Floor Finish lives in the RVT and how it lines up with Revit’s IFC Pset_SpaceCommon.

A new probe_re153_room_finishes example scans partition bytes for BuiltInParameter ids near ROOM_NAME, decodes UTF-16 text entries, and attributes each hit to a room by walking backward to an Adler-32–verified data-object header (Revit 2024+). It compares values to FloorCovering (and related props) from a sibling _slim.ifc / .ifc export and emits JSON tallies for the Measure workflow.

The report RE-153-room-finishes.md records a positive result on RE1 Architecture: -1006903 matches Revit’s FloorCovering on all exported rooms; it also notes neighbours like -1006907 and models without floor-finish data. Section 4 points at follow-on product work (scan_room_text_parameter, IFC Pset_SpaceCommon, tests/space_common.rs) that is not part of this diff.

Reviewed by Cursor Bugbot for commit 6540661. Configure here.

@DrunkOnJava
DrunkOnJava merged commit b7bc598 into main Oct 3, 2026
22 checks passed
@DrunkOnJava
DrunkOnJava deleted the re/re153-room-finishes branch October 3, 2026 15:07
DrunkOnJava added a commit that referenced this pull request Oct 3, 2026
B21, first slice of #35 (RE-153, #588).

Revit's export gives each room a Pset_SpaceCommon with two properties:
Reference (IfcIdentifier, the room's name and number) and FloorCovering
(IfcLabel, its Floor Finish). A room's Floor Finish is the text
parameter -1006903. Its entry is joined to the room through the
Adler-32-verified data object holding it.

**Commits**
- **Test:** tests/space_common.rs. Red on main in draft #587 (run
37131559218): 11 of Revit's 11 sets are missing. The red output is in
the commit message.
- **Implementation:**
- scan_room_text_parameter and enclosing_data_object read a room's text
parameter.
  - Rooms carry the new m_room_floor_finish field.
- PropertyValue::Label and ::Identifier write IfcLabel and
IfcIdentifier.
  - Each room gets Pset_SpaceCommon.
- **Pinned data**, with the maintainer's approval, in its own commit:
- Core Interior step.IFCPROPERTYSET goes from 970 to 1086 in both
project-count manifests.
  - The witness observations are regenerated (surface unchanged).

**Measure** (run 37131863056, head against main)
- RE1 Architecture: 11 new property sets, all equal to Revit's
(tests/space_common.rs passes on the runners).
- Core Interior: 116 new property sets, one per room, each with
Reference only, since its rooms hold no Floor Finish.
- Every other model's outputs are identical to main.
DrunkOnJava added a commit that referenced this pull request Oct 3, 2026
Records B21's progress (#588 to #595) with its red runs and pinned-data
approvals, what stays open and why, and two findings logged this
session.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Documentation-only backlog and session notes; no runtime or export
behavior changes in this PR.
> 
> **Overview**
> Moves backlog item **B21** (0.5.0 parameters, milestone #35) from
**open** to **in progress** and adds a progress log for work measured
against Revit RE1 property sets.
> 
> The log records landed or in-flight PRs **#588–#595**: room Floor
Finish and `Pset_SpaceCommon`, common `Reference` / `Family:Type`
naming, the Measure `psets_vs_ifc` scorer, and pipe segment `Length`,
including red CI runs, integration tests (`space_common`,
`common_reference`, `segment_length`), and maintainer-approved pinned
property-set / witness updates. It also lists **still-open** parameter
gaps (duct length, `FireRating`, non-text booleans, storey/building
psets) and notes **#155**, **#223**, and **#228** as untouched.
> 
> A new **Findings logged this session** section captures two research
notes: an extra RE1 Plumbing export element rvt-rs emits that Revit does
not, and the #227 63rd opening dependency on reading a wall edited
profile.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
2daea1a. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant