Learn R Programming

Rvcg (version 0.24)

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 '.stl' will be added automatically.

binary

logical: write binary file

Examples

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

Run the code above in your browser using DataLab