No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
address_cache.csv
writeandnotify.py
writeandnotify_ui.py
writeandnotify_ui.ui

README.md

Write and Notify

Levente Vass

April 2018

DESCRIPTION

When the render is done, the tool sends you a message to your email address. The tool currently works with g-mail and yahoo accounts.

CHANGELOG

v1.4

  • 'just send the message' feature have been added, if it's checked, the tool only sends the message without Write execution
  • bugfixes in autocompletion and messaging
  • minor layout changes

v1.3

  • Code cleanup and better error handling.

v1.2

  • Autocompletion feature have been added. This change affects the 'e-mail' and 'send a copy' fields. The addresses are automatically added to the completion list and stored in the .nuke/address_cache.csv file.

    You can edit manually the address_cache.csv, if you want to change something. Follow this format: example1@any.com,example2@any.com,example3@any.com...

    If you don't want autocompletion feature, modify the following line(73) in the writeandnotify.py:

    auto_complete = True autocompletion off: auto_complete = False

v1.1

  • Send a copy field have been added. You can send a copy of the message to multiple recipients.
  • Code cleanup and better error handling.

INSTALL

1.)
Copy these files to the .nuke directory.

writeandnotify.py
writeandnotify_ui.py

2.)
Add these lines to the menu.py file. The tool will be added to the Other menu.

## setup Write and Notify tool
import writeandnotify
writeandnotify_form = writeandnotify.WriteandNotify()
menu.addCommand("Other/Write and Notify", "writeandnotify.main(writeandnotify_form.show())", "")

USAGE

1. Setup frame range on renderable write node(s).
2. Type your e-mail and password if you want to receive a notification, everything else are optional.
3. Select one or multiple wite nodes.
4. Press Run button. If you leave the fields blank, you can execute selected Write nodes.

The tool currently works with g-mail and yahoo accounts.
If you want to add other e-mail provider, change the following line(33):

    SERVER_INFO = [["yahoo", "smtp.mail.yahoo.com", 587], ["gmail", "smtp.gmail.com", 587]]

little explanation:
"yahoo" - e-mail provider short name
"smtp.mail.yahoo.com" - (only work with) smtp server
587 - port

You can execute multiple write nodes, the rendering is sorted by render order.

SECURITY

The entered password is not encrypted, please use temp account for messaging.

COMPATIBILTY

NUKE 11 and above

Thanks for the code snippets Morten Andersen and Ricky Wilson.