/pythonMesh

A python module for manipulating .mesh files

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pythonMesh Build Status

A python module for manipulating .mesh files

ISCD summer school

Just jump to the Cheatsheet, or visit the Related page

python example

import msh
# Import, modify and save a .mesh as .vtk file
mesh = msh.Mesh("myFile.mesh")
mesh.readSol("myFile.sol")
mesh.replaceRef(2,3)
mesh.scale(0.1)
mesh.writeVTK("myFile.vtk")

external tools

Adds useful mesh manipulation options and interfaces: