Skip to content

Export curved and multi-segment Revit grids to IOScene #261

Closed

Description

@mahach666

Problem

RvtIO decodes straight grid datum lines. A curved or multi-segment grid needs more than the two endpoints carried by the current IOScene grid-line contract. Rendering the chord of an arc would give the viewer the wrong axis.

Scope

  • Decode the stored geometry of arc and multi-segment grids and retain their datum labels and segment order.
  • Agree on a compatible IOScene representation with IOViewer. Any tessellation needs a documented error tolerance and should preserve a single logical grid label at the ends of the axis.
  • Export these grids through RvtSceneReader and rvtio --scene, and document unsupported records.

Acceptance criteria

  • A synthetic or public fixture covers an arc and a mixed-segment grid. Tests verify the shape, connectivity, labels and conversion from feet to metres.
  • IOViewer draws the curved or segmented axis in the correct position. A straight-grid fixture produces the same scene data as before.

Related to #246.

Activity

  1. added
    enhancement
    on Nov 19, 2026
  2. mahach666 commented on Nov 19, 2026

    @mahach666
    CollaboratorAuthor

    Implemented and verified in the released RVT-to-viewer path.

    • RvtIO #265 reads and exports circular and multi-segment axes. IOScene 0.1.2 carries ordered grid paths.
    • IOViewer #75 renders the paths. RvtIO.Scene 0.5.1 is published, and IOViewer #76 updates the direct RVT importer to that version.
    • The updated CLI opened two Revit 2027 RVT fixtures directly with the published NuGet adapter. Each produced the straight grid, 90° and 270° arcs, and a line–arc–line axis. Grid coordinates and levels matched the Revit-verified reference scene, and Chromium rendered 137 segments and eight endpoint labels per fixture. Screenshot
    • Local integration and unit tests passed on .NET 8 and .NET 10 (196 each). The dependency PR passed CI, including 227 browser tests.
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