Skip to content

feat: add inline Three.js mesh viewer#96

Draft
vvahidd wants to merge 1 commit intomainfrom
feat/threejs-mesh-viewer
Draft

feat: add inline Three.js mesh viewer#96
vvahidd wants to merge 1 commit intomainfrom
feat/threejs-mesh-viewer

Conversation

@vvahidd
Copy link
Copy Markdown
Contributor

@vvahidd vvahidd commented Apr 6, 2026

Summary

  • Adds plot_mesh_threejs() — zero-dependency interactive .msh viewer for Jupyter notebooks
  • Parses Gmsh v2/v4 client-side in the browser via Three.js (CDN-loaded)
  • Features: BVH frustum culling, physical group toggles with auto-classification, CAD view presets (Iso/Top/Bottom/Front/Back/Right/Left), cursor-targeted zoom, global transparency toggle, collapsible panel
  • Hides dielectric/air groups by default for cleaner view of metals and ports
  • New notebook nbs/mesh_viewer.ipynb demonstrating usage

Zero-dependency interactive .msh viewer for Jupyter notebooks.
Parses Gmsh v2/v4 client-side, BVH frustum culling, physical group
toggles, CAD view presets, cursor-targeted zoom, transparency toggle.
@github-actions github-actions bot added the enhancement New feature or request label Apr 6, 2026
@vvahidd vvahidd marked this pull request as draft April 6, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant