vcgStlWrite: Export meshes to STL-files

View source: R/vcgPlyWrite.r

vcgStlWriteR Documentation

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

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

Rvcg documentation built on Sept. 30, 2024, 9:39 a.m.