0.13.12 • Published 6 months ago

meritt-stl-viewer v0.13.12

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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 meritt-stl-viewer

or

yarn add meritt-stl-viewer

Usage

import STLViewer from 'meritt-stl-viewer'

<STLViewer

models'http://www.example.com/example-url.stl' width={400} height={400} modelColor='#B92C2C' backgroundColor='#EAEAEA' rotate={true} orbitControls={true} />

V0.13.4

  • Added remove range handleRemove props to the sliders

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.13.12

6 months ago

0.13.11

1 year ago

0.13.10

1 year ago

0.13.8

1 year ago

0.13.9

1 year ago

0.13.6

1 year ago

0.13.7

1 year ago

0.13.5

1 year ago

0.13.0

2 years ago

0.13.1

2 years ago

0.13.2

2 years ago

0.13.3

2 years ago

0.13.4

2 years ago

0.12.3

2 years ago

0.12.2

2 years ago

0.12.1

2 years ago