Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Documentation

Alan Dann edited this page Apr 7, 2014 · 20 revisions

This engine connects Shotgun Pipeline Toolkit (Sgtk) and Autodesk 3ds Max. Shotgun will appear as a floating menu bar and will place itself in down the bottom of the UI layout at startup.

![Engine](images/3dsmax_engine.png)

Supported Versions

The Engine currently supports versions 2011, 2012 & 2014* of 3ds Max. These are also the versions officially supported by Blur (see below).

(*) Note: The engine currently supports 2014 when using the Blur Python extensions but does not yet work with the native Python included in 3ds Max as part of the 2014 Extension due to a number of issues that we are working with Autodesk to resolve.

Blur Python Extensions

In order to use the Shotgun Toolkit with 3ds Max, you need to have the 3ds Max Blur Python Extensions installed.

We currently use BlurOffline_python27_2014-03-20_install_16281_64.exe to test the engine with versions 2011, 2012 & 2014.

3ds Max 2013

There is a beta version of the Blur Python Library available that works with 3ds Max 2013 and Python 2.7 (BlurOffline_python27_2013-02-12_install_13312_64) although it is not officially supported by Blur and 2013 support has been dropped from more recent releases.

Whilst the the tk-3dsmax engine does run with this version, please be aware that it hasn't been thoroughly QA'd and there may be some instability when using this version. As usual, please report any problems to [email protected].

Slow startup and the SSL Python Heap Walk Bug

If Python is running slowly in 3ds Max or if you notice a pause when 3ds Max starts, this is likely to be because of a bug in the SSL libraries that ship with Python up to version 2.7.3 (it is fixed in version 2.7.4). This bug only affects applications which have a significant memory footprint and is therefore not noticeable most of the time. However, with something like 3ds Max it may be a problem.

The solution is to replace the python ssl library with a patched version that contains an upgraded version of the ssl backend library. You can find the _ssl.pyd file in your Python installation here:

![Engine](images/ssl.png)

Backup the original file (rename it to something like _ssl.pyd_orig) and then copy the following patched version in to that directory:

Make sure you choose the correct one for your version of Python otherwise it will crash!

Clone this wiki locally