yys

Maya插件开发,(多多练习英文吧~)

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

- Debugging python code IN nuke with Eclipse

- Documents:

http://www.thefoundry.co.uk/products/nuke-product-family/nuke/developers/

http://www.thefoundry.co.uk/products/nuke-product-family/nuke-editions/


- Documents Digest

- NUKE initialization scripts are run in reverse order of the NUKE plug-in path.

- init.py, menu.py

- nuke.env [“key”], (key: “PluginExtension”, “NukeVersionMajor”, “NukeVersionMinor”, “NukeVersionRelease”, “NukeVersionPhase”,“NukeVersionPhaseNumber”, “NukeVersionDate”, “NukeVersionString”, “threads”, “numCPUs”, “gui”, “ExecutablePath”, “ple”, “WIN32”, “MACOS”, nuke.env[“LINUX”, “64bit”.)

- Listing a Node’s Controls: 

for i in range (b.getNumKnobs()):   # Knobs is similar to the parameter entry in Arnold, I guess.
    print b.knob (i).name()

- franges.compact()

- frame numbers in file names can be indicated using hashes (#)

- Overriding the Creation of a Particular Node

- Accessing Node Metadata:

nuke.toNode("Read1").metadata("key")   # metadata is similar to the node entry in Arnold, I guess

- Nuke as a Python Module

#gradeShots.py
import nuke
shot = sys.argv[0]
....
nuke.execute( w, 1, 1 )

Which you would then run like: <Nuke8.0-install-path>/python.exe   gradeShots.py   shot-90123-a.exr

 

- iop: image operation

posted on 2014-08-24 00:31  yys  阅读(461)  评论(0编辑  收藏  举报