Skip to content

loadModel changed to accept STL files #2734

@jeremydouglass

Description

@jeremydouglass

Nature of issue?

  • New feature request

Which platform were you using when you encountered this?

  • Desktop/Laptop

New feature details:

The STL file format (stereolithography files) are an old lowest-common-denominator ASCII-based format used in 3D modeling and 3D printing. It would be nice to support loading them through loadModel().

This would be analogous to the previously added feature of "Loading 3d Objects from OBJ" (#904) only for the simple STL file format instead.

In Processing(Java), STL support is implemented in the third-party toxiclibs library, the STLReader class, under the loadBinary method.

See a previous discussion of p5.js STL support on the forum here: https://forum.processing.org/two/discussion/18812/import-stl

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions