Skip to contents

Reads an ASCII or binary STL file and returns a scimesh mesh descriptor list with vertices, triangles, and normals.

Usage

read_stl(path)

Arguments

path

Path to the STL file.

Value

A mesh descriptor list.

Examples

if (FALSE) { # \dontrun{
mesh <- read_stl("model.stl")
nrow(mesh$vertices)
} # }