Function blender_mesh::parse_meshes_from_blender_stdout[][src]

pub fn parse_meshes_from_blender_stdout(
    blender_stdout: &str
) -> MeshesByFilename

Given a buffer of standard output from Blender we parse all of the mesh JSON that was written to stdout by blender-mesh-to-json.py.

Meshes data in stdout will look like:

START_MESH_JSON /path/to/file.blend my_mesh_name {…} END_MESH_JSON /path/to/file.blend my_mesh_name

@see blender-mesh-to-json.py - This is where we write to stdout