Skip to content

Walls under a read roof: cut along its sloped underside, as Revit does (RE-351 follow-up) #1478

Open

Description

@DrunkOnJava

From #1476's second read (RE-351). On rac_basic, Revit's walls attach to the sloped underside of roof 243274: for 13 of the 16 walls the stored record box top equals the roof underside's highest point over the wall's plan to 0.0001 m (937935 is 0.0096 m under it; 428588 and 428745 sit 0.085 m above and are the two that step). So the stored box top is Revit's highest point, and the wall body is cut by the slope.

rvt-rs draws these walls as prisms to the box top. A rough estimate, sampled at 10 mm from rvt-rs's own RE-211 cross-section: about +5.1 m3 of 57.4 over on the 16. No Revit export of rac_basic exists, so this is not checked against Revit.

Done when: a wall whose top join names a roof whose solid is read is cut along that roof's underside, measured on a model with a Revit export (find one), and no other wall moves; or a measured negative says what was tested. Fail closed: a wall whose roof is not read stays as it is.

Activity

  1. added
    area:ifc
    priority:P2
    type:feature
    on Nov 5, 2026
  2. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Measured on today's main (2b4f18b): Measure 43542785440, puzzbobb's 24 Revit 2025 models (-f r2025=true), scorer wall_top_cover_vs_ifc against Revit's own IFC4 exports.

    Where rvt-rs's wall tops are not Revit's: only under a sloped roof.

    • Wall 2892 is drawn level at its record top (19.5179 ft) on the 17 single-slope, gable, arrow-defined and rooms models. Revit's top follows the roof's underside, "varies 13.1684..19.4729 in 71 runs", as an IfcPolygonalFaceSet. That is 355 plan points taller and 11.5281 ft² of full height too much on each model (350 on the overhang and gable ones).
    • On the L-shaped hip roofs it is 5 of 7 walls (08, 48.27 ft² too tall) and 6 of 7 (09 and 10, 59.80 ft²).
    • The walls-only, roof-by-extrusion, wall-joins and T/U roof models are exact: every plan point equal.

    The roof's underside is already read correctly. On 2892, every pair line reads rvt-rs under varies 13.1684..19.4729 in 71 runs | Revit under varies 13.1684..19.4729 in 71 runs, and the level lines hold the same two heights. The roof rvt-rs draws has Revit's underside over the wall's whole plan, and Revit cuts the wall along it. So the rule this issue asks for can take its surface from the roof body rvt-rs already writes. What is missing is the cut: a Cutter holds one level underside (wall_tops.rs:210), and a sloped one is refused.

    Next: a sloped Cut that drops each top vertex of the wall's plan to the roof underside above it (a wall with no opening first, as Revit's bodies here are face sets), gated to Revit 2025, where these exports measure it. The bar is these 20 models' walls equal over the plan, with no other wall moving on any model.

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:ifcpriority:P2type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions