scripting_data2PointsOnSurface
Moving right along form the last post, I have now combined the data read script as a function into a new script that actually does something remotely interesting! The script reads the data, stores it in an arra and then uses this data to propagate a surface with the specific number of random points. It continues through the dataset, propagating each value of points on a new layer, so eventually it will create a file that has a base surface, with x number of layers, each with a unique number of points in a different color.
It isn’t very intelligent yet, as it tends to put a lot of values near the edges of the surface, but with a bit of proximity detection it should be able to scatter the points more evenly. Hopefully this script will evolve into a packing script of some description. That is the ultimate aim, but i’ve already achieved the most important part of (semi)live data transfer to the rhino environment.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply