zetoff-three
v0.0.21
Published
Wrapper of Three.js and other useful libraries
Downloads
23
Readme
zetoff-three
Wrapper of Three.js and other useful libraries
Install
npm install --save zetoff-three
How to use it?
import THREE from 'zetoff-three';
import {ThreeBSP} from 'zetoff-three';
Includes:
- Three.js
Loader Libraries
- STLLoader
- OBJLoader
- BinaryLoader
- SVGLoader
- 3MFLoader
Export Libraries
- STLBinaryExporter
- STLExporter
- OBJExporter
Control Libraries
- OrbitControls
- MouseControls
- TrackballControls
Geometry
- NURBSCurve
- NURBSSurface
- NURBSUtils
- ThreeCSG
Contributors
You need to install three npm install three
as a peer depency.
I need to investigate how to better integrate with the three package in terms of
dependencies. See: https://github.com/Zetoff/zetoff-three/issues/12
Another issue is that it only works when the THREE installed in the project is the same version as the one installed in this repo when the project is built. See: https://github.com/Zetoff/zetoff-three/issues/14