Skip to content

amber10086/mayaTaskServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mayaTaskServer

This is a simple multi-threaded task server that allows you to batch tasks in multiple headless/background maya instances. I cannot think of any game project that doesn't need the ability to batch large sets of data to export and validate. I hope this is useful and that people feel free to add to it in meaningful ways.

This was created in 'Epic Friday' time when Epic Games encourages us to work on whatever we are excited about and share knowledge with the community.

alt tag

Here's an example of sending a batch of tasks:

from mayaTaskServer import serverTasks

animDir = 'D:\\Game\\Characters\\Heroes\\Femme\\Animation\\'
for f in os.listdir(animDir):
    if ".mb" in f:
        serverTasks.fbxAnimExport(animDir+f,exportPath='d:/FBX/femme/')

It currently only works on local host, pending code to xfer the maya file to the server to it can operate on it.

About

A Standalone Maya Task Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%