Skip to main content

Houdini implementation for tpDccLib and tpQtLib. Utils functions to work with Maya Python APIs.

Project description

https://img.shields.io/github/license/tpoveda/tpHoudiniLib.svg

Houdini implementation for tpDccLib and tpQtLib packages.

Also, this module contains a lot of utilities functions and classes to work with Houdini Python API (hou)

Installation

Manual

  1. Clone/Download tpHoudiniLib anywhere in your PC (If you download the repo, you will need to extract the contents of the .zip file).

  2. Copy tpHoudiniLib folder located inside source folder in a path added to sys.path

Automatic

Automatic installation for tpHoudiniLib is not finished yet.

Usage

Initialization Code

1. If tpDccLib or tpQtLib packages are being used, tpHoudiniLib will be automatic imported during the initialization of those packages.

  1. If tpDccLib and tpQtLib are not found in your sys.path, you will need to initialize manually tpHoudiniLib.

import tpHoudiniLib
tpHoudiniLib.init()

Reloading

For development purposes, you can enable reloading system, so you can reload tpHoudiniLib sources without the necessity of restarting your Python session. Useful when working with DCCs.

  1. If tpDccLib and tpQtLib packages are being used, tpHoudiniLib will be automatic reload by tpDccLib and tpQtLib reload systems.

  2. If tpDccLib and tpQtLib are not found, you will need to reload tpHoudiniLib manually.

import tpHoudiniLib
reload(tpHoudiniLib)
tpHoudiniLib.init(True)

Enabling debug log

By default, tpHoudiniLib logger only logs warning messages. To enable all log messages you can set TPHOUDINILIB_DEV environment variables to ‘True’

import os

os.environ['TPHOUDINILIB_DEV'] = 'True'
import tpHoudiniLib
tpHoudiniLib.init()

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

tphoudinilib-0.0.5.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

tphoudinilib-0.0.5-py3.6.egg (20.2 kB view hashes)

Uploaded Source

Supported by

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