← Back to team overview

dolfin team mailing list archive

Re: mesh file conversion in python

 

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


Follow ups

References