writeMeshFile: Export mesh to a file

View source: R/ReadWrite.R

writeMeshFileR Documentation

Export mesh to a file

Description

Export a mesh to a file.

Usage

writeMeshFile(mesh, filename, precision = 17L, binary = FALSE)

Arguments

mesh

a mesh given either as a list containing (at least) the fields vertices and faces, otherwise a rgl mesh (i.e. a mesh3d object)

filename

name of the file to be written, with extension stl, ply, obj or off

precision

positive integer, number of decimal digits for the vertices

binary

Boolean, whether to write a binary file or an ASCII file

Value

No value, just generates the file.


stla/MeshesOperations documentation built on Oct. 23, 2022, 8:23 a.m.