Capítulo 603 de 859

Chapter 603: STLExporter

Core Idea

An exporter for STL.

STL files describe only the surface geometry of a three-dimensional object without any representation of color, texture or other common model attributes. The STL format specifies both ASCII and binary representations, with binary being more compact. STL files contain no scale information or indexes, and the units are arbitrary.

Code Examples

const exporter = new STLExporter();
const data = exporter.parse( mesh, { binary: true } );
  • What it demonstrates: Typical usage of STLExporter.

Reference Tables

Constructor

Signature
new STLExporter()

Methods

MethodDescription
`.parse( scene : Object3D, options : STLExporter~Options ) : stringArrayBuffer`

Key Takeaways

  1. Key methods: parse.

Connects To