Skip to content

Export a browser-ready model scene with geometry and element metadata #24

Open

Description

@mahach666

Goal

Provide a compact presentation dataset that a web viewer can load while preserving the connection between visible geometry and model elements.

Current behavior

Existing IFC and JSON exports are not a dedicated browser presentation scene with a defined geometry-to-element mapping and viewer-oriented loading behavior.

Scope and milestones

  • Define and document a scene payload for reusable meshes, instances, transforms, materials and an element hierarchy. Evaluate an established format before introducing a custom binary layout.
  • Include stable element identity and selected properties, with caller control over which metadata is included.
  • Preserve units, coordinate context and precision for models with large coordinates.
  • Support selected model subsets and report geometry or metadata that could not be included.

Acceptance criteria

  • Keep geometry, materials, transforms and property ownership consistent with the document data.
  • Verify repeated family instances, transparency and element picking mappings.
  • Load a generated scene in a browser using reduced and public sample fixtures.
  • Measure payload size, browser memory and load time on a representative larger model.
  • Provide a versioned payload contract suitable for embedding in an offline HTML export.

Activity

  1. added
    enhancement
    on Oct 31, 2026
  2. added a commit that references this issue on Nov 11, 2026
    417100f
  3. mahach666 commented on Nov 21, 2026

    @mahach666
    CollaboratorAuthor

    Partial on main (bfd0066): #197 and #198 shipped the mesh API and RvtIO.Scene; #229 added --scene; #263, #264 and #265 added grids and storeys. The versioned IOScene contract carries reusable meshes and transforms, identity, materials, parameters and geometry diagnostics. Still open: selectable model subsets and properties, broader hierarchy, and documented browser checks for picking, transparency, large coordinates, load time and memory. See the adapter docs.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions