dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07111
Re: mesh file conversion in python
Anders Logg skrev den 03/04-2008 følgende:
> On Thu, Apr 03, 2008 at 02:19:36PM +0200, Kristen Kaasbjerg wrote:
> > pedro wrote:
> > > is there a python command for mesh files conversion (namelly gmsh msh >
> > > xml ), as in "# dolfin-convert mesh.msh mesh.xml" ? thanks
> > > _______________________________________________
> > > DOLFIN-dev mailing list
> > > DOLFIN-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/dolfin-dev
> > >
> > >
> > run dolfin-convert from within python:
> >
> > import os
> > os.system('dolfin-convert mesh.msh mesh.xml')
> >
> > Kristen
>
> I think Ola and Arve have been working on moving the conversion into
> the Python interface and then just adding the script dolfin-convert on
> top. It's not there yet, but it will arrive at some point. Is that
> correct?
Yes, we have a rude first implementation of this. Getting the functionality
into DOLFIN isn't on top of my work stack, however.
Ola
> --
> Anders
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References