🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

three-stl-viewer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-stl-viewer

## Introduction Three STL Viewer is a 3D model viewr for STL objects based on Three.js 3D engine. [Examples](https://three-stl-viewer.herokuapp.com/)

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Three STL Viewer

Introduction

Three STL Viewer is a 3D model viewr for STL objects based on Three.js 3D engine. Examples

Installation

npm install three-stl-viewer --save

Dependencies

Three STL Viewer has dependencies, jQuery, spectrum, and Three.js. To utilize the package, it is required to install the dependencies properly.

npm install jquery --save
npm install spectrum-colorpicker --save
npm install three --save

How to use

// jQuery should exist in the global scope.
import 'spectrum-colorpicker';
import 'spectrum-colorpicer/spectrum.css';
import ThreeSTLViewer from 'three-stl-viewer';

...

let viewer = new ThreeSTLViewer({
	selector: '#pikachu.stl-viewer',
	urlToSTL: '/stl/pikachu.stl',
});

Authors

  • Hoseong Lee - Initial work - ohpyupi@gmail.com

FAQs

Package last updated on 11 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts