stl-viewer
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "stl-viewer", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A component for viewing an STL object from a given URL by utilizing Three.js", | ||
@@ -19,3 +19,3 @@ "main": "dist/STLViewer.js", | ||
"type": "git", | ||
"url": "https://github.com/chiedolabs/stl-viewer.git" | ||
"url": "https://github.com/chiedolabs/react-stl-viewer.git" | ||
}, | ||
@@ -22,0 +22,0 @@ "scripts": { |
@@ -1,6 +0,6 @@ | ||
# STL Viewer | ||
# React STL Viewer | ||
A component for viewing an STL object from a given URL by utilizing Three.js | ||
A React component for viewing an STL object from a given URL by utilizing Three.js | ||
*Note that you will still have to abide by the rules of CORS* | ||
*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* | ||
@@ -15,9 +15,9 @@ # Installation | ||
<STLViewer | ||
url='http://www.example.com/example-url.stl' | ||
width={400} | ||
height={400} | ||
modelColor='#B92C2C' | ||
backgroundColor='#EAEAEA' | ||
rotate={true} | ||
orbitControls={true} | ||
/> | ||
url='http://www.example.com/example-url.stl' | ||
width={400} | ||
height={400} | ||
modelColor='#B92C2C' | ||
backgroundColor='#EAEAEA' | ||
rotate={true} | ||
orbitControls={true} | ||
/> |
1673272