[Gmsh] Gmsh and Inkscape

Jose Paulo Moitinho de Almeida moitinho at civil.ist.utl.pt
Wed Apr 8 14:22:23 CEST 2009


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