writeTrianglesSTL {brainR} | R Documentation |
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)
scene |
list of triangles (that have class Triangles3D) |
con |
filename or connection of stl file to write |
ascii |
indicator if the file should be written in ascii or binary |
filename (invisible) of stl object