ftn-stl-viewer
v0.0.2
Published
A component for viewing an STL object from a given URL by utilizing Three.js
Downloads
130
Maintainers
Readme
React STL Viewer
A React component for viewing an STL object from a given URL by utilizing Three.js
Installation
npm install ftn-stl-viewer
Usage
import STLViewer from 'ftn-stl-viewer'
<STLViewer
model='http://www.example.com/example-url.stl'
width={400}
height={400}
modelColor='#B92C2C'
backgroundColor='#EAEAEA'
rotate={true}
orbitControls={true}
/>