Skip to content

research(walls): RE-383 measures Revit's top over a profile wall's stub at 24 ends and finds it the sketch's top line carried on, as RE-358 draws it (#1473) - #1618

Merged
DrunkOnJava merged 2 commits into
mainfrom
research/1473-stub-tops
Nov 9, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
research/1473-stub-tops

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Revit's body keeps a profile-edited wall's top line on to the wall's end: measured directly at 24 stub ends of 12 walls, Revit's top is the sketch loop's top edge carried on, and rvt-rs's top (RE-358's rule) is Revit's. The report is RE-383, with the scorer that reads it; there is no source change.

Motivation

#1473 was kept open after RE-358 (#1501): the four office walls' volumes matched Revit's, but the issue's done-when also asked for the stub's top to be read from the bytes, or for a measured negative to say what was tested, and RE-358 had not read Revit's top over the stub, only volumes and plan rows. RE-380 (#1608) then showed that Revit clips such a wall by the planes of its profile's sloped hull edges, which is what carries a sloped line on to the wall's end. This reads Revit's own bodies at the ends of the stubs.

Changes

  • tools/re/wall_profile_tops_vs_ifc.py: a scorer for the output of probe_1607_wall_profile_lines (commit 80808447, the sketch lines of every wall) and an IFC. It takes the file out of its IfcSite placement (ifc_common.site_frame) and prints, for each wall whose loop lies in a plane along x or y, the highest point of the body at the ends of the wall's box and of its loop and between, the loop's top at the same places, and the loop's top edge at each end carried on to the stub's end. It scores nothing.
  • reports/element-framing/RE-383-profile-wall-stub-tops.md and changelog.d/research/383-profile-wall-stub-tops.md.

Testing

Unit tests are banned in this repository; nothing here is a pure helper. The measurement is end to end on real files, and no output of the exporter changes:

  • full / CI passed on the final head
  • Measured on Revit's own exports: Measure 42658044225 (the scorer as the probe scorer on commit 01ecb7c4, on the two BIM4LCA office files), the same scorer on rvt-rs's export of them from Measure 42655806838 (main at 060e8f0a), and locally on Snowdon Towers' Revit export and rvt-rs's export of it. At all 20 stub ends of the office's 9 walls with one (10 per file) Revit's top is the carried line to 0.0001 ft and rvt-rs's is Revit's to 0.0000 ft; on 4 stub ends of Snowdon's 3 walls read, the same. The numbers are in RE-383 section 2.
  • No Measure of this change is needed: nothing under src/ or the gates' files changes.

Audit-honesty checklist

  • README / docs reflect the current state after this PR: a report and a research fragment; no capability row changes.
  • A user-visible change has its entry as a fragment under changelog.d/research/.
  • If a limitation was resolved, the docs are updated: A profile-edited wall's sloped top stops at the profile's end: a 0.41 ft stub stays flat, 0.65 ft too high #1473's done-when, RE-383 section 5.
  • If a new limitation was introduced, it is documented in the PR body and in-code: none; what no file with a Revit export can test (a stretch longer than the wall is thick, an arc, an angled wall, the end rac_basic's wall 493612 refuses) is RE-383 section 4.
  • Commit messages describe what changed and why
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: the report RE-383.

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0 (see CONTRIBUTING.md)
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content (see CLEANROOM.md). Contributor declaration: every fact here comes from byte observations of the BIM4LCA office's files (CC BY-SA 4.0) and Autodesk's Snowdon Towers sample (counts and equalities only), with Revit's own IFC4 exports of them. No Autodesk or ODA SDK source, disassembly, leaked document or NDA material was used, and nothing was copied or translated from revit-ifc.
  • No new test fixtures

Breaking changes

None.

Related issues

Closes #1473 (RE-383 section 5 says why its done-when is met). Refs RE-358 (#1501), RE-380 (#1608), #1474.

…ub at 24 ends and finds it the sketch's top line carried on, as RE-358 draws it (#1473)

On the BIM4LCA office's two files the highest point of Revit's body at the end of 10 stubs of 9 walls is the loop's top edge carried on to the end (0.0001 ft), and rvt-rs's is Revit's (0.0000 ft); the same on 4 stub ends of 3 walls of Snowdon Towers Architectural, locally. The scorer reads the probe of the walls' sketch lines. No source change.
…r does not read, and the scorer's import block gets its blank line (#1473)
@DrunkOnJava
DrunkOnJava merged commit 8c46977 into main Nov 9, 2026
36 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/1473-stub-tops branch November 9, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A profile-edited wall's sloped top stops at the profile's end: a 0.41 ft stub stays flat, 0.65 ft too high

1 participant