This is code extracted from writeSTL
in
rgl
. This allows users to write the triangles in STL
without reprinting the rgl (which takes time)
writeTrianglesSTL(scene, con, ascii = FALSE)
list of triangles (that have class Triangles3D)
filename or connection of stl file to write
indicator if the file should be written in ascii or binary
filename (invisible) of stl object