Skip to content

W3: read family (.rfa) and template (.rte, .rft) files like projects: types, parameters and geometry #1189

Open

Description

@DrunkOnJava

Summary

Requirement W3 of the 1.0 release criteria asks that family (.rfa) and template (.rte, .rft) files be read like projects: their types, parameters and geometry, measured against Revit's own export of the family placed in a project. Today W3 is failed, and no issue tracked it until now.

Where things stand

From the supported profile:

  • Families (.rfa) open. rvt-rs reads their metadata, previews, schema and OmniClass. A family's types and type parameters come from its PartAtom stream, which is Revit's text written at save, not the family's own records. No geometry is read.
  • Templates (.rte, .rft) use the same container code, but no template file is in any corpus, so nothing about them is measured.
  • The native record reader's preamble does not parse on family files of any release yet ("invalid increment episode range", recorded in RE-281).

Done when

  • A family of every supported release (2015 to 2027) yields its types, its parameters and its geometry from its own records, and each is measured against Revit's export of that family placed in a project.
  • Template files open and report what they contain, measured on openly licensed templates.
  • The supported profile, the support matrix and W3's row say what is read and how it was measured.

How to help

  • Templates: if you can share an openly licensed .rte or .rft file (or know of one), please attach it through the corpus submission form. We cannot use files with unclear redistribution rights.
  • Families: a family together with Revit's IFC export of a small project that places it is the oracle this needs.
  • Decoder work starts from src/part_atom.rs, src/research/native_document.rs and the reverse-engineering workflow. Please read CLEANROOM.md first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:readerhelp wantedpriority:P1type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions