0.0.2 • Published 5 years ago

ftn-stl-viewer v0.0.2

Weekly downloads
30
License
MIT
Repository
github
Last release
5 years ago

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}
/>