TD

Project Ideas

Web based asset database Sketchfab is an online model viewer / download tool that allows the user to view in 3D rendered models in a web page. This project takes a similar idea however it will read a local database and allow the users to view the content of the database of models then interact with the selected ones.

Lab 2 Some Unix tools

The aim of this lab is to look at methods of batch processing data (scene files) using both built in Unix / Linux tools as well as python. Standard unix tools for finding things Unix has a number of tools to allow searching and locating files.

Lecture 1 Introduction

Slides Links and Resources Pipeline Patterns Pixar’s USD

Lab 1 Python Setup

The aim of this lab is to setup our python environment in the lab and give you the ability to setup something similar at home. I will video it live and upload afterwards as this will mainly be an interactive session.

Lecture 1 Introduction

Slides Links and Resources Pipeline Patterns Pixar’s USD

Lecture 2 The structure of a DCC

Slides Links and Resources

Lecture 2 The Structure of a DCC Tool

Slides Links and Resources Points and Verts and Prims

Lab 3 Some Python Topics

The aim of this lab is to introduce some core Python (3) concepts and ideas. Whilst some of these may seem unconnected I use many of these techniques and ideas day to day and will generally form part of a larger python ecosystems and deployment.

Lecture 3 Why Python

Slides References

Lecture 4 Databases and SQL

Slides

Lecture 5 GUI's and HCI

Slides

Lecture 6 Data Files and Serialization

Slides

Lecture 7 Systems Programming

Slides

Lecture 8 Multithreading

Slides Slides

Lecture 9 Devops

Slides

Lecture 10 Documentation and Deployment

Slides

Install and Setup of PyEnv

PyEnv can be installed by downloading from here https://github.com/pyenv/pyenv or if using a mac use brew install pyenv If downloading from github do the following git clone https://github.com/pyenv/pyenv.git ~/.pyenv cd ~/.

MayaPY not working

When running the following code in a mayapy session import maya.standalone maya.standalone.initialize(name='python') The interpreter never returns for the next line of code. TL;DR was an issue with my userSetup.py where I use cmds.

Black

Why do I need it? Life is too short to tidy up code by hand. Black is an opinionated python formatter. By using it, you agree to cede control over minutiae of hand-formatting.

Numpy

Why do I need it? numpy is “The fundamental package for scientific computing with Python”. In particular it gives us fast and efficient array types which can be used with C/C++ types as well.

Rich & Textual

Why do I need it? These two co-related modules will make your command line tools better. “Rich is a Python library for rich text and beautiful formatting in the terminal”, “Textual is a TUI (Text User Interface) framework for Python inspired by modern web development.