Download node_modules/three/examples/jsm/lines/WireframeGeometry2.js from SimWorld-AI/industrial-harbor-viewer: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/lines/WireframeGeometry2.js
- Command line
-
hf download hf://spaces/SimWorld-AI/industrial-harbor-viewer/node_modules/three/examples/jsm/lines/WireframeGeometry2.js
-
curl -L -o WireframeGeometry2.js https://huggingface.co/spaces/SimWorld-AI/industrial-harbor-viewer/resolve/main/node_modules/three/examples/jsm/lines/WireframeGeometry2.js
419 Bytes
| import { | |
| WireframeGeometry | |
| } from 'three'; | |
| import { LineSegmentsGeometry } from '../lines/LineSegmentsGeometry.js'; | |
| class WireframeGeometry2 extends LineSegmentsGeometry { | |
| constructor( geometry ) { | |
| super(); | |
| this.isWireframeGeometry2 = true; | |
| this.type = 'WireframeGeometry2'; | |
| this.fromWireframeGeometry( new WireframeGeometry( geometry ) ); | |
| // set colors, maybe | |
| } | |
| } | |
| export { WireframeGeometry2 }; | |