<div dir="ltr">Thanks,<div><br>That's what I figured. I've gone that route already, using PCL to triangulate the surface using their greedy projection algorithm. The problem is that it's quite slow for my data sets. I have tried flattening and triangulating, too. That's fast, but introduces bad triangles. I noticed a lot of geoscientists on this mailing list, and thought someone might have a simpler solution for going from seismically derived points representing a reflector to a mesh surface. </div>
<div><br></div><div>--Jack</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 23, 2013 at 11:25 AM, David Bernstein <span dir="ltr"><<a href="mailto:david@terafrac.org" target="_blank">david@terafrac.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jack, I'm assuming the points which define the top surface are not already on a simple surface like a plane or a sphere.  I guess your problem is that you have to define a surface which contains the points and let gmsh know what the surface is.  One way to do this is to create a triangulation of the point set and then define lines, line loops, and surfaces from the triangles and then create a surface loop out of all the triangles.  However, I don't know of an algorithm that will create a triangulation of a set of points in 3D in such a way that it makes a sensible surface (I'm not an expert in this area though) so you might have to do the initial triangulation manually.<br>

<br>
Regards,<br>
Dave<br>
<div><div class="h5"><br>
<br>
On Aug 22, 2013, at 12:11 PM, Jack Stalnaker <<a href="mailto:jack.stalnaker@gmail.com">jack.stalnaker@gmail.com</a>> wrote:<br>
<br>
> (Apologies. I hit send before completing the email before)<br>
><br>
> I have a 3D body defined as follows:<br>
><br>
>      - bottom, front, back, and sides are flat<br>
>      - top is defined by a set of points in 3D<br>
><br>
> How do I go about creating a 3D unstructured mesh from this body using Gmsh? The top surface is the problem. It is only defined as points. Do I need to define lines and line loops from these points in order to create a mesh? Is there some standard way to do this in Gmsh, like a built in tool?<br>

><br>
> Thanks,<br>
> Jack<br>
</div></div>> _______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
> <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote></div><br></div>