Creating a surface from points

Hi,

I am using the GH Python component along with some other grasshopper components to create a surface with a bump surface.

I am currently using to GH Python component to produce points to create the surface from. Then using SrfGrid component to try to connect these points. It is not working and I’m not sure what to do.

This is the grasshopper file.
grasshopper file.gh (6.9 KB)

Any help would be greatly appreciated.
Thank you, Anna

The message balloon tells you something…

The point format is not ideal. A quick fix would be to split the text or eliminate the first and last character in the string.

You can also eliminate the brackets in python like this:

points_str = []

for point in points:
    point_str = str(point).strip('()') 
    points_str.append(point_str)

grasshopper file mrtn.gh (17.6 KB)

Thank you so much Martin!

1 Like