Skip to content

docs(reports): give no areas, volumes or positions from the forum post's Revit 2018 export of rac_basic or the MIT tutorial house - #2070

Merged
DrunkOnJava merged 2 commits into
mainfrom
docs/unlicensed-sources-figures
Nov 15, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
docs/unlicensed-sources-figures

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The repository quoted absolute figures from two sources that carry no licence. These are now differences, lengths and percentages, as #2065 and #2066 did for Snowdon's export. The two sources:

  • the Revit 2018 IFC4 export of rac_basic_sample_project, attached to a forum post;
  • the MIT 4.567 tutorial house, which is "copyright reserved".

Changes

  • RE-334, docs/rooms.md and the rac_advanced rooms against the public IFC2X3 export: 42 of 85 stored-solid rooms within 0.1% of Revit's area #1354 entry of CHANGELOG.md. Room 101's areas and its void's, which were Revit's from the export or ours equal to them, are replaced by percentages. The differences already given stay.
  • RE-358 section 5. The export's volumes of rac_basic walls 198694 and 493612 become rvt-rs's volume over Revit's.
  • RE-56. The tutorial house's roof edge endpoints, its record box's base and top elevations and its mesh's x, y and z extents become the edge's length, the box's height and the mesh's plan size.

Done outside this PR:

Main's git history (including #1377's squash message), notification emails and GH Archive keep the old text, and they cannot be changed.

Testing

tools/ci/api-doc-ids.py passes. Docs only, no output change: no Measure.

Audit-honesty checklist

  • The changed figures are the differences and percentages the old ones gave, recomputed from them.

Legal and contribution hygiene

  • Apache-2.0. Docs only.

Breaking changes

None.

https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut

…t's Revit 2018 export of rac_basic or the MIT tutorial house, only differences, lengths and percentages

Neither source carries a licence: the Revit 2018 IFC4 export of
rac_basic_sample_project is a forum attachment with none, and the MIT
4.567 tutorial house is "copyright reserved". The rule applied to
Snowdon's export in #2065 and #2066 applies to both:
- RE-334, docs/rooms.md and the #1354 changelog entry quoted room 101's
  areas and its void's from the export; they now give percentages and
  the differences already there.
- RE-358 section 5 quoted the export's volumes of walls 198694 and
  493612; it now gives rvt-rs's volume over Revit's.
- RE-56 gave the tutorial house's roof edge endpoints, its record box's
  base and top elevations and its mesh's extents; it now gives their
  lengths and height.

Claude-Session: https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
@DrunkOnJava
DrunkOnJava merged commit 2683515 into main Nov 15, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/unlicensed-sources-figures branch November 15, 2026 16:23
DrunkOnJava added a commit that referenced this pull request Nov 15, 2026
… target stops every layer at the partner's near face, on a wall joined to no roof (#1814) (RE-488) (#2068)

## Summary

At a layered butt join, rvt-rs drew the end of a wall that stops to the
layer reaching furthest into its partner, as Revit cleans such joins
layer by layer. Where the end's `JoinEndGStep` names an omitted target
(`m_omittedTarget`), Revit's export instead ends the whole wall flat at
the partner's near face. Such an end now stops there with every layer,
on a wall whose record joins no roof or floor.

On the BIM4LCA concrete housing at permit, 8 ends that were 435 or 390
mm long are now Revit's, and nothing else in 120 exports moves. Report:
RE-488. Rows: #1814 ([comment
6897436699](#1814 (comment))),
registered before run 2.

## Motivation

#1814. Read from Revit's export of the concrete housing at permit:
- **Layered ends.** A layered wall's end is a set of steps, the nested
Ls of RE-71, and `wall_ends_list` compares the layer that runs furthest.
- **Flat ends.** At ends where the stopping wall's join step names an
omitted target, the end is flat at the partner's near face (probe
Measure 43724083677, `probe_re252_wall_ends` with `wall_ends_list`).

## Changes

- `src/research/native_walls.rs`: `NativeWall::omitted`, the wall that
`JoinEndGStep.m_omittedTarget` names at each curve end.
`NativeWall::roof_joined` says whether the record holds a
`JoinToRoofGStep`.
- `src/research/partition_schema_mvp/wall_joins.rs`: `wall_lines`
carries the omitted target by axis end (`WallLine::omitted`), only on a
wall that is not roof-joined.
- `src/research/element_record_wall_joins.rs`: at a perpendicular
layered butt join where the wall stops and one layer reach already lies
at the partner's near face, every layer now reaches the near face.
- Report RE-488, changelog fragment, the RE-488 row of
`docs/one-project-rules.md` (the BIM4LCA housing goes from 3 to 4) and
the #1814 row of `docs/contribution-map.md`.

## Testing

**Run 1**
([43724665649](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43724665649),
`2b10b372`, no roof-join condition) did not meet its first row:
- It fixed 10 ends but broke one exact end. Wall 1550779 is roof-joined,
and Revit runs its top 395 mm on, stepped.
- It did not reach the 11 timber T joints.

**Run 2**
([43734232355](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43734232355),
`653af5fb` against `156e2b25`, nordic, r2025, samples and holdout) meets
all five rows:
- **Exports.** 119 of 120 are byte-identical, and `diagnostics.json` is
identical on 102 of 102.
- **Ends.** On the concrete housing at permit exactly the 8 registered
ends become Revit's to 0.001 ft: walls with an end off go from 71 to 63.
1550779 stays Revit's.
- **Values.** No `different` or values-Revit-does-not-write count
changes.
- **Fits.** `frames_vs_ifc`'s rotation and `wall_heights_vs_ifc`'s
median wall-middle residual (0.0093 to 0.0131 ft) move with the frame
fit over every wall.
- **Gates.** `same-project gates` passes.

The commits after `653af5fb` are the report and docs (`e567395e`) and a
clean `--no-ff` merge of `main` (`5d7c2904`: the 0.25.0 release, #2070
docs and #2071 tools; no `src/` change), so the proof is run 2:
`--carry-proof 43734232355`.

## Audit-honesty checklist

- [x] RE-488, the changelog fragment, the one-project row and the #1814
row.
- [x] What the rule leaves out:
- 12 roof-joined ends that Revit draws flat, which the roof-join
condition gives up;
- the 9 concrete-office ends at the nearest reach with no omitted
target;
  - wall 1567716;
  - the issue's own six ends.

## Legal and contribution hygiene

- [x] Apache-2.0. Read from public byte observations and Revit's own IFC
exports. No Autodesk SDK source or internals were used.

## Breaking changes

None to the stable API. `rvt::research::NativeWall` and `WallLine` gain
fields; that module sits behind `unstable-research`, which the semver
gate excludes.

https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
DrunkOnJava added a commit that referenced this pull request Nov 15, 2026
…ort names, the first part of its saved mesh's first face (#1209) (RE-486) (#2063)

## Summary

A ceiling in pieces that holds no `Qto_CoveringBaseQuantities.GrossArea`
now takes the area of the piece Revit's export names. That piece is the
part of its saved mesh's first face (the first primitive, which is the
top face) that holds the face's first triangle. This extends RE-480's
one-piece rule (#2056) to ceilings whose face is in several pieces.
RE-465 leaves those out where a ceiling's two lowest sketch lines lie on
two different pieces. On the four BIM4LCA office files, 16 ceilings gain
a value, 5 of them cut, and all 16 equal Revit's. Report: RE-486. Rows:
#1209 ([comment
6894478486](#1209 (comment))),
registered before the run.

## Motivation

#1209. revit-ifc 24.2's `BodyExporter.ExportBody` (CLEANROOM.md source
5, `Exporter/BodyExporter.cs` at `e5caa9b81d`; cited, not copied) sets
the body's `ScaledArea` from each extrusion as it creates it.
`GrossAreaCalculator` reads that value, so a ceiling in pieces gets the
area of the piece created last.

- **Revit's export.** Of the 78 ceilings in pieces on the four BIM4LCA
office files (73 uncut, 5 cut), every one has the `GrossArea` of the
piece whose `IfcExtrudedAreaSolid` has the highest STEP id. That is also
the last item listed. The largest piece is right on only 45. Source:
`tools/re/ceiling_piece_order_vs_ifc.py`, Measure 43713821158. A layered
ceiling lists one item per piece per layer, and the order of the pieces
can differ between layers.
- **The saved mesh.** It stores the slab as one face per primitive, with
the pieces as connected parts of each face. The first face's first part
is Revit's piece on 78 of 78, the 5 cut ones included. Source:
`probe_1209_ceiling_mesh_order`, Measure 43714434788.

## Changes

- `src/ifc/saved_meshes.rs`:
- `first_piece_face_area`. It applies when the first primitive is one
horizontal face in more than one part, and a face facing the other way
holds a part of the same area to 0.1%. It is tried where
`one_piece_face_area` gives none, and only when the mesh decodes with no
diagnostic (`partial_refusal`).
- `coverings_without_area` selects ceilings by ElementId. rvt-rs writes
a ceiling sketched in pieces as one covering per piece, all with the
ceiling's ElementId (#331). So a ceiling is listed only where none of
its coverings holds `GrossArea`, and the area goes on its own covering,
the first one written. The first version of this PR took a ceiling only
where its ElementId named exactly one covering, so it wrote nothing
(Measure 43715338673; the cause is in RE-486, section 3).
- `horizontal_triangles` takes the per-triangle normal test out of
`one_piece_face_area`, unchanged. `part_roots` takes the union-find out
of `pieces`, unchanged.
-
`reports/element-framing/RE-486-ceiling-pieces-first-face-gross-area.md`,
`changelog.d/fixed/1209-ceiling-pieces-gross-area.md`, and the RE-486
row in `docs/one-project-rules.md`. The #1209 row in
`docs/contribution-map.md` and the W7 line in
`docs/release-1.0-criteria.md` now include RE-486.
- `docs/one-project-rules.md`'s counts table had drifted from its rows,
and now matches them. The office said 47 for 48 rows (49 with RE-486),
BIM-Speed Vitoria said 5 for 4, and RE-477's Vitoria spent Revit 2018
project had no line.

## Testing

**Full run.** Measure
[43733137320](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43733137320)
ran `b000d8ab` against its merge base `156e2b25`, with nordic, r2025,
samples and holdout, on 120 exports. All five rows on #1209 are met:
- **The office.** `Qto_CoveringBaseQuantities.GrossArea` equal goes from
86, 71, 84 and 70 to 90, 75, 88 and 74, with 0 different and 0 missing.
Each file's totals move by these 4 alone. The MCP answers find one more
equal quantity on each file.
- **Everything else.** 115 of 120 exports are byte-identical: the
housing, the Revit 2025 models, Core Interior, RE1, every held-out
export and every sample save but one.
- **Snowdon.** One ceiling of Autodesk's 2024 Snowdon Towers
Architectural sample gains a `GrossArea`, and no Revit export in CI
checks it. Revit's own local export of that file has no base quantities.
Against its body (both exports kept by Measure 43735582243), our area
equals the profile of the piece Revit's export creates last, to 8e-9
relative. That piece is also the largest of the three, so this ceiling
cannot tell the two rules apart.
- **Diagnostics.** They move in `exported.total_entities` alone: +4 on
each office file and +1 on Snowdon.
- **Gates.** `same-project gates` passes.

The filtered run 43721768570 gave the same office counts. After
`b000d8ab` the branch holds the report and fragment (`b755d546`) and a
clean `--no-ff` merge of `main` (`2a2fb064`: the 0.25.0 release, #2070
and #2071; no `src/` change), so the proof is `--carry-proof
43733137320`.

## Audit-honesty checklist

- [x] RE-486, the W7 line, the #1209 row, the one-project row and the
changelog fragment. The rule rests on one building, four saves by Revit
2024, and is listed on `docs/one-project-rules.md`.
- [x] Sections 4 and 5 of RE-486 are completed from the unfiltered
Measure.

## Legal and contribution hygiene

- [x] Apache-2.0. revit-ifc was read and cited only (CLEANROOM.md source
5). No Autodesk SDK source or internals were used.

## Breaking changes

None.

https://claude.ai/code/session_01TFTgj3Ddfs7cFGMNAgVAut
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.

1 participant