Controller.add_mesh_from_file

Controller.add_mesh_from_file()Optional[compas.datastructures.mesh._mesh.Mesh][source]

Add a mesh from the data in an file.

The following file formats are supported

  • OBJ

  • OFF

  • PLY

  • STL

Returns

  • Mesh – If the operation was successful

  • None – Otherwise