[Gmsh] Gmsh and Inkscape

Jean-Francois Remacle jean-francois.remacle at uclouvain.be
Thu Apr 9 09:43:27 CEST 2009


Le 09-avr.-09 à 00:10, Mengda Wu a écrit :

> Hi Jose,
>
>    Thank you so much for help.
>
>    Following your steps, I was able to load the shape into Gmsh.  
> That's great! But when I I try to mesh, it
> did not generate 2D triangulation. What I did is just click the "2D"  
> button in Mesh. I attach a screenshot
> for what I got. I am quite new to Gmsh. Are there other steps I need  
> to mesh?
>

You only have a curve, you should create a surface, e.g. through  
gmsh's GUI.

jfr


> Sincerely,
> Mengda
>
> 2009/4/8 Jose Paulo Moitinho de Almeida <moitinho at civil.ist.utl.pt>
> On Tuesday 07 April 2009, Mengda Wu wrote:
> > Hi all,
> >
> >    I am looking for a way to generate a 2D triangulation of a  
> shape (in the
> > attachment) by Inkscape (http://www.inkscape.org/).
>
> Don't know if it is the shortest route, but it works ...
>
> - In inkscape "save as" .dxf
> - open in qcad and save as dxf 2000
> - use perl script in utils/converters/autocad/dxf2geo.pl to convert  
> to geo
> - in gmsh define surface and mesh
>
> > I am wondering if anyone has done this before. It will be great if  
> I can
> > reload the output into inkscape afterwards.
>
> Just save as svg, probably without background.
>
> Regards
>
> ZP
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
> <potatogmsh.jpg>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

----------------
Prof. Jean-Francois Remacle
Universite catholique de Louvain (UCL)
Tel : +32-10-472082 -- Mobile : +32-473-909930




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090409/e65b5406/attachment.html>