| write_stl | R Documentation |
Writes a scimesh mesh descriptor to an ASCII or binary STL file.
write_stl(mesh, path, format = c("binary", "ascii"))
mesh |
A mesh descriptor list. |
path |
Path to the output STL file. |
format |
|
invisible NULL, called for side effects of writing the file.
mesh <- generate_cuboid(c(0, 0, 0), c(1, 1, 1))
tmp_file <- tempfile(fileext = ".stl")
write_stl(mesh, tmp_file, format = "binary")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.