[Gmsh] 3D mesh from surfaces defined as points

Jack Stalnaker jack.stalnaker at gmail.com
Fri Aug 23 18:42:28 CEST 2013


Thanks,

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.

--Jack



On Fri, Aug 23, 2013 at 11:25 AM, David Bernstein <david at terafrac.org>wrote:

> 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.
>
> Regards,
> Dave
>
>
> On Aug 22, 2013, at 12:11 PM, Jack Stalnaker <jack.stalnaker at gmail.com>
> wrote:
>
> > (Apologies. I hit send before completing the email before)
> >
> > I have a 3D body defined as follows:
> >
> >      - bottom, front, back, and sides are flat
> >      - top is defined by a set of points in 3D
> >
> > 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?
> >
> > Thanks,
> > Jack
> > _______________________________________________
> > gmsh mailing list
> > gmsh at geuz.org
> > http://www.geuz.org/mailman/listinfo/gmsh
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130823/23e12cd0/attachment.html>