Skip to content

feat(light_viewable): per mesh component light viewables - #311

Draft
JulienChampagnol wants to merge 13 commits into
nextfrom
feat/component_light_viewables
Draft

JulienChampagnol wants to merge 13 commits into
nextfrom
feat/component_light_viewables

Conversation

@JulienChampagnol

Copy link
Copy Markdown
Member

Summary

  • geode-viewables 3.9.0: a model's light viewable is now light_viewable.vtm plus one .vtp per mesh component.
  • Model responses: top-level binary_light_viewable is the base64 .vtm index; each mesh_components entry with a light file gets its own base64 binary_light_viewable (blocks have none). Meshes are unchanged.
  • CRS align / convert_geographic responses also return mesh_components, so the front gets the moved component geometry.
  • MeshComponent schema gets the optional binary_light_viewable field.

Notes

  • Pinned geode-viewables 3.9.0 (not 3.9.1): 3.9.1 requires opengeode-io 8.4, whose DXF writer rejects polygons with more than 4 vertices although is_saveable says yes, failing test_input_output.
  • Depends on OpenGeodeWeb-Microservice feat/component_light_viewables (generator fix for optional fields in shared types).
  • Breaking for OpenGeodeWeb-Front: it reads a model's top-level binary_light_viewable as a single .vtp (scene_actors.ts, crs.ts). The front change must land with or before this release.

Test plan

  • pytest: 231 passed
  • New tests: per-component light viewables on a BRep, and through convert_geographic (incl. linked data)
  • ruff clean, mypy unchanged vs next

🤖 Generated with Claude Code

JulienChampagnol and others added 13 commits December 2, 2026 10:37
Model light viewables are now a .vtm with one .vtp per mesh component.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…round

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ompute

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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