Skip to content

BIM4LCA office: 2 doors' OverallWidth is 0.1137 ft wider than Revit's (1756089, 1765267) #810

Closed

Description

@DrunkOnJava

On the BIM4LCA office, rvt-rs writes no door with Revit's OverallWidth and OverallHeight: 0 of 268 on each file, 198 differing and 70 with none (door_window_sizes_vs_ifc, Measure run 39178084272). Core Interior has 132 of 132 and RE1 Architecture 4 of 5 (RE-187).

The RE-187 probe with its scorer on the as-built file (run 39180583664, -f probe=probe_re187_door_window_sizes -f probe_scorer=door_window_sizes_vs_ifc) shows why. No candidate the type holds equals Revit's size on any of the 268 doors:

candidate equal differs not read
width/height (-1001301 / -1001300) 0 198 70
rough width/height (-1001305 / -1001304) 0 142 126
family Width / Height 0 0 268

Revit's width is the type's Width plus 10 mm on these Finnish doors. Door 1382481, type 2393450, has a type Width of 3.9370 ft (1,200 mm) and Revit's 3.9698 ft (1,210 mm). Doors 1383546 (800 → 810 mm) and 1409058 (1,800 → 1,810 mm) are the same. Heights equal the type's Height.

Revit's two sizes are the door's own extents:

  • In the doors listed, one extent of the element record's box equals Revit's OverallWidth and the vertical extent its OverallHeight. That holds where the type has a Width (1409058: box 5.9383, Revit 5.9383; 1421116: 3.9698 and 3.9698) and where it has none (703256: box 7.8412 × 6.7093, Revit 7.8412 × 6.7093).
  • On Core Interior the type's Width is the door's extent, so the two readings agree there.

Windows: rvt-rs writes no OverallWidth or OverallHeight on any of the office's 269 windows, and every type candidate differs from Revit's.

To do:

  • Measure the door's own extent on all 268 doors. A box in model axes only serves doors along the axes; turned doors need their own frame, as RE-87's instance transform gives.
  • Decide between the extent and the type's Width by which agrees with Revit on Core Interior, RE1 and both office files.
  • The same for windows.

The rough-width candidate reads a hundredth of the Width on these files, so it is not that parameter here.

Activity

  1. added
    re-finding
    area:elements
    area:ifc
    priority:P2
    type:bug
    on Oct 19, 2026
  2. DrunkOnJava commented on Oct 19, 2026

    @DrunkOnJava
    OwnerAuthor

    Measured what Revit's OverallWidth and OverallHeight are, on the office files, Core Interior, RE1 and the R2025 models (research branch re/810-door-extents).

    They are the size of the opening Revit cuts. Taking the corners of the IfcOpeningElement each door or window fills, in that element's own placement, the extents along X and Z equal Revit's OverallWidth and OverallHeight wherever the opening's body is a plain extrusion, with no exception (run 39187209511):

    model doors windows
    Core Interior 132 of 132 6 of 6
    office, both files 187 of 187 (81 openings not plain extrusions) not read: none is a plain extrusion
    R2025 models 1 of 1 each 3 of 3 each

    That fits revit-ifc's GetDoorWindowDimensionFromSymbol (CLEANROOM.md source 5), which takes both sizes from the symbol (ExporterIFCUtils.GetMinSymbolWidth and GetMinSymbolHeight) rather than from an instance parameter.

    Which value rvt-rs reads equals the cut depends on the family:

    model doors windows
    Core Interior the type's Width and Height (132 of 132); the record box is wider the record box's width; its height is 10 mm over
    office the record box along the door's own X and Z (256 of 268 as built); the type's Width is 10 mm under the record box along X and Z (269 of 269)
    R2025 models the rough Width and Height (-1001305 / -1001304) the type's Width and Height

    rvt-rs's own openings match Revit's cut on 99 of 187 office doors and on no Core Interior door (run 39189265150, along each door's axes). rvt-rs already takes OverallWidth from the opening it cuts where it reads one (RE-93, RE-94), so the fix belongs in the openings: cut each door and window at its family's opening size, then write both sizes from that opening. No rule over the values rvt-rs reads today picks the right one for all three families without being fitted to them. The next step is to find where a family's opening size is stored, either in its type's own data or in its host wall's cut faces.

  3. 71 remaining items

  4. added 4 commits that reference this issue on Nov 3, 2026
    320f311
    5a10606
    0e0582e
    cebe163
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:ifcpriority:P2re-findingtype:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions