export_gpu¶
-
source.Maya.misc_tools.export_gpu(obj, time_range, file_name, path)¶ export given objects as a gpu cache
Warning
This will write most of the material. If you cache a rig with pupil, they will appear white when loading the cached file
Todo
Create a function that will write the material of the pupil and allow them to be recover later on
Example:
import Maya.misc_tools as mtools objects = [pSphere1, pSphere2] mtools.export_gpu(objects, [12,69], pSphere_gpuCache, ../My_folder)
- Parameters
obj (list or str) – object to export
range (list) – start and end time
file_name (str) – name of the file to export
path (str) – path where to export