Skip to content

Posts

Dealing with Maya 2017 and PySide2

Maya 2017 was released today and with it comes a big change; PySide (and PyQt4) no longer works with Maya.

This guide explains how to deal with that and make your Python and PySide/PyQt scripts compatible with Maya 2017 as well as older Maya versions.

This guide is also applicable to e.g. Nuke or any other Python-enabled DCC app which uses Qt.

Installing Qt.py (advanced methods)

Qt.py can be installed in many ways, depending on your needs. This post aims to outline some common approaches:

  • Install using pip
  • Install into an application's custom Python build
  • Vendoring
  • Make Qt.py available using sys.path and site.addsitedir

Read node from Write node

Originally posted in 2011; A Python script for Nuke which takes any selected Write (or Read) node and creates a Read node from it. Now updated to fix some bugs and support for a wider range of scenarios.

Systemd services and resource limits

We made the move to CentOS 7 and I switched out all init.d scripts with systemd services. Yesterday I noticed we started getting errors on our render farm for huge scenes which required loading of thousands of files:

V-Ray warning: Could not load mesh file ...

One hint that this wasn't due to scene misconfiguration was that the initial ~1000 vrmeshes were loaded successfully, and after that no other vrmesh file could be loaded.

My Atom setup

I'm in love with Atom. Despite it being slow on large files, I still haven't been able to jump over the threshold of learning vim (or neovim). I'm way too comfortable with Atom right now. Here's my setup.