Skip to content

research(rooms): read the height a room's area is taken at, so stepped rooms get their section's outline (follow-up of #90, RE-374) #1589

Open

Description

@DrunkOnJava

What

RE-374 (#1587, the follow-up of #90) reads a room's outline from the edges of its stored solid, but only where the solid is a prism of its floor up to 4 ft above it, so that the floor's outline is the room's area. A room whose solid changes below that height keeps its record box: a raised floor, a step, a pocket or a low bulkhead. Four rooms of Autodesk's Snowdon Towers Architectural 2024 sample are stepped so, and 593 rooms of the models measured keep their box today (RE-374 section 5).

For one of the four, Revit's area (Vim.Room.Area in the sample's later VIM edition, local only) is neither the floor's area nor the record box's. It equals the solid's horizontal section 4.0 ft above the floor to 0.001 ft², not its section at 3.9 ft (0.04 ft² off) or the floor (4.6 ft² short). Of the other three, one matches Revit's area at any section from 2 ft up, one at a section 6 ft up, and one at no height. All of this is local, against the VIM. Related: #1207 (stepped rooms' volumes).

To do

  1. Find where the height a room's area is taken at is stored, and the elevation it is measured from, from byte observations (a Level's or the room's own record, compared across rooms whose sections need different heights). 4 ft is measured on one room and is not taken as a default from anything outside the files.
  2. Slice the solid at that height (a horizontal section of a solid whose faces are planes and vertical cylinders) and write that outline for rooms whose floor is not their section.
  3. Explain the room that matches at a 6 ft section and the one that matches at no height before writing either.
  4. Measure the area against Revit's IFC4 export where one holds the room (the BIM4LCA office at building permit), and against the VIM where none does (Snowdon Towers, whose IFC4 export holds no IfcSpace). Show which of the 593 rooms on their box take Revit's area to 0.1% from the section and which stay on the box with a stated reason, and that none of the rooms the walk and the edges read today moves.

Done when

The four stepped rooms take Revit's area to 0.1%, or stay on their box with a measured reason, and no other export moves.

Activity

  1. added
    area:elements
    area:geometry
    area:ifc
    priority:P2
    type:research
    on Nov 9, 2026
  2. DrunkOnJava commented on Nov 11, 2026

    @DrunkOnJava
    OwnerAuthor

    One more measured fact for this issue, from RE-410 (RvtIO's weld passes on the edges of 3,759 rooms): Snowdon's room 2181762, one of the four stepped rooms, stays open at 2 faces (79 and 80) under every weld tolerance up to 1/32 in, and 48 of its 95 faces are not placed (round edges of 27 cylinders), so slicing its solid at the section height needs those faces read from their records before the section can be trusted. The other three (828537, 828548, 2181757) close at 0.000523 ft where their faces are placed.

  3. added a commit that references this issue on Nov 11, 2026
  4. 2 remaining items

  5. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Where the height is stored: the Level's m_roomComputationElevationOffset (2026-11-15). The probe probe_1589_level_fields (branch research/1589-level-fields, 3dc8c4e8; Measures 43683174908 and 43684208620) prints every Level record's fields. One field is the height a room's area is taken at: m_roomComputationElevationOffset, in feet. Nothing in rvt-rs read it before.

    Its values across Autodesk's samples (2024 to 2027 saves agree):

    file levels values
    rme_advanced, rme_basic 4 4.0 on two levels, 0.0 on two
    rac_advanced 6 3.937 (1.2 m) on three, 0.0 on three
    Snowdon Architectural 32 3.0 on "L1 - Block 37" and "M1", 0.0 on the rest
    Snowdon Plumbing, HVAC 11, 13 2.0 or 2.083 on one level, 0.0 on the rest
    rac_basic, rst_basic, Snowdon Structural and Electrical, Core Interior, the BIM4LCA office 0.0 on every level

    So it is a per-level setting that templates set to 4 ft or 1.2 m and that is often 0.

    The four stepped rooms. Each RoomElem record gives its level (m_assocLevelId) and base offset (m_lowerOffset). Each level's elevation is its Plane origin. The bottom of each room's solid is at the level plus the base offset on all four (rvt-rs's export at 88714209). The section height is then the level's elevation plus its offset, measured from that bottom:

    room level (offset) base offset section above the floor RE-374 (against the VIM, local)
    828537 L1 - Block 37 (3.0) 0.0 3.0 Revit's area at any section from 2 ft up: fits
    2181762 Green Roof Hardscape (0.0) −6.0 6.0 at 6 ft: fits
    2181757 Green Roof Hardscape (0.0) 0.0 0.0, the floor itself at 4.0 ft, not at the floor (4.6 ft² short) or at 3.9: does not fit
    828548 L1 - Block 43 (0.0) −3.5 3.5 at no height: not decided by this

    Two of four fit. 2181757 is the case where the plane falls on the room's own floor, and Revit's area there is the section 4.0 ft up. That is consistent with a fallback to a 4 ft default when the plane does not cut the room above its floor, but one room is not a rule. 828548 matches at no height, so its gap is something else.

    Next. Measure the rule over every room of Snowdon against the VIM, not just these four: the section at the level's elevation plus m_roomComputationElevationOffset, against the floor section rvt-rs uses today. It has to agree on the rooms whose solids are prisms, where any height gives the same area. Then count the rooms where the plane is at or below the floor, to see whether 2181757's 4 ft holds beyond one room. Until then nothing is written.

    Edited 2026-11-15: absolute Snowdon Towers figures (positions, elevations, areas) are removed. The Snowdon files measured here have no licence, so only counts, lengths and differences from them are published.

  6. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    The rule measured over every room of Snowdon Towers Architectural (2026-11-15). A probe, probe_1589_room_sections (982ba6fd, archived at refs/archive/2026-11-15/cited/982ba6fd6cb7; Measure 43691610500), prints each Level's elevation and m_roomComputationElevationOffset, each room's level and base offset, and each room's saved mesh. A local script slices each mesh horizontally and compares it with Vim.Room (Area, Perimeter, Volume; local only). Revit 2024 file, 2027 VIM edition of the sample.

    All 54 rooms the VIM gives an area have a saved mesh. Section within 0.1% of the VIM's area:

    section height rooms within 0.1%
    the floor 48 of 54 (not 828534, 828537, 828548, 829817, 830936, 2181762)
    the Level's elevation plus its offset (the floor where that is at or below it) 50 of 54 (not 828534, 828548, 829817, 830936)
    4 ft above the floor 50 of 54 (not 828534, 828548, 829817, 2181762)

    829896 is within 0.1% on every row (+0.025%), and 2181757's floor section is within it too (−0.090%).

    Where a height decides (4 rooms). Each row gives the heights above the floor where the section equals the VIM's area to 0.01 ft²:

    room Level (offset) base offset plane above the floor heights that match
    2181762 Green Roof Hardscape (0.0) −6.0 6.0 5.36 to 8.01
    828537 L1 - Block 37 (3.0) 0.0 3.0 1.01 to 9.16
    2181757 Green Roof Hardscape (0.0) 0.0 0.0 3.96 up (0.0833 to 3.93 is 0.04 ft² off)
    830936 Parking (0.0) 0.0 0.0 0.06 up (a 0.028 ft step at the floor)
    • Where the plane cuts the room above its floor, it gives Revit's area: 2 of 2.
    • Where the plane lies on the floor, Revit's area is a section above it. This holds on 2 of 2 rooms, so 2181757's 4 ft is no longer alone. 830936 accepts any height above 0.06 ft, so only 2181757 bounds it: at least 3.93 ft.
    • No single height measured from the Level fits 2181757 and 2181762, which share a level: one needs at least 3.93 ft above it, the other at most 2.01.

    Where no height fits (4 rooms). For 828548, 828534, 829817 and 829896, no section of the saved mesh gives the VIM's area to 0.01 ft² at any height. Their volumes differ from the VIM's too:

    room area volume
    828548 +1.007% +0.905%
    828534 −0.499% −0.498%
    829817 +0.245% +0.245%
    829896 +0.025% +0.025%
    • On the three prisms the two shares agree to 0.001 points, and 828534's perimeter also differs by 2.000 ft. So their room in the 2027 VIM looks to be another shape than Revit's own solid in the 2024 file.
    • 828548 does not fit that pattern as closely: +1.007% in area against +0.905% in volume.
    • Of the other rooms, 828518 has its area within 0.01% and its volume 0.141% under the VIM's. The remaining 49 agree on both to 0.1%.

    That reading is inferred, not measured. Measure fetches Snowdon Towers' 2024 save only, so the probe has not been run on the 2027 edition the VIM was made from.

    Against the done-when. On main, all four stepped rooms are drawn from their saved meshes (#1191's default, SpaceOutlineSource saved_mesh), which are Revit's own solids. tools/re/room_areas_vs_vim.py over the export of 88714209 puts the area within 0.1% of the VIM's for 2181757, 2181762 and 828537 (0.00% each). 828548 is 1.01% off at every height of its solid. rvt-rs writes no floor-area quantity for a space (no NetFloorArea or GrossFloorArea in src/), so no output takes a section today, and nothing is written.

    The Level's offset and the measurements above stay here for a reader that would draw a room's outline in plan from its edges rather than its mesh. Such a reader would take the plane where it lies above the floor, and a section above the floor where the plane lies on it.

    Open. 828548 is not within 0.1%, so the done-when is not met yet. Next:

    1. Read 828548 against the VIM's own edition: Snowdon Towers Architectural of 2027, which Measure does not fetch.
    2. Check RE-374's one room of the terrain concrete office on main. That model has Revit's own export.
  7. DrunkOnJava commented on Nov 15, 2026

    @DrunkOnJava
    OwnerAuthor

    Open item 2 is done: every space of the terrain files takes Revit's area. Measure 43692758207 ran on bb829b7a (main plus #2052, which touches no room). Its space_profiles_vs_ifc, against Revit's own IFC4 exports, puts every IfcSpace within 0.1% in area and within 0.01 ft in outline, boundary and height on all four terrain files: the concrete office 9 of 9, the timber office 9 of 9, and the two housing terrain files 8 of 8 each. On the concrete office one room is drawn from its saved mesh (room saved mesh: 1) and is within on every line. RE-374 gives no id for the one room it left on its box there, so that this is the same room is likely but not checked by id. Either way, no room of that file is off. That leaves 828548 against the VIM's own edition, item 1 of the comment above, as the only open part of the done-when.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementsarea:geometryarea:ifcpriority:P2type:research

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions