Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
site/, including the branded UI and versioned static assets.The tested local-page build uses IOViewer #81, IOViewer #82, and RvtIO #308. The Revit downgrade and NwcIO source revisions are recorded in the site README. This draft preserves the source for review before a Pages setup.
Validation
dotnet publish, using the IOViewer and RvtIO source references.RvtIO main comparison
The comparative build profile can compile against RvtIO without the scratch API from #308. It uses the guarded browser post-processing from RvtIO #310.
On the public structural Revit sample, Compact JSON dropped from 88.6 s to 47.5 s and matched byte for byte. The first browser frame took 33.4 s on the scratch build and 45.9 s on the new candidate. Both rendered a scene with 484 instances and 84,494 triangles. The default build retains the scratch API from #308 for large files.
Threaded viewer experiment
Adds an opt-in .NET 10 AOT viewer profile using shared WebAssembly memory and the bounded decode batches in IOExtend/RvtIO#311. It preserves the single-threaded build as the default.
The threaded build uses either COOP/COEP from the static host or a scoped Service Worker. Chromium rendered the public structural sample using both configurations. The sandboxed render frame receives the self-contained viewer locally when Service Worker isolation is active. The scene packages compare byte for byte. The existing single-threaded browser suite passed with the updated web assets.
A repeat run exposed a WebAssembly bounds trap in the initial threaded AOT candidate. Treat the threaded profile as experimental while browser stability and throughput are validated.