Skip to content

Restore clipping and visibility in saved viewpoints - #60

Merged
mahach666 merged 1 commit into
mainfrom
codex/restore-viewpoint-state
Nov 18, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/restore-viewpoint-state

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #41.

  • Add optional per-view clipping and visibility to ViewerDocument and viewer JSON. The view list and tour restore the same state, and camera-only views preserve the current section and visibility.
  • Store exact linked model membership so multiple files with the same displayed name or path remain independent. Keep the schedule in its own visibility layer.

Verified 150 JS unit tests, 165 browser tests, and 164 .NET tests on each of .NET 8 and 10 with a real RVT. Release build, whitespace verification, packaging and DocFX passed. Authored viewpoints on Schependomlaan.ifc and racbasicsampleproject.rvt restored clipping and element visibility offline in Chromium and Firefox. The browser fixture also exercises two identically named links, the tour, and legacy camera-only views.

@mahach666
mahach666 merged commit 1e4ce24 into main Nov 18, 2026
5 checks passed
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.

Restore camera, clipping and visibility in saved viewpoints

1 participant