Skip to content

Write interoperable NWC caches without Autodesk software - #266

Merged
mahach666 merged 1 commit into
mainfrom
codex/nwc-managed-cache-writer
Nov 19, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/nwc-managed-cache-writer

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Changes

  • Add an opt-in managed writer for the native 448 container, including its directory checksum, triangle buffers, materials, fragments, element tree, GUIDs, and display properties.
  • Keep the existing writer entry points and layout.

Verification

  • Full NwcIO solution tests and formatting passed locally on the current change.
  • RvtIO generated a cache for the public Autodesk rst_basic_sample_project.rvt on .NET 8 and .NET 10 in separate network-disabled Linux containers with no Autodesk software or files.
  • NwcIO reopened both outputs. The 484 mesh owners and names, 84,494 ordered triangles, and model GUIDs matched the source. Maximum world-space position error was 0.862 micrometres.
  • Navisworks Manage 2027 opened both outputs, with geometry under the expected 453 element GUIDs and all 455 element GUIDs present. It also saved the .NET 10 output as NWD.

The native writer supports triangle models with known units and baked rotation and scale. It needs only the managed .NET runtime.

@mahach666
mahach666 merged commit 3e259d5 into main Nov 19, 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.

1 participant