Skip to content

Feat/visualize bounding boxes#23

Merged
ulysse-bouchet-simvia merged 8 commits intomainfrom
feat/visualize-bounding-boxes
Apr 16, 2026
Merged

Feat/visualize bounding boxes#23
ulysse-bouchet-simvia merged 8 commits intomainfrom
feat/visualize-bounding-boxes

Conversation

@ulysse-bouchet-simvia
Copy link
Copy Markdown
Collaborator

[1.7.0] - 2026-04-16

New viewer toolbar with bounding box, wireframe, and screenshot tools.

screenshot-2026-04-16T12-02-06

Added

  • Top toolbar in the mesh viewer with three new tools:
    • Bounding box: toggleable wireframe cube with colored axes (X red, Y green, Z blue), corner dots, a "0" origin marker, and dimension labels anchored in 3D
    • Wireframe mode: toggle between solid surface and wireframe rendering to inspect mesh density
    • Screenshot: left click saves the 3D view as PNG next to the source file and copies to clipboard; right click captures the full viewer including the sidebar
  • Toolbar button tooltips using the same inline hover pattern as the rest of the UI
  • Toolbar tab in the viewer help popup documenting the three new tools
  • Updated README with diagnostics, terminal reuse, direct .med opening, and toolbar features

Fixed

  • Popup z-order: help and settings popups no longer render behind the sidebar
  • Sidebar tooltip z-order: filter/clear tooltips no longer hidden behind the top toolbar

Show the characteristic dimensions of the loaded meshes at a glance.
A top toolbar button toggles a wireframe cube whose edges are colored
per axis (X red, Y green, Z blue), with corner dots, a "0" origin
marker, and X/Y/Z dimension labels anchored in 3D via
vtkPixelSpaceCallbackMapper. The setting persists across sessions.
Quick-toggle between solid surface and wireframe representation for
inspecting mesh density without navigating to the edge settings.
The mode is re-applied on mesh load so it persists across reloads.
Saves a PNG next to the source file and copies it to clipboard.
Left click captures the 3D canvas; right click composites the full
webview (canvas + UI overlays via html-to-image). A slide-in tooltip
confirms the filename and clipboard copy.
Replace native title attributes on toolbar buttons with the same
group-hover inline tooltip pattern used elsewhere in the UI. Raise
the sidebar stacking context (z-20) so its filter/clear tooltips
render above the top toolbar.
Update the README with diagnostics, terminal reuse, direct .med
opening, and the new viewer toolbar (bounding box, wireframe,
screenshot). Add a Toolbar tab in the viewer help popup with icon
mockups and descriptions for each toolbar feature.
The sidebar was bumped to z-20 for tooltip visibility, but the popup
overlay stayed at z-10, causing help/settings popups to render behind
the sidebar.
@ulysse-bouchet-simvia ulysse-bouchet-simvia self-assigned this Apr 16, 2026
@ulysse-bouchet-simvia ulysse-bouchet-simvia merged commit 8aa6917 into main Apr 16, 2026
5 checks passed
@ulysse-bouchet-simvia ulysse-bouchet-simvia deleted the feat/visualize-bounding-boxes branch April 16, 2026 12:41
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