Skip to content

Wall base and top passes: a cutter drawn as a box, or whose level is not read, cuts nothing (RE-351 follow-up) #1480

Closed

Description

@DrunkOnJava

From #1476's second read (RE-351). The wall top and base passes in wall_tops.rs take a cutter's level from its drawn body, and #1476 stops a roof drawn as its record box from cutting a wall's top. Two siblings remain:

Also: a Floor exported as IfcRoof loses its cut (fail-closed), and a Roof exported as IfcSlab keeps the old defect.

Done when: a cutter whose top or underside is not read cuts nothing on either pass, with a counted reason, and no wall on any model with a Revit export moves away from it.

Activity

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

    @DrunkOnJava
    OwnerAuthor

    The first of the three asks here, the base pass, is in PR #1953: plate_roofs is threaded through cut_wall_bases, decide_bases and decide_ends into BaseContext, and decide_base skips a named roof that is not a plate, as level_underside already does for the top pass (found again by the batch 9 export audit as #1947 item 5). Its Measure with the held-out models is running (43540737360). The other two asks stay open here:

  3. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Status on main after v0.23.0. Two of the three asks are done:

    Left: the top pass consulting SlabTop::NotRead, a top cut at a slab or footing whose outline is not read. That is #1947's item 4, which waits on a count of the top cuts by covering element, with and without an outline.

  4. DrunkOnJava commented on Nov 14, 2026

    @DrunkOnJava
    OwnerAuthor

    Closing: the last ask is settled as a measured negative.

    The two asks done earlier: #1953 cuts a wall's base at a roof's top only where the roof is a level plate, and #1974 tells a roof by its record class.

    The one left was whether the top pass should refuse a slab or footing whose plan outline is not read (drawn as its record box), as it refuses such a roof. Measured with #1947's item 4: a variant that refuses those cutters (research/1947-top-cut-box, Measure 43647353701, unfiltered with holdout) loses walls whose base and top equal Revit's:

    model main refusing box-drawn slabs and footings
    BIM4LCA office, concrete, as built 607 542
    BIM4LCA office, concrete, at permit 589 519
    BIM4LCA office, timber, as built 598 542
    BIM4LCA office, timber, at permit 573 521
    held-out Revit 2026 house (counts only) 56 37
    BIM4LCA housing, timber, as built / at permit 346 / 340 342 / 336
    BIM4LCA housing, concrete, as built / at permit 356 / 330 356 / 330

    So Revit cuts a wall's top at a slab or footing that rvt-rs draws as its box, and the box's underside is the level it stops at. A footing drawn as its box is its real shape, as the earlier note on #1947 guessed. The top pass keeps cutting there. Unlike a roof's box, a slab's or footing's box is not a stand-in for a slope.

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:bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions