Repository navigation
Description
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
OverallWidthand the vertical extent itsOverallHeight. 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
research(elements): the size scorer compares Revit's sizes with the o…
research(elements): the size scorer compares rvt-rs's openings with R…
DrunkOnJava commentedon Oct 19, 2026
Measured what Revit's
OverallWidthandOverallHeightare, on the office files, Core Interior, RE1 and the R2025 models (research branchre/810-door-extents).They are the size of the opening Revit cuts. Taking the corners of the
IfcOpeningElementeach door or window fills, in that element's own placement, the extents along X and Z equal Revit'sOverallWidthandOverallHeightwherever the opening's body is a plain extrusion, with no exception (run 39187209511):That fits revit-ifc's
GetDoorWindowDimensionFromSymbol(CLEANROOM.md source 5), which takes both sizes from the symbol (ExporterIFCUtils.GetMinSymbolWidthandGetMinSymbolHeight) rather than from an instance parameter.Which value rvt-rs reads equals the cut depends on the family:
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
OverallWidthfrom 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.fix(ifc): an element's Export to IFC As of IfcStair or IfcDoor is hon…
research(elements): the door size scorer cites RE-195, the number its…
chore(maintainer): the audit's branch check gives research branches 1…
docs(release): 1.0's requirements as passed, failed or not measured, …
research(openings): the RE-213 probe prints each symbol's owner and e…
feat(ifc): a door's or window's OverallWidth and OverallHeight are th…
71 remaining items
research(doors): decode a symbol's saved graphics with its hidden bra…
research(doors): decode the branches a symbol's filters reject, marke…
research(doors): dump the saved-graphics tree of the O-16 door's symb…
research(doors): group the curves of each door and window symbol's gr…
fix(ifc): a door's or window's width is the extent of its symbol's bo…
research(doors): the curve extents scorer takes the harness's flag (#810
fix(ifc): leave out a symbol whose box-edge lines are read twice with…
docs(doors): RE-318 report, changelog fragment and status for the sym…
fix(ifc): a door's or window's width is the extent of its symbol's bo…
docs(doors): RE-318 states the record-box bound among its fail-closed…
fix(ifc): a symbol's box-edge width is used only where it is no wider…
chore(release): prepare v0.13.0 (#1303)
refactor(ifc)!: a door's and window's hand-off values leave users' IFC (
fix(ifc): Revit 2015 to 2023 doors and windows cut the outline their …