Skip to content

Read calculated geometry values from older reference caches - #140

Merged
mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-metrics
Dec 6, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/legacy-reference-metrics

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Changes

  • Read the older reference cache's saved calculated geometry attributes by foreign object key.
  • Export volume, surface area, center of gravity, and solid status in the usual CalculatedGeometryValues property set.
  • Use the known storage units to export coherent SI values even when the cache has no project unit declaration.

Verification

  • Release and native-only tests on .NET 8 and .NET 10.
  • DocFX with warnings as errors and NuGet package dependency checks.
  • Compared native values with stored bytes, paired TRB8 property sets, and geometric integration from the linked meshes.
  • Compared exported values with stored records and verified that existing scene metadata and rendering data stayed identical.

@mahach666
mahach666 marked this pull request as ready for review December 6, 2026 16:10
@mahach666
mahach666 merged commit 914977f into main Dec 6, 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