Attractor point/ density for 3d geometry

I’m trying to apply attractor points to the 3d grid to show the density around those points. I’m getting some errors. I’m not sure how to fix it. Could somebody help me, please? I attached the screenshot and definition. grid attractor- (22.3 KB)

The first red component - the closest point, is expecting points. But you are feeding it rectangles.

Have a try Pinch’n’Spread Pointsin pufferfish plugin.

3G Grid (14.7 KB)