Mesh.from_stl

classmethod Mesh.from_stl(filepath, precision=None)[source]

Construct a mesh object from the data described in a STL file.

Parameters:
filepathstr

The path to the file.

precision: str, optional

The precision of the geometric map that is used to connect the lines.

Returns:
compas.datastructures.Mesh

A mesh object.