Developing Python Tools in NUKE
In this NUKE tutorial, we'll learn how to write tools using Python. Software required: PyCharm 4.0.4, NUKE 9.0v5.
What you'll learn
In this NUKE tutorial, we'll learn how to write tools using Python. This tutorial assumes you have a good understanding of how to work and navigate inside NUKE, and while programming skills will be helpful, they're not required. We'll start with an introduction to Python, including how to work with variables, functions, and modules. Then we'll learn how to use NUKE-specific Python commands to create a utilities package, which includes five modules that will be helpful in everyday compositing work. By the end of this NUKE training, you'll be comfortable with starting to write your own Python-based tools. Software required: PyCharm 4.0.4, NUKE 9.0v5.
Table of contents
- Understanding the Benefits of Python 5m
- Navigating NUKE's Script Editor and Pycharm 10m
- Diving into Python: Prints and Comments 5m
- Determining Variables 10m
- Examining Conditionals and Loops 9m
- Understanding and Writing Our Own Functions 10m
- Extending Our Code with Modules 11m
- Overview of Our Utilities Package 4m
- Understanding NUKE's Home Directory 4m
- Creating a Folder Structure for Our Utilities Package 5m
- Producing the RenderFinished Module 10m
- Introducing the ReadWrite Module 11m
- Creating the RevealInFinder Module 11m
- Applying the EdgeNode Module 11m
- Completing the EdgeNode Module 8m
- Creating the AutoBackup Module 8m
- Continuing Working on Our AutoBackup Module 10m
- Finishing Our AutoBackup Module 8m
- Creating a Helper Module to Reuse Existing Code 3m
- Discussing How to Continue from Here 4m