Skip to content

feat(ifc): a standard property takes a parameter named for the property alone where no <set>.<property> one gives it, as Revit's export does (#35) (RE-227) - #994

Merged
DrunkOnJava merged 4 commits into
mainfrom
feat/bare-named-parameters
Oct 25, 2026
Merged

DrunkOnJava merged 4 commits into
mainfrom
feat/bare-named-parameters

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

A standard property now also takes a project or shared parameter named for the property alone (FireExit), where no <set>.<property> parameter gives it. Revit's export reads that name after the qualified one. On the BIM4LCA office that writes Revit's Pset_DoorCommon.FireExit on all 266 doors, and nothing else moves (RE-227).

Motivation

#992's listing of the values Revit writes where rvt-rs writes none shows Pset_DoorCommon.FireExit false on every office door. RE-227's census finds the office defines a parameter named FireExit alone. RE-194 reads only <set>.<property> names, while revit-ifc's PropertySetEntryMap (CLEANROOM.md source 5) also reads the bare property name after the qualified one.

Changes

  • src/partition_schema_mvp.rs (attach_named_parameters):
    • Each definition named for a property alone is read for every standard set that holds a property of that name, and the parameter is scanned once.
    • The qualified value wins where an element has both.
    • Values are still written only in the sets that apply to the entity.
  • reports/element-framing/RE-227-standard-parameter-names.md, with examples/probe_re227_parameter_names.rs: the lookup order, the office's 58 qualified, 5 bare and 9 display-named definitions, and the measurement.
  • README and docs/supported-profile.md: the bare name. changelog.d/added/bare-named-parameters.md.

The display names (Floor Covering, ...) are a separate slice. Following the maintainer's decision of 2026-10-25, they will be derived from the buildingSMART name by our own rule and used only once a Revit export confirms them; nothing is copied from revit-ifc.

Testing

Unit tests are banned in this repository: do not add them. Show the change working end to end on real files instead.

  • tools/check-local.sh: CI.
  • Verified end to end on real Revit files: Measure 40231201823, this branch against main, -f nordic=true.
    • Equal values go from 32,167 to 32,433 as built and from 32,339 to 32,605 at permit: Pset_DoorCommon.FireExit on 266 of 266 doors.
    • Different values stay at 55, and values Revit does not write stay at 495 and 496.
    • Core Interior, Einhoven and the four RE1 models export byte for byte as before.
  • N/A: performance (the same scan, one more parameter).

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • A user-visible change has its entry as a fragment under changelog.d/
  • Resolved limitations updated
  • The four bare names that change nothing are stated
  • 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: probe, report and measured counts against Revit's own export

Legal and contribution hygiene

  • Apache-2.0
  • No Autodesk proprietary content. revit-ifc was read for what its export does and nothing was copied (CLEANROOM.md source 5). Its display-name table stays out of the tree.
  • No fixtures

Breaking changes

None.

…ty alone where no <set>.<property> one gives it, as Revit's export does (#35) (RE-227)
…roperty's parameter by; README and profile name the bare name (#35)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 25, 2026 20:53
@DrunkOnJava
DrunkOnJava merged commit d3fafe6 into main Oct 25, 2026
29 checks passed
@DrunkOnJava
DrunkOnJava deleted the feat/bare-named-parameters branch October 25, 2026 21:16
DrunkOnJava added a commit that referenced this pull request Oct 25, 2026
…deleted branch (#1001)

## Summary

Sixteen reports' reproduce commands named a branch that was deleted when
it landed (`feat/mullion-span`, `feat/bare-named-parameters`,
`feat/wall-extend-to-structure`, `feat/824-hatch-openings`,
`re/re155-reference-slots` ... `re/re163-content-documents`,
`re/878-2015-episodes`, `re/223-flag-census`,
`docs/re229-symbol-lengths`), so `gh workflow run` refused them. Each
now names the commit that landed (`--ref main -f ref=<sha>`, and `-f
base=<parent>` where it measured a change against `main`).
CONTRIBUTING's reverse-engineering steps state the rule.

## Motivation

A report's reproduce section is how its counts are checked again.
Measure's `ref` input takes a commit, and every probe and scorer these
reports name is on `main`.

## Changes

- **`reports/element-framing/RE-155` to `RE-163`, `RE-208`, `RE-219`,
`RE-225` to `RE-229`**: branch refs replaced by the squash commits of
#601, #606, #611, #620, #627, #628, #630, #632, #642, #928, #963, #993,
#994, #996, #997 and #998. RE-224's `re/saved-mesh-status` is kept: it
is the ungated branch its scorer needs, and it stays.
- **`CONTRIBUTING.md`**: a report's reproduce commands name a commit,
never a branch.

## Testing

Unit tests are banned in this repository: do not add them.

- [ ] `tools/check-local.sh`: CI.
- [x] Every probe and scorer the changed commands name exists on `main`
(checked file by file), and each commit is the merge of the pull request
that added the report.
- N/A: no code change.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
- [x] No user-visible change, so no changelog fragment
- [x] Commit messages describe what changed and why
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files

## Legal and contribution hygiene

- [x] Apache-2.0
- [x] No Autodesk proprietary content
- [x] No fixtures

## Breaking changes

None.
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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