← Back to team overview

dolfin team mailing list archive

Re: mesh file conversion in python

 

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?

-- 
Anders


Follow ups

References