Skip to content

feat(ifc): write LoadBearing on structural beams and columns, and their IsExternal on Revit 2015 to 2023 (#1158) (RE-285) - #1184

Closed
DrunkOnJava wants to merge 6 commits into
mainfrom
re/285-load-bearing-beams-columns
Closed

DrunkOnJava wants to merge 6 commits into
mainfrom
re/285-load-bearing-beams-columns

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Draft, stacked on #1181 and the RE-283 PR: the report and Measure results follow. Refs #1158.

…ternal on them on Revit 2015 to 2023 (#1158) (RE-285)
… the scorer finds ThermalTransmittance's unit factor (#1158) (RE-285)
…admitted to a release (#1158) (RE-282)

Reading it in every reader moved three Revit 2023 exports no export checks (connector ports on the 2023 samples, a material association on Einhoven); each reader is admitted on its own measurement instead.
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Replaced by the rebuilt RE-285 pull request, which carries the same change on today's main (after RE-283 and RE-284 landed).

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

The replacement is #1226.

DrunkOnJava added a commit that referenced this pull request Oct 31, 2026
…ir IsExternal on Revit 2015 to 2023 (#1158) (RE-285) (#1226)

## Summary

Write `LoadBearing` (true) in the common set of every structural column
and structural framing element, as revit-ifc's `LoadBearingCalculator`
gives it from the category alone (CLEANROOM.md source 5, read and
cited), unless a parameter named for it says otherwise. On Revit 2015 to
2023, experimentally, also write their `IsExternal`, not external: the
last step of `CategoryUtil.IsElementExternal`. Related: #1158.

This is the stopped #1158 agent's RE-285 work, rebuilt on `main` after
RE-283 (#1182) and RE-284 (#1183) landed. It replaces #1184.

## Changes

- `partition_schema_mvp`: `LOAD_BEARING_CLASSES`, `attach_load_bearing`
on both record paths, and `IS_EXTERNAL_LAST_STEP_RECORD_CLASSES`, which
now names the same two classes.
- `ifc::export_content::add_load_bearing` writes it where IFC4's set
defines `LoadBearing`.
- `probes/examples/probe_re285_flag_candidates.rs`,
`tools/re/native_flags_vs_ifc.py` (counts only for unlicensed files),
and the held-out scrub, which keeps their count lines.
- The RE-285 report, the W7 line, the supported profile and
`changelog.d/added/structural-load-bearing.md`.

## Testing

Unit tests are banned here; none added. RE-285's own runs (41138533136,
unfiltered with the samples, BIMcollab and the held-out models)
measured:
- BIMcollab's Revit 2015 export: 91 of 91 beams and 15 of 15 columns for
each property.
- modelo_bim (Revit 26.2's exporter): 8 of 8 beams and columns for
`IsExternal`, and 8 of 9 for `LoadBearing`.
- The BIM4LCA office as built: one column gains Revit's value.

None is different. Measure
[41206921249](https://github.com/DrunkOnJava/rvt-rs/actions/runs/41206921249)
ran the rebuilt change unfiltered against `main`, with the samples,
BIMcollab and the held-out models. BIMcollab gains 212 equal values,
modelo_bim 32 (`LoadBearing` on all 9 beams and 9 columns, the ninth
through RE-286's type objects), and the office as built 1. Nothing new
is different, and nothing is written that Revit's export leaves out. 58
exports move: BIMcollab, modelo_bim, the two offices and the 2015 to
2027 samples.

## Legal and contribution hygiene

- [x] Apache-2.0. revit-ifc was read and cited only (CLEANROOM.md source
5).

## Breaking changes

None.
@DrunkOnJava
DrunkOnJava deleted the re/285-load-bearing-beams-columns branch October 31, 2026 15:11
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