mmSolver.tools.savelensfile#
Tool#
The Save Lens File tool.
This tool will save the selected Lenss to a .uv file, for loading in third-party software (such as 3DEqualizer).
- mmSolver.tools.savelensfile.tool.main()#
Library#
The Save Lens File library functions.
Write out a mmSolver Lens node as a .nk file, readable in The Foundry Nuke.
- mmSolver.tools.savelensfile.lib.generate(cam, lens, frame_range)#
Convert camera-lens pair to data that can be written to a file.
- Returns:
Data structure containing the data from the lens, ready to be written.
- Return type:
dict
- mmSolver.tools.savelensfile.lib.write_nuke_file(file_path, data_list)#
Write data_list to a Nuke file.
- Returns:
True or False, indicating success or not.
- Return type:
bool
- mmSolver.tools.savelensfile.lib.write_nuke_temp_file(data_list)#
Write data_list to temporary Nuke file.
- Returns:
String of the written file path, or None if writing failed.
- Return type:
str or None
Constants#
Contains constant values for the Save Lens File tool.
The Save Lens File tool can write mmSolver Lens nodes as .nk files, readable by The Foundry Nuke.