Writes a scimesh mesh descriptor to an ASCII or binary STL file.
Usage
write_stl(mesh, path, format = c("binary", "ascii"))Examples
mesh <- generate_cuboid(c(0, 0, 0), c(1, 1, 1))
tmp_file <- tempfile(fileext = ".stl")
write_stl(mesh, tmp_file, format = "binary")