Just in case someone as newbie as me in Grasshopper runs into the same problem, baking at delaunay mesh didn't do anything at first. If I put the cursor over the 'baked' command, I would get an 'invalid mesh' text. I saw on a forum you need to check for duplicate points, so you have to use the Cull Duplicates command between Explode and Delaunay, attaching them by the letter P on both sides. Thanks a lot, I'm really interested in GH now, this was only my first time.
Thanks this helped a lot! I was getting a little bit of a 'null points' error, but that was because the contours were not extending past a corner of my rectangular bounding box... after fixing this it worked just fine!
I followed the tutorial. It works wonders. After obtaining the surface I can trim and do anything with it even a tatami + cairo tessellation. These videos are outstanding resources for the student of architecture. Thank you so much for such gift.
i have just watched another video which does the same thing but that script is way complicated then yours, I really like the simplicity and clarity of your way of scripting this
I have both tried the tradititonal patch methord on my part but this method seems to be much more accurate because if you have very detailed contour lines, it gives you complete control where you dont have that option on the other method, thanks Sir!
Does this method work for a bounding box that is not a uniform polygon? The contours im attempting to use have a steep drop off, but are all comprised of closed curves. Im getting the null point error, but dont know if it is due to my bounding box being irregular even though it appears to be within all the contours
Workaround: I only had a contour lines for an irregular bounding box, since the property line of my site was irregular. I added simple straight line contours in the same general direction of the site's drop to 'finish out' the rest of a regular rectangular bounding box, and use this script. Later you can trim the surface to fit the irregular bounding box based on your site's shape.
my problem starts at the explosion command it doesnt divide each contour but instead divides all with a large grid and because of that it ignores my contour line and just creates large polygonshaped surfaces with relations to the heights
Hi Frank, thanks for this tutorial, while I am trying to recreate your script I stumbled across an issue regarding the surface I create through the bounding box. Can I swap the rectangular bounding box with an irregular shape so that I can accommodate the shape of the mesh I came out with? thanks
Hi, thanks for this crisp and clear instruction. My set of contours border the ocean where the information stops so I cannot draw a bounding box inside the contours as I would lose the coastline which for this project I really need. How do I go about this? Thanks, Rutger
i faced the same error and it worked out with adjusting number sliders, that goes to U and V Count. Not an uniform solution, but it was more likely to work properly when the mesh was finer
make sure that the bounding box you draw is within the contours - for the method to work all points in the divide srf need to successfully project on to the mesh and that can only happen if the bounding box has a smaller extents than the contours
@@FrankHu2ube Finally got it to work by switching to rhino 5! still don't know why it didn't work in rhino 6 but honestly whatever. it looks fantastic. Thank you!!
for me, everything seems to work but the last step, then nothing happens and i dont get the surface. ive tried it over like 6 times, i have no idea why nothing happens.
Hey Frank! Great tutorial! I had a question reguarding the bounding box. I often recieve elevation data in the form of contours with site bundaries that are not rectilinear (most recently a property boundry that resembles the shape of a stingray). Is there any advice you could provide/ any recources you could suggest to help produce surfaces from those kinds of conditions? Thanks so much! Keep it up!
Great video, thank you!! Do you know how could you do the same with a bounding box with more than 4 corners? If I add a 5th or 6th point so that the bounding box is not a rectangle shape, the point list will show "null" in every index of the points. Is there a workaround for creating a more complex shaped surface with this method?
I think I found a walkaround. Basically draw a rectangle below your contour lines and select it as part of your Delaunay input (pretend it to be part of your contour and it has to be bigger than your entire contour area apparently), you could probably imagine the result you get would be a mesh that almost look like using the rhino drape command and create something that drapes over your topo all the way to the plane you made, and this mesh is gonna be a rectangular shape with no issue going through the rest of the process to make a nurbs surface. I tested this method on three diffeerent set of topos, one with a flower shape, one even got missing areas inside the contour, it all worked nicely. One thing to note that I wouldn't use that same rectangle direclty as the bounding box input but shrink it a little bit to make sure it stays within the footprint of the Delaunay mesh you created, otherwise it might return null in the end.
Wow this was a nice tutorial But I do have a doubt We can make contour surface using the those curves and patch comment right, and the extra surface which comes out can be trimmed. So what's the difference between the contour generated from grasshopper to that of patch commend in rhino
It's showing some errors while I start the command *surface from ponits8. BUT what I did id just baked the mesh and the mesh to nurbs to get a surface and now it's working very accurately. Thankssss for the tutorial.
Try just using a basic 'Divide Curve' component. The purpose of the 'exploding' the contours is just to turn the contour lines into a bunch of spot elevations - it doesn't matter how you get those spot elevations.
the amount of times i've used this tutorial in the last year...thanks man
Just in case someone as newbie as me in Grasshopper runs into the same problem, baking at delaunay mesh didn't do anything at first. If I put the cursor over the 'baked' command, I would get an 'invalid mesh' text. I saw on a forum you need to check for duplicate points, so you have to use the Cull Duplicates command between Explode and Delaunay, attaching them by the letter P on both sides.
Thanks a lot, I'm really interested in GH now, this was only my first time.
Hey, Thanks! Not a newbie but did found this useful - was getting an invalid mesh error! Cull Duplicate solved it.
Thanks this helped a lot! I was getting a little bit of a 'null points' error, but that was because the contours were not extending past a corner of my rectangular bounding box... after fixing this it worked just fine!
I followed the tutorial. It works wonders. After obtaining the surface I can trim and do anything with it even a tatami + cairo tessellation. These videos are outstanding resources for the student of architecture. Thank you so much for such gift.
surface from points command doesn't work and error is "1. A point in the grid is null. Fitting operation aborted", what can i do now ?
same problem
same problem
Add additional Contour lines outside the boundary box and include it in the contour selection in GH
Intead of placing SUM component, you can right-click in U and add an expression in this case "x+1"
i have just watched another video which does the same thing but that script is way complicated then yours, I really like the simplicity and clarity of your way of scripting this
I have both tried the tradititonal patch methord on my part but this method seems to be much more accurate because if you have very detailed contour lines, it gives you complete control where you dont have that option on the other method, thanks Sir!
Does this method work for a bounding box that is not a uniform polygon? The contours im attempting to use have a steep drop off, but are all comprised of closed curves. Im getting the null point error, but dont know if it is due to my bounding box being irregular even though it appears to be within all the contours
Hi Michael did you find a solution to your problem? I am running in the same issue.
Workaround: I only had a contour lines for an irregular bounding box, since the property line of my site was irregular. I added simple straight line contours in the same general direction of the site's drop to 'finish out' the rest of a regular rectangular bounding box, and use this script. Later you can trim the surface to fit the irregular bounding box based on your site's shape.
my problem starts at the explosion command it doesnt divide each contour but instead divides all with a large grid and because of that it ignores my contour line and just creates large polygonshaped surfaces with relations to the heights
i have a problem in the last step, "The UCount value is not valid for this amount of points." this message appeared
Your bounding box may not be quite small enough. Zoom in to the corners and make sure the bounding box is inside the mesh.
@@carterskemp3369 thanks bro
Hi Frank,
thanks for this tutorial, while I am trying to recreate your script I stumbled across an issue regarding the surface I create through the bounding box. Can I swap the rectangular bounding box with an irregular shape so that I can accommodate the shape of the mesh I came out with? thanks
Best tutorial for contours to surfaces!
What happens if every contour line is 2ft? How do you change the depth of the contour?
Thanks frank you helped me so much Really thank you..... I am speechless !! 😍❤️❤️
Thanks! Surface so much better than mesh!
Really nice, thanks a lot. Very pedagogic and clear
Hi, thanks for this crisp and clear instruction. My set of contours border the ocean where the information stops so I cannot draw a bounding box inside the contours as I would lose the coastline which for this project I really need. How do I go about this? Thanks, Rutger
Are the contours line in the beginning are levelled up as the level height needs to be or are they in the same plane?
I have the same question
They are leveled at the height they Need to be, if they are leveled up at they same plane u would get a flat surface.
At the final step, it said 1. A point in the grid is null. Fitting operation aborted. Do you know why is that? Thank you
Me too...So weird
Mine is the same.
i faced the same error and it worked out with adjusting number sliders, that goes to U and V Count. Not an uniform solution, but it was more likely to work properly when the mesh was finer
Mine as well, But frank apparently doesn't reply
I have the same problem and haven't been able to fix it.
very nice and clear tutorial!
The last step, the bubble said there’s a null grid, how can I fix this?
Bruh you just saved me big time. Thanks for this vid.
Hey, can you please explain what is going wrong when I get the "point in the grid is null" error? I'm going absolutely insane please.
make sure that the bounding box you draw is within the contours - for the method to work all points in the divide srf need to successfully project on to the mesh and that can only happen if the bounding box has a smaller extents than the contours
@@FrankHu2ube Finally got it to work by switching to rhino 5! still don't know why it didn't work in rhino 6 but honestly whatever. it looks fantastic. Thank you!!
On rhino 6, scaling down the bounding box slightly smaller helped
I put the bounding box further away and scale it smaller and it worked. Hope it helps :)
@@fcahz that worked for me as well
awesome tutorial. so helpful. thank you
for me, everything seems to work but the last step, then nothing happens and i dont get the surface. ive tried it over like 6 times, i have no idea why nothing happens.
Really nice technique. Thanks
Wow thank you so much for this!! I needed it
Hey Frank! Great tutorial! I had a question reguarding the bounding box. I often recieve elevation data in the form of contours with site bundaries that are not rectilinear (most recently a property boundry that resembles the shape of a stingray). Is there any advice you could provide/ any recources you could suggest to help produce surfaces from those kinds of conditions? Thanks so much! Keep it up!
Great video, thank you!! Do you know how could you do the same with a bounding box with more than 4 corners? If I add a 5th or 6th point so that the bounding box is not a rectangle shape, the point list will show "null" in every index of the points. Is there a workaround for creating a more complex shaped surface with this method?
I have been wondering the same thing. It would be really helpful to understand how to use a more complicated shape
I think I found a walkaround. Basically draw a rectangle below your contour lines and select it as part of your Delaunay input (pretend it to be part of your contour and it has to be bigger than your entire contour area apparently), you could probably imagine the result you get would be a mesh that almost look like using the rhino drape command and create something that drapes over your topo all the way to the plane you made, and this mesh is gonna be a rectangular shape with no issue going through the rest of the process to make a nurbs surface. I tested this method on three diffeerent set of topos, one with a flower shape, one even got missing areas inside the contour, it all worked nicely. One thing to note that I wouldn't use that same rectangle direclty as the bounding box input but shrink it a little bit to make sure it stays within the footprint of the Delaunay mesh you created, otherwise it might return null in the end.
@@eh92745 thanks so much for sharing.. sounds good
@@arqcarolmachado you’re welcome
Great stuff Frank. Thanx!
Wow this was a nice tutorial
But I do have a doubt
We can make contour surface using the those curves and patch comment right, and the extra surface which comes out can be trimmed.
So what's the difference between the contour generated from grasshopper to that of patch commend in rhino
how accurate is the final surface compared to the mesh ?
Helped so much, thanks!
BEST ONE EVER
It's showing some errors while I start the command *surface from ponits8. BUT what I did id just baked the mesh and the mesh to nurbs to get a surface and now it's working very accurately. Thankssss for the tutorial.
Thanks Frank!
is there a way to increase vertices when exploding the contours? My contour lines seem to only have a few 'x' vertices when exploded. thanks!
Try just using a basic 'Divide Curve' component. The purpose of the 'exploding' the contours is just to turn the contour lines into a bunch of spot elevations - it doesn't matter how you get those spot elevations.
@@FrankHu2ube that worked great! thanks for the help
amazing video thank u king
How do you make Grasshopper see the Rhino file?
Looks like the bounding box can be only a rectangular box... What if I want that to be a polygon?
did you try?
@@davidnaisuler5743 Yeah I did try doing it
Facing the same issue, any resolution ?
Trim your surface with the polygon at the end
great video
Many thanks for the tutorial! Could you kindly suggest how to build vectorial map elevation contours? I mean in any location on the Earth.
I'd suggest looking at this tutorial, ua-cam.com/video/_6IRoRixxjk/v-deo.html
do you start with 2D contour or are the lines 3d placed?
I think 3d placed, because the height of the contours affect the height of the points which create the mesh.
this worked but for some reason my surface has some kind fo grid lines on the surface in shaded view, does anyone know how to remove these lines?
you'll need to make sure "show isocurves" in the display options is not checked
thank you SO much
youre amazing
I love it
Thank you!!
tHANKS A LOT!
It didnt work. It worked until the last step when the surface did not appear after connecting to surface from points.
I did it multiple times and it doesnt work
Thanksss
thanks thanks thanks
Me too, desperate to know why