Individual skill
evo-threejs-obj-export
Generates a Node.js ES module script that dynamically imports a Three.js object definition file, constructs a scene graph, applies a -90 deg X-rotation for Y-up to Z-up coordinate conversion (Blender compatibility), forces world matrix updates, serializes the scene to Wavefront OBJ format using OBJExporter, and writes the result to disk.
tasks-evolved/threejs-to-obj/environment/skills/evo-threejs-obj-export/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 99
- Repository last updated
- Sep 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,991 bytesSKILL.mdcore · 2,991 bytesscripts/generate_export_script.mjsruns · 2,647 bytesscripts/run_export.mjsruns · 2,426 bytes
Read excerpt
# evo-threejs-obj-export
## Purpose
Convert Three.js scene definitions (ES module files exporting geometry constructors) into Wavefront OBJ files suitable for import into Blender (Z-up coordinate system).
## Key Concepts
### Pipeline Steps
1. **Dynamic Import**: Load the Three.js object definition file using `await import(filePath)`
2. **Scene Construction**: Call the exported function (e.g., `createScene()`) to get the 3D object hierarchy
3. **Coordinate Transform**: Apply +90° (Math.PI/2) X-rotation to convert Y-up (Three.js) to Z-up (Blender)
4. **Matrix Baking**: Call `scene.updateMatrixWorld(true)` — CRITICAL in headless Node.js (no renderer to auto-update)
5. **OBJ Export**: Use `OBJExporter.parse(scene)` to serialize to OBJ string
6. **File I/O**: Write the OBJ string to disk with `fs.writeFileSync`