Write mesh objects to various file formats.

mesh2stl(filename, x, ...)

mesh2obj(filename, x, ...)

mesh2ply(filename, x, ...)

mesh2webgl(filename, x, ...)

Arguments

filename

the file to write to

x

an rgl mesh3d object

...

extra arguments passed to the corresponding rgl::write...() function

Value

Invisibly returns the name of the connection to which the data was written.