I tried again and again whit different datasets and different implementation but grid is always empty. I also tried do copy already working code but nothing changed.
I don't undestend if is a bug or I'm not understanding something.
Any help would be appreciated.
import pyvista as pv
import numpy as np
import PVGeo
import pandas as pd
#points = np.loadtxt("points3d.txt")
data = pd.read_csv('chunk.csv')
# Step 2: Create a PyVista point cloud
points = data[['x', 'y', 'z']].values
vtkpoints = PVGeo.points_to_poly_data(points)
#vtkpoints.plot(clim=[0, 1])
# Use with caution
voxelizer = PVGeo.filters.VoxelizePoints()
grid = voxelizer.apply(vtkpoints)
p = pv.Plotter()
p.add_mesh(grid)
p.show_grid()
p.show()