Learn R Programming

Rvcg (version 0.12.2)

vcgStlWrite: Export meshes to STL-files

Description

Export meshes to STL-files (binary or ascii)

Usage

vcgStlWrite(mesh, filename = dataname, binary = FALSE)

Arguments

mesh
triangular mesh of class 'mesh3d' or a numeric matrix with 3-columns
filename
character: filename (file extension '.ply' will be added automatically.
binary
logical: write binary file

Examples

Run this code
data(humface)
vcgStlWrite(humface,filename = "humface")

Run the code above in your browser using DataLab