threepipe
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

STLLoadPlugin.md 649B

12345678910111213141516171819202122232425
  1. ---
  2. prev:
  3. text: 'USDZLoadPlugin'
  4. link: './USDZLoadPlugin'
  5. next:
  6. text: 'KTX2LoadPlugin'
  7. link: './KTX2LoadPlugin'
  8. ---
  9. # STLLoadPlugin
  10. [Example](https://threepipe.org/examples/#stl-load/) —
  11. [Source Code](https://github.com/repalash/threepipe/blob/master/src/plugins/import/STLLoadPlugin.ts) —
  12. [API Reference](https://threepipe.org/docs/classes/STLLoadPlugin.html)
  13. Adds support for loading .stl ([Stereolithography](https://en.wikipedia.org/wiki/STL_(file_format))) files.
  14. ```typescript
  15. import {STLLoadPlugin} from 'threepipe'
  16. viewer.addPluginSync(new STLLoadPlugin())
  17. const mesh = await viewer.load('file.stl')
  18. ```