BVtkNodes
BVtkNodes copied to clipboard
vtkAlembicReader status
In the code there is mentions of a potential vtkAlembicReader: https://github.com/tkeskita/BVtkNodes/blob/master/init.py
- Blender To VTK Node: A BVTK node which converts Blender mesh into
vtkPolyData. Alternatively add vtkBlendReader to VTK?
Or maybe vtkAlembicReader to VTK? https://www.alembic.io/
Was there any ongoing work on this ?
BTW F3D has a first version of a vtkAssimpImporter that would theoritcally allow to reader .blend in VTK: https://github.com/f3d-app/f3d/blob/master/src/vtkF3DAssimpImporter.cxx
Hi,
it was just one idea, if I recall correctly nobody has done Blender To VTK exporter, not quite sure about @thomgrand? In principle it shouldn't be too hard to do surface mesh conversion routine, though.
You mean Assimp can read blend files? Good to know!
Hi,
I implemented a BlenderToVTK node on the (experimental) pyvista_features branch on this fork https://github.com/thomgrand/BVtkNodes. It allows direct integration into the BVTK node tree (either as PolyData or UnstructuredGrid). You can use the code as a guide for porting the feature here if you want: https://github.com/thomgrand/BVtkNodes/blob/pyvista_features/custom_nodes/pynodes/pynodes.py#L610
You mean Assimp can read blend files? Good to know!
It can suposedly, but we do not enable it in F3D.
it was just one idea, if I recall correctly nobody has done Blender To VTK exporter
Correcting myself in case anyone finds this useful: I did this small Blender add-on called io_mesh_vtk which can export and import VTK polydata from/to Blender, but I haven't used it for a while.