PYME.IO.FileUtils.stl module

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

Load triangles from binary STL file.

Parameters
fnstring

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
fnstring

File name to write

datanp.array

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

Returns
None