Skip to content

Wall-end rule: count the solid-beneath skip and exercise the unmeasured paths (RE-337 follow-up) #1418

Closed

Description

@DrunkOnJava

From RE-337 (#1398).

extend_wall_ends carries a wall's end on to the face of the plain wall beneath, and it counts every refusal in exported.wall_end_refusals. Three of its paths have no measured instance on any model of the gate:

  • a beneath wall drawn as a solid (tapered, layered-joined, saved mesh) is neither reached nor refused, so a wall that stops short of one keeps its end with no marker and no count;
  • finish_wall_ends, which builds the carried-on body for a wall with no base cut, never ran: all four measured walls have a base cut;
  • the refusals base_cut_lost_on_extended_plan and walls_beneath_reach_the_end_at_different_faces never fired.

Done when: the solid-beneath skip is a counted reason (wall_beneath_is_a_solid, in exported.wall_end_refusals and the decisions log), and each of the three paths is exercised on a real model or a synthetic fixture in CI with its outcome checked. Any path that has no model is stated as unmeasured in RE-337.

Activity

  1. added
    area:elements
    priority:P3
    type:feature
    on Nov 5, 2026
  2. DrunkOnJava commented on Nov 8, 2026

    @DrunkOnJava
    OwnerAuthor

    Where this stands after RE-348 (#1410), read against the code on main:

    • Solid beneath: followed_wall (src/ifc/export_content/wall_tops.rs) reads a joined wall only when it is its plan's prism or the stepped body of RE-320. Any other solid isn't read, and where it stands over height that remains, the end is refused as joined_wall_not_read and counted in exported.wall_end_refusals. So a wall that stops short of a solid now has its count, under that name rather than wall_beneath_is_a_solid. A solid that doesn't stand over the remaining height is correctly passed over.
    • walls_beneath_reach_the_end_at_different_faces: this reason is no longer in the code, so that part of the done-when is gone.
    • base_cut_lost_on_extended_plan and finish_wall_ends: both are still there, and still unexercised.

    Across the 35 models of Measure run 42522552972, the only refusal recorded is joined_wall_face_inside_the_wall (2, on the office). joined_wall_not_read fires on none of them, so the solid-beneath refusal has no measured instance either.

    What's left here: exercise joined_wall_not_read, base_cut_lost_on_extended_plan and finish_wall_ends on a real model or a synthetic fixture with the outcome checked, or state each as unmeasured in RE-337. No code is needed for the counted reason.

  3. DrunkOnJava commented on Nov 9, 2026

    @DrunkOnJava
    OwnerAuthor

    Closing this: #1579 states where the wall-end rule's paths stand after RE-348 (RE-337 section 6), which is what the done-when asks for where no model reaches a path.

    • The solid-beneath skip is counted, under RE-348's joined_wall_not_read and not under wall_beneath_is_a_solid: the rule follows the walls the record joins there now, not one wall beneath, so the named reason would belong to a rule that is gone. Where it lands depends on the list's order: in exported.wall_end_refusals and the decisions log when a joined wall read earlier showed the end short, and in exported.wall_end_reads_unmarked, which the decisions log does not hold, otherwise. docs/export-diagnostics.md now says both.
    • finish_wall_ends, base_cut_lost_on_extended_plan and the rest are stated as unmeasured, with what the exports reach. In Measure run 42567326561 (main at 83417fde, 111 exports) the rule draws, keeps or counts an end on 3 of the 15 Revit 2024 saves among the 93 openly licensed exports (the BIM4LCA office's two files and Snowdon Towers Architectural), the 18 held-out exports show no wall-rule count, no export has joined_wall_not_read or base_cut_lost_on_extended_plan, and all 8 walls whose end is drawn have their base cut, so finish_wall_ends makes nothing. No synthetic fixture reaches the pass, which reads Revit 2024 element and native wall records.
    • A wall in a strip that the pass does not read is found by nothing, and the end is drawn through it with no count. That is Wall-end rule: a wall in a strip that the pass does not read is found by nothing, so the end is drawn through it with no count (RE-337 section 6) #1583.
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:elementspriority:P3type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions