powered by
Export the tree mesh to an OBJ file for use in other 3D programs
write_tree_to_obj(tree_mesh, filename, materials = TRUE, fileext = ".obj")
None
Tree mesh.
Filename for the OBJ file. If the file extension is not included, it will automatically be added.
Default TRUE. Whether to also write the material (MTL) file.
TRUE
Default ".obj". File extension to be added if not present.
".obj"
#Save tree mesh to file tempfileloc = tempfile() write_tree_to_obj(tree_mesh(), filename = tempfileloc)
Run the code above in your browser using DataLab