Skip to content

CLI tool to export Unity Prefabs as FBX/OBJ (w/ Materials)

License

Notifications You must be signed in to change notification settings

jcckg/prefabConvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prefabConvert

prefabConvert takes .prefab (and required .meta files) to convert; as it's designed for AssetRipper outputs, it will therefore also need a Unity-style Assets/ project structure (will automatically detect upwards). It will by default export OBJ+MTL; if you want .FBX outputs then pass --fbx and it'll use the blender backend to convert the default outputs (obj/mtl) into an fbx file.

uv run prefabconvert \
  --input "/path/to/prefabs" \
  --output "/path/to/output" \
  --recursive

If Blender is not auto-detected, pass its absolute binary path w/ --blender-path, e.g. --blender-path /Applications/Blender.app/Contents/MacOS/Blender or --blender-path C:\Program Files\Blender Foundation\Blender [Version]\blender.exe

This software is not sponsored by or affiliated with Unity Technologies or its affiliates. "Unity" is a registered trademark of Unity Technologies or its affiliates in the U.S. and elsewhere.

About

CLI tool to export Unity Prefabs as FBX/OBJ (w/ Materials)

Resources

License

Stars

Watchers

Forks

Contributors

Languages