0.12.0 • Published 5 years ago
stl-viewer v0.12.0
React STL Viewer
New maintainer needed.
A React component for viewing an STL object from a given URL by utilizing Three.js
Looking for contributors
See a live demo here.
Note that you will still have to abide by the rules of CORS so you won't just be able to load a 3D file from someone else's site
Installation
npm install stl-viewer
Usage
import STLViewer from 'stl-viewer'
<STLViewer
url='http://www.example.com/example-url.stl' width={400} height={400} modelColor='#B92C2C' backgroundColor='#EAEAEA' rotate={true} orbitControls={true} />
Contributing
- If you test the building of the dist, please do not commit those files.
Testing
- Build with
yarn run build
- Run this in the root of the project folder
python -m SimpleHTTPServer 8000
- Visit
http://0.0.0.0:8000
in your browser
0.12.0
5 years ago
0.11.0
5 years ago
0.10.1
5 years ago
0.10.0
5 years ago
0.9.0
6 years ago
0.8.0
6 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.0
7 years ago
0.4.0
7 years ago
0.3.0
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.0
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago