ftn-stl-viewer
Version:
A component for viewing an STL object from a given URL by utilizing Three.js
19 lines (15 loc) • 390 B
Markdown
for viewing an STL object from a given URL by utilizing Three.js
npm install ftn-stl-viewer
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}
/>
A React component