Repository navigation
Closed
Labels
area:geometryWork in the geometry area.priority:P2Important quality, usability, or hardening work.research-criticalGated on format evidence or an oracle; not a release/security blocker (GOV-002)type:researchReverse engineering, discovery, or design investigation.
Description
Roofs export with their sketched outline (RE-50), but as level plates: a roof's slope is not read. A slope decode needs an oracle, a Revit 2024 or 2025 file with pitched roofs and Revit's own geometry of it (an IFC or VIM export), and none of the public sources checked has one.
Searched (2026-09-23)
| source | what it has | why it does not serve |
|---|---|---|
| Snowdon Towers (bldrs-ai/test-models, local only) | 20 roofs with Revit's IFC4 and a VIM | all flat except one small piece, 2112673, whose faces slope 10.8 to 16.7 degrees; the "sloped" patches on the others are tapered insulation |
| RE1 (Drshelden/IFC-ECS, MIT), Core Interior, Einhoven, Projeto1, teste_export_2025 | Revit exports | no roofs |
| 255ribeiro/intro_ifc modelo_bim | one IfcRoof aggregating four 30-degree slab parts | Revit 2023; element records are read from 2024 |
| vimaec/vim-hackathon | Wolford_Residence.r2024 v1 and v2 VIMs | no matching .rvt published |
| datadrivenconstruction samples | rac_basic_sample_project with pitched roofs, and a DAE of it | Revit 2023; the only 2024 sample holds four walls |
| buildingSMART/Sample-Test-Files | Revit-exported IFCs | no native .rvt |
What would unblock it
Any of these, with the .rvt and Revit's IFC or VIM export of it:
- a 2024 or 2025 upgrade of rac_basic_sample_project;
- the Wolford Residence .rvt;
- a small purpose-made project with a hip roof and a gable roof.
Clean-room: the oracle is Revit's exported geometry, compared against byte observations.
Metadata
Metadata
Assignees
Labels
area:geometryWork in the geometry area.priority:P2Important quality, usability, or hardening work.research-criticalGated on format evidence or an oracle; not a release/security blocker (GOV-002)type:researchReverse engineering, discovery, or design investigation.
Activity
feat(elements): draw shed roofs along their slope from their sketch l…
DrunkOnJava commentedon Sep 24, 2026
Landed in #362 (RE-56). Each roof sketch line carries its edge's slope block: the slope angle, then flags
00 00 01 00, or01 01 01 00on an edge that defines the roof's slope, followed by −rise/run. A 2024 roof with exactly one defining edge is now drawn rising from it at its slope, with its type's thickness square to the slope, when that reproduces its record box height. The oracle is the MIT 4.567 copy of the Autodesk tutorial house (Revit 2024 and 2025, local only): its 1:12 shed matches its recorded 2.959193880 ft to 1e-9 ft.Still open here:
docs(corpus): a reference model pack with licences, export settings a…
puzzbobb commentedon Oct 5, 2026
I've attached
R2025_Models.zip: 23 purpose-made Revit 2025 projects, all but one with Revit's own IFC4 Reference View export. I made them myself and release the.rvtand.ifcfiles under Apache-2.0, the same licence as rvt-rs. They contain no client or personal content.00_Blank,01_Walls02_1Slope02_1Slope_Rafter2PlumbCut,…_Rafter2SquareCut02_1Slope_Rafter2SquareCut_Overhang03_2Slope_Rafter2SquareCut04_Gable04_Gable_Swapped_Slopes05_1Slope_ArrowDefined06_1Slope_ArrowDefined_SetToSlope07_1Slope_ArrowDefined_2Cut50mmFascia06with a two-cut and a 50 mm fascia (no export)08_LShapedHipRoof09_…_1Edge300Offset08with one edge raised 300 mm10_…_Hole09with a hole in the roof11_RoofByExtrusion12_Rooms_Door_Windows13_Rooms_Stairs,14_…_endwithriserOFF15,16,1718_WallJoinsWhat they settle
Measured against
c4063a9; the PR below has the detail (RE-170).T / cos θof the shallowest defining edge (04_Gable_Swapped_Slopes).03, 300 mm on09), not −rise/run. 2025 sketch lines hold RE-49 bounded lines, and edited sketches are listed by their Sketch, as on 2024.ProfileRoofrecord: 33615 plumb, 33619 two-cut plumb, 33618 two-cut square. The three02_1Slopefiles isolate it, and all 13 roofs agree.07). A two-cut's planes stand that far above the cut at the eave.SlopeCurveData: tail and head height offsets, levels, angle andm_useAngle. Set by "Height at Tail", the roof rises from the tail's height to the head's; set by "Slope", it rises at the angle.With the PR,
rvt-ifcmatches all 12 exported roofs: every Revit vertex within 3.3e-6 ft and volumes within 1e-6. Before, each roof was a level block as tall as its record box.R2025_Models.zipSHA-256:8673d803fb0b9b6aa20d08448eeed16eb34222566bfaf7a2dc761c064dc30d6apr356-roof-planes.patch
pr-body.md
R2025_Models.zip
DrunkOnJava commentedon Oct 18, 2026
Thank you, and sorry this sat unanswered for two weeks. Nobody was watching the tracker, and a check now flags any comment that waits more than two days.
R2025_Models.zipis exactly what this issue was missing: purpose-made models that isolate one roof feature each, with Revit's own IFC4 export beside each, under the project's licence. Two steps, so your measurements can be reproduced on CI rather than taken on trust:8673d803…6a), never committed, the way Autodesk's samples are fetched. Every Measure run then scores roofs against Revit's own exports. CI can only use the files under the licence you state, so please confirm here that you're the author of all 23 models and their exports and that they're released under Apache-2.0.CLEANROOM.mdin its PR description. Please openpr356-roof-planes.patchas a PR. One renumbering: RE-170 is taken onmain(re: the joins the list form missed (RE-170) and the native connectors that hold every join (RE-171) #717, the joins the list form missed), so please use RE-183. RE-172 to RE-182 are claimed by the open PRs and the tuples report from #85 Tuples Question RE-174 Elemtable Records #739.The measurements you describe (every Revit vertex within 3.3e-6 ft on all 12 exported roofs, straight-skeleton planes, the 2025 meaning of the f64 at +0x3b, the rafter-cut parameter, slope arrows through
SlopeCurveData) are what the PR's Measure run will reproduce once the corpus is pinned.ci(measure): score puzzbobb's Revit 2025 models against Revit's expor…
ci(measure): score puzzbobb's Revit 2025 models against Revit's expor…
6 remaining items
fix(ifc): read a slope arrow's heights without underflow, and bound t…
ci(measure): score each roof's body against Revit's export, its volum…
perf(partitions): read a roof's rafter cut from its object graph alon…
docs: roofs as their planes in the public status, and RE-199's result…
feat(ifc): gable, hip and slope-arrow roofs as their planes, and roof…
fix(ifc): Revit 2025's tapered walls are drawn tapered, from the face…
feat(ifc): a Revit 2025 roof by extrusion is drawn as its sketch's se…
feat(ifc)!: rvt-ifc --revit-property-sets writes Revit's own property…
ci(measure): score every stair flight's and stair's body against Revi…
feat(elements): a wall, floor, ceiling or roof lists its type's saved…
fix(ifc): leave out elements that do not exist in the export phase (#328
docs(evidence): the R2025 models' Revit property-set exports score rv…