Skip to main content

A unique identifier library for Nuke

Project description

https://img.shields.io/pypi/l/nukeuuid.svg https://img.shields.io/pypi/pyversions/nukeuuid.svg https://img.shields.io/pypi/v/nukeuuid.svg https://img.shields.io/pypi/wheel/nukeuuid.svg https://readthedocs.org/projects/nukeuuid/badge/?version=latest

A unique identifier library for Nuke. UUIDs are stored on nodes and therefore persist Nuke sessions. UUIDs can be used to track nodes throughout the compositing process.

Full Documentation

Installation

To install nukeuuid, type:

$ pip install nukeuuid

Open Nuke’s init.py file and add:

nuke.pluginAddPath('/path/to/your/local/python/site-packages')

Getting Started

To get started with nukeuuid, type in the Nuke Script Editor:

import nukeuuid

Define a dictionary of UUIDs to be set, with the keys defining the UUID name and the values defining the UUID values.

kw = {'': 'fca7201e-b53d-4918-9ab0-bb4ec5590f3c',
      'utility': '5f2d525d-3e00-4bc5-88c4-794ad87f5699'}

To create and set the UUID attributes on a node (or a list of nodes), type:

nukeuuid.set(node, **kw)

To retrieve all nodes matching a specific UUID pattern, type:

kw = {'': 'fca7201e-b53d-4918-9ab0-bb4ec5590f3c',
      'utility': '5f2d525d-3e00-4bc5-88c4-794ad87f5699'}
matched_nodes = nukeuuid.get_nodes(**kw)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nukeuuid-0.1.2.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nukeuuid-0.1.2-py2-none-any.whl (5.6 kB view details)

Uploaded Python 2

File details

Details for the file nukeuuid-0.1.2.tar.gz.

File metadata

  • Download URL: nukeuuid-0.1.2.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nukeuuid-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c486088df068e6e408fafe2f7461bf1d32ca08111044cec1cd4b0e04a362aaba
MD5 21c344e7c6f9296f424854ba664c3984
BLAKE2b-256 109053c7f37e4f61d2a246ce47eaef00add98f979569242d0f08d87fa6ec4888

See more details on using hashes here.

File details

Details for the file nukeuuid-0.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for nukeuuid-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 488f0c30ae4a5d6777f88b01e0600fe9a585fe80476cb808109c24f458793c65
MD5 93c25b40587f5c588c9bf745f2095d3e
BLAKE2b-256 074c20dec1b4dccd55ca1b41d9bd5f0f9c6a904f9d41fa852c54beee2756b7f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page