PYME.IO.FileUtils.stl module

PYME.IO.FileUtils.stl.load_stl_binary(fn)

Load triangles from binary STL file.

Parameters:

fn : string

File name to read in

Returns:

A set of triangles.

PYME.IO.FileUtils.stl.save_stl_binary(fn, data)

Save list of triangles to binary STL file.

Parameters:

fn : string

File name to write

data : np.array

A list of triangles in the same format as returned by load_stl_binary

Returns:

None