Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to read cgns file with vtk.js #3006

Open
chiyandetaotie opened this issue Feb 1, 2024 · 1 comment
Open

How to read cgns file with vtk.js #3006

chiyandetaotie opened this issue Feb 1, 2024 · 1 comment

Comments

@chiyandetaotie
Copy link

Bug description

How to read cgns file with vtk.js? I want to show cgns file with vtk.js.

Steps to reproduce

How to read cgns file with vtk.js? I want to show cgns file with vtk.js.

Detailed Behavior

No response

Expected Behavior

How to read cgns file with vtk.js? I want to show cgns file with vtk.js.

Environment

  • vtk.js version: V29.4.6
  • Browsers: chrome
  • OS: windows
@chiyandetaotie chiyandetaotie added the type: bug 🐞 Errors in functionality label Feb 1, 2024
@finetjul finetjul added type: question❓ Help wanted module: I/O and removed type: bug 🐞 Errors in functionality labels Feb 1, 2024
@finetjul
Copy link
Member

finetjul commented Feb 1, 2024

There is no CGNS file reader in VTK.js. You have 3 options:

  • write your own CGNS file reader in Javascript by looking how the vtkCGNSReader has been written in C++
  • use VTK-wasm
  • find a Javascript library that can read CGNS files and create a vtkPolyData from the read arrays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants