Learn R Programming

brainR (version 1.6.0)

writeTrianglesSTL: Write STL triangles (without recalling the ids)

Description

This is code extracted from writeSTL in rgl. This allows users to write the triangles in STL without reprinting the rgl (which takes time)

Usage

writeTrianglesSTL(scene, con, ascii = FALSE)

Arguments

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

Value

filename (invisible) of stl object