Function fj_export::export

source ·
pub fn export(mesh: &Mesh<Point<3>>, path: &Path) -> Result<(), Error>
Expand description

Export the provided mesh to the file at the given path.

This function will create a file if it does not exist, and will truncate it if it does.

Currently 3MF & STL file types are supported. The case insensitive file extension of the provided path is used to switch between supported types.