Skip to content

Fix ASCII STL loading with current Three.js - #64

Open
maxistar wants to merge 1 commit into
gabotechs:masterfrom
maxistar:fix-three-loaderutils-decodetext
Open

maxistar wants to merge 1 commit into
gabotechs:masterfrom
maxistar:fix-three-loaderutils-decodetext

Conversation

@maxistar

Copy link
Copy Markdown

Fixes #61.

This updates three-stdlib so STLLoader no longer relies on LoaderUtils.decodeText from three. That API is unavailable in newer Three.js versions, which breaks ASCII/text STL parsing.

Changes:

  • update three-stdlib to 2.36.1
  • update the dev Three.js dependency used for local builds
  • switch three-stdlib deep imports to the package public entrypoint

Verified with:

  • yarn build
  • yarn test
  • yarn lint

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support of text STL format

1 participant