hello everyone
I am working on a terrain model and need to create a surface from contour lines.
I was thinking of using network surface and creating a grid with contour lines for one direction and curves perpendicular to this for the other direction.
To create these perpendicular curves I tried using curve closest point
However, in this way it would be necessary to repeat the command for each curve using the point created and the next curve each time.
Only since you have open curves, you’re gonna get funky results. You’ll want a closed curve for every elevation. I began to try sorting the open curves by height in order to close them to the bounding area of your crop, but then realized that you’ve provided an incomplete curve set. Try getting that sorted out first.
Hello, thank you for your reply.
I had thought of such a solution.
The problem is precisely that I don’t have all closed curves. Because they are obtained by clipping from an area so of course there will be curves cut out.
Also, for each height there is not necessarily only one curve, but there can be more than one.
In this case you would have more than one curve in a path and therefore you could not use the surface between two curves for topology reasons.
After cutting the curves, I sorted them by height and then reconstructed them, turning the polylines into curves.
Although I am not too happy with the result so far.
I can’t see the result because the curve data isn’t internalized.
I general, yeah, but from the picture it doesn’t seem you’ll run into this problem, or where are the contour lines islanding into different high/low points?
… Something like that. I dunno. Lofting or always seems to go awry when the profiles have different curve degree and do not have their control points placed closest point across from each other.
yes, as you have seen, I think loft is not the solution for this type of job.
I searched but could not find any method to create a surface directly.
I first created the ground surface by creating a mesh of points. then it is possible to build a surface on a mesh in various ways
In any case, I am interested in other possible solutions because this was a specific case, but maybe it does not always work
In my experience, mesh patch works pretty well to create geometry from contour lines that may be open or closed. If you need a surface, then you can drape across the mesh. Another alternative is to quad-remesh the mesh patch and use the quad-remesh as input for subd.
Keep in mind that you should extend the contours beyond the edges of your site and trim the resulting geometry to your site boundaries once you are satisfied with the result.
What do you mean with mesh patch?
Mesh from point?
Have you got some exemples of scripts with quad-remesh and subdvs? I think You mean with weavebird
Anyway in this case i think the results of the surface Is quite good. I also think that the surface Is a bit strange, due to the mesh, and the original points/polilynes. If you see my script, you can see. they are distributed like a wave or something like that.