Registry / other / stl-io

stl-io

JSON →
library0.11.0rscratesunverified

STL input and output for reading and writing STL (STereoLithography) files.

# Cargo.toml [dependencies] stl_io = "0.11.0"
INSTALL
IMPORT
SIG · STL-IO
S
stl-io
otherrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

read_stl
use stl_io::read_stl;

Reads an STL file and prints the number of vertices.

use stl_io::read_stl; fn main() { let mut file = std::fs::File::open("model.stl").unwrap(); let mesh = read_stl(&mut file).unwrap(); println!("Vertices: {}", mesh.vertices.len()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
stl-io — cargo add stl-io · libregistry