Skip to content

research(parameters): parameter ids, stored lengths and a family's form extents, against mahach666's findings (#155) (RE-344) - #1442

Merged
DrunkOnJava merged 12 commits into
mainfrom
research/155-parameter-ids-and-units
Nov 5, 2026
Merged

DrunkOnJava merged 12 commits into
mainfrom
research/155-parameter-ids-and-units

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

A probe and a report (RE-344) for the findings mahach666 (RvtIO, MIT) published on #155 and #156 in Discussion #1241. The report splits each finding by what it rests on (bytes of files Measure fetches, or the output of the Revit API), says which are new to rvt-rs, measures the new ones that bytes can state, and answers the counts they asked for against main. CLEANROOM.md gains one sentence: a third party's capture of Revit API output is previously published work (accepted source 3), cited and used to know where to look, and a value lands only when bytes of files CI can fetch, with Revit's export or saved geometry, confirm it; a claim only the capture supports is recorded as reported, not measured (the maintainer's decision of 2026-11-05). Nothing that rests on NDA material is used. Nothing in an export changes.

Motivation

#155 (parameter store, ids, units) and #156 (sketch to solid) record Discussion #112's claims as not reproduced. Discussion #1241 brings a second, independent set of findings on both, with a folder of their reports, probes and outputs (no licence in the folder, so facts are restated with credit and nothing is copied). Their sources include the output of the Revit API, which CLEANROOM.md neither accepted nor forbade; the one sentence settles it.

Changes

  • probes/examples/probe_re344_parameter_ids_and_units.rs: per file, the sign rule of parameter ids by store, seven conversions of the stored millimetre lengths (RE-310's selection, Revit 2015 to 2027, typed sets and FamilyParams slots) with the distance of the values none reproduces, the parameter ids of a family's forms with a joint tally of the revolutions' angles, and the GUID-shaped strings of a family's PartAtom. It also prints the unit-in-the-last-place arithmetic over the integers 1 to 100,000.
  • reports/element-framing/RE-344-parameter-ids-and-units.md: the provenance split, the table of what is new, the counts on the same 21 samples, and the probe's measurements.
  • CLEANROOM.md: the sentence. docs/format-reconnaissance.md: the dated addendum. changelog.d/research/155-parameter-ids-and-units.md: the fragment.

Testing

Unit tests are banned in this repository: none added. Nothing was built or run locally; cargo fmt --all -- --check and tools/release/changelog.py check pass.

  • tools/check-local.sh passes: not run locally; CI runs it (fmt, clippy and MSRV passed on 37f377d, which carries the probe's last change; the later commits change documents only).
  • Verified end to end on real Revit files, four Measure runs, each named in the report:
    • 42039153578, the probe at head 37f377d (-f base=none -f samples=true -f sample_years="2015 2027" -f families=true -f nordic=true -f r2025=true -f scorers=none): 105 models, 1,284,631 element records. None of 641,480 positive parameter ids lacks a definition (the negative side tests nothing; 4,818 records with no saved metadata are outside the test). Seven conversions of the stored millimetre lengths and the distance of the values none reproduces. 550 form-and-file pairs of RevolutionElem (at most 207 counted once) hold the two angle ids, every value a multiple of the 14-decimal 3.14159265358979; 1,229 BlendElem pairs hold the two blend ids; none of 5,006 SweepElem holds an extent id; 2,800 GUIDs in the PartAtom of the 2014 family of RE-327 (25 shared parameters in 112 types) and none in the 12 corpus families.
    • 42030865532, the first form of the probe (2787574, six conversions): the same counts for the sign rule, the 2027 reading and PartAtom; its six-conversion table is withdrawn.
    • 42028541274, main at 5988d83 (-f base=none -f samples=true -f sample_years="2021 2027" -f scorers=none -f models="sample-*"): the counts for RvtIO's 21 samples. main has moved since and they are not re-measured.
    • 42031090233, main at 5988d83 (-f racadv=true -f models="racadv-2020" -f scorers=class_sets_vs_ifc): Revit's public IFC2X3 export of rac_advanced holds the 1,349 IfcPlate and 100 IfcDoor rvt-rs writes and no IfcElementAssembly; it is an export of the 2020-era state, not of the files where RvtIO reads 1,541 panels and 101 doors.
  • No exporter change: the default export is untouched (a probe, a report, a fragment, an addendum and one sentence).
  • Performance: N/A.

Audit-honesty checklist

  • README / docs reflect the current state after this PR: no capability is claimed
  • A user-visible change has its entry as a fragment under changelog.d/research/
  • No limitation resolved or introduced in code
  • Commit messages describe WHAT changed and WHY
  • No emojis
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: a probe under probes/examples/ and a dated addendum to docs/format-reconnaissance.md are included

Legal and contribution hygiene

  • Apache-2.0
  • Contributor declaration: the changes in this PR are based on public byte observations of Autodesk's published sample files, mahach666's published findings (Discussion Independent .NET RVT reader - potential exchange of findings #1241, cited, with their provenance stated in the report), previously published reverse-engineering work (Discussion Set of findings #112 as RE: Decode parameter-store wire formats and exact Revit unit encodings #155 and RE: Reproduce sketch-to-solid geometry reconstruction pipeline #156 record it) and the IFC specification. I have not used Autodesk SDK source, ODA SDK source, leaked internal documentation, NDA material, or decompiled internal Revit implementation code beyond public symbol exports, and I have not copied or translated code from revit-ifc. Their finding files, count tables and outputs were read and none of their scripts was run; none of their files, tables or prose is committed (their folder carries no licence). RvtIO's README says its built-in name tables are re-verified against Revit's resource DLLs while the reply says only the listed sources were used; this PR takes only parameter ids from RvtIO, no name, and the discussion reply asks how the tables were produced.
  • No new fixtures

Breaking changes

None.

Related issues

Refs #155. Refs #156.

@DrunkOnJava DrunkOnJava added the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 5, 2026 13:23
@DrunkOnJava DrunkOnJava removed the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
…s distances in magnitude and the revolutions' angles, and the report says what rests on the API and on NDA models (#155)
# Conflicts:
#	docs/format-reconnaissance.md
@DrunkOnJava
DrunkOnJava marked this pull request as draft November 5, 2026 13:48
…even conversions, distances of the unmatched, once-counted forms and the revolutions' angles (#155)
@DrunkOnJava DrunkOnJava added the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 5, 2026 15:10
@DrunkOnJava DrunkOnJava removed the ready-when-green Draft whose code is complete: marked ready for review once its fast CI passes label Nov 5, 2026
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 5, 2026 15:22
@DrunkOnJava
DrunkOnJava merged commit a934fe8 into main Nov 5, 2026
59 of 61 checks passed
@DrunkOnJava
DrunkOnJava deleted the research/155-parameter-ids-and-units branch November 5, 2026 16:00
DrunkOnJava added a commit to puzzbobb/rvt-rs that referenced this pull request Nov 5, 2026
…345 being taken (DrunkOnJava#1190) (RE-346)

RE-343 is DrunkOnJava#1438's door and window flips, RE-344 is DrunkOnJava#1442's parameter ids and RE-345 is DrunkOnJava#1452's Revit 2025 beams. The report, the readers' doc comments, the scorers, the docs and the changelog fragment cite RE-346.

Refs DrunkOnJava#1190
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