How to plot multiple spheres at every point in a point cloud

Hey -

I have got some lidar data into rhino as a series of points (150,000 or so…) and I’m wanting to plot multiple spheres or cubes at each of the points to generate plans, sections and some animation work.

Any Ideas?

I haven’t used Python or Grasshopper before but I assume this would be the best way of doing such a repetitive task.

Thanks!

Hi Guy - I think I have a script that does that - hold on a bit, I’ll see if I can dig it up.

See if this does what you need - it adds cubes or spheres as a mesh to the points in a point cloud.

MeshPointCloudPoints.py (3.0 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

Hey Pascal - thanks for sending through the script!

I’ve tried using it using RunPythonScript but it doesn’t seems to be working (fault is probably mine). Does the script only work if it is a point cloud? The file is currently lots of individual points.

Thanks!

Guy

Hi @guy.mills, just select all Points and call the _PointCloud command, then try the script.

_
c.

Clement & Pascal;

The script works perfectly!

Thanks!