rutile

Crates.iorutile
lib.rsrutile
version0.1.1
sourcesrc
created_at2021-01-03 19:25:45.547437
updated_at2021-01-03 19:42:12.867168
descriptionMinimal gmsh parser
homepage
repositoryhttps://github.com/pacce/rutile.git
max_upload_size
id331162
size27,841
Pedro Henrique Dalla Pacce (pacce)

documentation

README

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(())
}
Commit count: 57

cargo fmt