[Gmsh] Meshing and rendering a deformed polyhedron
m.janssens at opencfd.co.uk
Mon Sep 25 19:17:58 CEST 2006
You probably have to do some walking on your edges to create the faces. Take
two consecutive edges and determine the normal of the plane they span. Then
do an (anti-)clockwise walk.
You'll need to find an input format for gmsh that supports faces.
On Monday 25 September 2006 15:53, Nicolas Vanderesse wrote:
> I am trying to use Gmsh as a visualization tool for irregular shapes.
> Basically, I am working with a 3D surface that looks like a deformed
> polyedron in which faces are not plane, but are still defined by edges
> (this a 3D representation of a grain in a metallic alloy). It would be
> useful to have a "solid" or semi-transparent view of this object. So I'd
> first like to mesh the faces, and then have the meshes of a same face
> painted with a common colour.
> I have defined the geometry of the object, but I can't figure out how to
> mesh it, nor have it rendered in a proper way.
> Does anyone have an idea ?
> Thanks in adavnce,
> Nicolas Vanderesse
> Ph.D student
> Dpt SMS - UMR CNRS 5146
> Ecole des Mines de Saint-Etienne
> F-42023 Saint-Etienne
> nvandere at emse.fr
> gmsh mailing list
> gmsh at geuz.org
More information about the gmsh