Grasshopper Creating invalid mesh from contours

Hi guys,

I have ran into trouble with a pretty simple script iv made.
The script just takes some contour lines i have from an OS map and turns it into a terrain mesh for me.

When i try to bake this mesh, Grass hopper tells me the mesh is invalid.
So i used the null component for more info and i get this response
Site Topography Model V1.gh (416.5 KB)

If anyone can point out where i have gone wrong, that would be fantastic

Cheers in advance guys

looks like removing duplicate points makes it work

Site Topography Model V1_inno.gh (418.5 KB)

there were like 271 duplicates

2 Likes

Thankyou Inno!

Once again you have solved my problem caused by my own general incompetency with grasshopper.

This worked perfectly. Thanks again mate, I shall see you on my next mistake I’m sure haha

1 Like

nah, it’s not incopetency, it’s more about getting used to the common issues that can make components fail
you’ll get used to it very fast, and you will solve yourself 99% of those problems in a glance :+1:

2 Likes

Maybe oneday ill actually be answering some questions instead of asking them! its a very different style of design than im used to, but also i can see just how powerful it is