- Python 100%
- Maya: scene snapshot (OpenMaya n-gon count, per-face materials), undoable fixes, FBX export with fixed settings, dockable PySide panel - Unreal: master material built once with generated default textures, per-channel texture settings, material instances per texture set, in-place re-import of new versions, editor menu entry - Core: writePackage writes the manifest last and cleans up on failure; panel logic and material wiring are kept testable outside the DCCs - Demo asset with deliberate mistakes and a Windows test checklist Maya and Unreal layers are not yet tested in the applications. |
||
|---|---|---|
| docs | ||
| integrations | ||
| legacy | ||
| preflight | ||
| tests | ||
| .gitignore | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
Preflight
Status: in development. The core and its tests are done, and the Maya panel and Unreal importer are written. They are not yet tested inside Maya and Unreal (checklist). The Substance Painter export is next.
Preflight takes an asset from Maya and Substance Painter to Unreal Engine 5 without the hand-work:
- Check: naming, frozen transforms, history, scene units, pivot, n-gons, triangle budget, UV sets, materials, and the Substance texture sets (complete, correctly named, sensible resolution).
- Fix: one click for the safe problems.
- Export: a versioned package (
SM_Crate/v003/) with the mesh, textures and amanifest.json. - Import: Unreal reads the manifest, sets texture compression and sRGB per channel, and builds a material instance of a shared master material.
- Learn: every run is logged, so
preflight-reportshows tech art which checks artists hit most.
See docs/DESIGN.md for the problem, the architecture and the plan.
Run the tests
uv run --python 3.11 --group dev pytest
Python 3.11 matches the interpreter inside Maya 2025+ and Unreal Engine 5.4+.
Project rules
Everything a team might disagree on lives in preflight/config/default.toml: naming patterns, triangle budgets, texture channels and their compression, and the telemetry location. Point PREFLIGHT_CONFIG at a copy to use different rules per project.
History
Preflight grew out of the animation and material hand-off scripts I wrote in 2024 for a student short film in Unreal Engine 5. They are kept unchanged in legacy/ (tag v0-student-2024).
License
MIT