
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@doodle3d/threejs-export-obj
Advanced tools
OBJ exporter for three.js
For a STL exporter see https://github.com/Doodle3D/ThreeJS-export-STL
import 'mrdoob/three.js/three.js';
import { saveAs } from 'file-saver';
import * as exportOBJ from 'Doodle3D/ThreeJS-export-OBJ';
const geometry = new THREE.BoxGeometry(1, 1, 1).clone();
const material = new THREE.MeshBasicMaterial({ color: 0x00ff00 });
const mesh = new THREE.Mesh(geometry, material);
mesh.position.y = 0.5;
const buffer = exportOBJ.fromMesh(mesh).then(blob => {
saveAs(blob, 'cube.obj');
});
Install the library.
jspm install github:Doodle3D/ThreeJS-export-OBJ
Include the library.
import * as exportOBJ from 'Doodle3D/ThreeJS-export-OBJ';
Install the library.
npm install threejs-export-obj --save
Include the library.
const exportOBJ = require('threejs-export-obj');
exportOBJ.fromMesh
data: Buffer = async exportOBJ.fromMesh( mesh: THREE.Mesh )
Creates a .ZIP from THREE.Mesh. The .ZIP contains a .obj file and a .mtl file. The transformation on the THREE.Mesh will be applied to the OBJ geometry.
exportOBJ.fromGeometry
data: Buffer = async exportOBJ.fromGeometry( geometry: THREE.Geometry || THREE.BufferGeometry, [ matrix: THREE.Matrix4, material: THREE.Material ] )
Creates a .ZIP from THREE.Geometry. The .ZIP contains a .obj file and optionally a .mtl file. The transformation from the optional matrix argument will be applied to the geometry.
FAQs
ThreeJS OBJ Exporter
We found that @doodle3d/threejs-export-obj demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.