[Gmsh] Gmsh and Inkscape

Mengda Wu wumengda at gmail.com
Thu Apr 9 00:10:17 CEST 2009


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?

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090408/b668405e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: potatogmsh.jpg
Type: image/jpeg
Size: 349177 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090408/b668405e/attachment.jpg>