rutile 0.1.1

Minimal gmsh parser
Documentation

Rutile (TiO2)

A minimal gmsh msh file parser implemented using Rust. This parser implements version 1 and 2 msh file format specification.

  • msh version 1 is available here.
  • msh version 2 is available here.

The version 2, however, is incomplete, and parses only the most relevant fields.

Sample usage

use {rutile::Mesh, std::fs::File};

fn main() -> std::io::Result<()> {
    let mut f = File::open("sample.msh")?;

    let mesh = Mesh::decode(&mut f)?;
    println!("{:?}", mesh);
    Ok(())
}