Git Product home page Git Product logo

usd-noodle's Introduction

Screenshot usd-noodle

Pretty node graph showing dependencies of a USD file

Screenshot

Requirements

  • Python 2.7 or 3.x
  • USD build (19.x or later) for your python version
  • PySide2 or PyQt5

Cloning

Make sure you clone with submodules. Like this:

cd /path/to/somewhere
git clone --recursive https://github.com/chris-gardner/usd-noodle.git

Running from inside a DCC

For example, Houdini, which provides the USD libraries and PySide2 out of the box.

Make the usd-noodle directory is on your PYTHONPATH:

import sys
sys.path.append('/path/to/somewhere/usd-noodle')
import usd_noodle
usd_noodle.main()

Houdini

Aka "hoodle" - a Houdini PythonPanel and basic LOPs integration are available.

Use these install instructions: Houdini Installation

Running from a commandline

Assuming you have a USD installation at $USD...

$PYTHONPATH will require $USD/lib/python along with some flavour of PyQt/PySide

$PATH will require $USD/lib and $USD/bin

here's a sample bash script. PySide2 has already been installed to the python installation.

#!/bin/bash

export USD=/home/chrisg/usd-20.05-linux-x86_64-py36
export NOODLE=/home/chrisg/usd-noodle

export PYTHONPATH=$PYTHONPATH:$USD/lib/python::
export PATH=$PATH:$USD/lib:$USD/bin:

python3 $NOODLE/usd_noodle/

Arguments:

usage: [-h] [-i USDFILE] [-t]
   
optional arguments:
  -h, --help            show this help message and exit
  -i USDFILE, --usdfile USDFILE
                        usd file to load
  -t, --textures        Load textures (ie, walk attributes)

usd-noodle's People

Contributors

chris-gardner avatar ajk48n avatar liametc avatar

Stargazers

Isaac A. Dettman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.