1. SOFTIMAGE|XSI
If you are new to my scripts, read the The complete installation guide for Bernard's tools.before downloading ANY of these scripts.
Note that I'm slowly moving the content of this to my own wiki page. See that page for additional material.
1A. ARTIST TOOLS
1A-1. Plugins/xsiaddons
massRendermap 1.4 Toolset to use rendermaps at a large scale in XSI scenes. massRendermap 2.0 Toolset to use rendermaps at a large scale in XSI scenes.
1A-2. GENERAL SCRIPTS
1A-2A. Model utilities
ExportSelectedModels.pys
script pluginExport to disk the selected models, in the current project's Models directory. ExportStandinInfos.pys
script pluginCreates a model at the scene root, where one annotation per object in the scene is created. Into these annotations is then written the list of partitions the standin object (from offloaded ref models) is member of, since this information is generally lost once the scene is reopened. ImportStandinInfos.pys
script pluginThis puts the standin objects (from offloaded ref models) into their respective partitions, using the annotations created with ExportStandinInfos. IsInstance.py
pluginReturns 1 if the submitted object is an instance, 0 if it's not. RegenerateModel.pys
script pluginDeletes a chosen model and reimports it in the scene. Offers many options as to how to handle objects with partitions.
CURRENTLY UNAVAILABLESelectElement.pys
script pluginSelect all geometry (meshes, surfaces and hairs) children of the same model of the current selection. SetSelectedRefModels2medium.pys
script pluginSets the selected reference models to medium resolution. SetSelectedRefModels2offload.pys
script pluginSets the selected reference models to offloaded resolution. 1A-3. TEXTURING SCRIPTS
CleanupPictures.pys
script pluginRemoves unused texture files from the Pictures directory of the current project. ConvertCurrentSceneToMap.pys
scriptConverts all the texture of the current to .map files. It creates a new directory in the Pictures directory, then stores the .map files there. Generated .map files have pyramidal prefiltering. FindShaderUser.pys
script pluginSpecify a shader name, a clip or a material, and all its user (object, cluster, etc) will be put in a group or printed. Rebuilds all the image clips and connects them to shader. The primary use is for when opening on Linux scenes saved on Windows, where the clips are no longer working. However, this script is also an efficient clip optimizer. RebuildWeightMap.pys
script pluginRecreates a weight map. Meant as a workaround for a bug with elliptical filtering used in materials that also uses weight maps. 1A-4. RENDERING SCRIPTS
Hidecurvenull.js
script pluginHides all curves, nulls and models in scene. This can decrease rendering time. MatchPartitions.pys
script pluginThe user picks an object, and all the selected objects will be moved to the same partitions as the picked object. PartitionsInfo.pys
script pluginThis is an extended version of ImportStandinInfos and ExportStandinInfos. It writes to annotations the list of partitions all objects under a model are member of, and allows to put these objects back the listed partitions afterward. PasseRGBModels.pys
script pluginCreates an isolation pass that includes the geometric objects (meshes, surfaces, hairs) to be visible.
1B. TD TOOLS
1B-1. DICTIONARIES
dictionaryModelPath.pys
scriptWhen called, this command returns the path of a given model name. This command is meant for pipelines. 1B-2. SCRIPTING
importConstants.pys
script pluginSample code showing how to import the constants so they are available to Python. importTraceutil.pys
script pluginImports the win32traceutil module, so the extra error messages are redirected. switch2jscript.pys
script pluginSwitches the scripting langage to JScript. Ideally this is used as a command assigned to a hotkey. switch2python.pys
script pluginSwitches the scripting langage to Python. Ideally this is used as a command assigned to a hotkey. Switches the scripting langage to VBScript. Ideally this is used as a command assigned to a hotkey.
2. NON XSI-RELATED
The following scripts are meant to be executed in a Python interpreter.
They are helpers for 3D artists, technical directors and administrators.checksequence.py
Utility to verify rendered sequences. Checks for missing frames
in sequences, as well as drop frames and black frames.cleanupRenderFolders.py
Utility to remove everything contained in Backup and system folders
found in XSI project folders.ClientsManager (package)
Coming soon (need to create doc). Toolset to manage renderfarms:
files and directoies, services start and stop, etc.watchXsiservers.py
Tiny scripts that runs forever. Wathces the availability of network
locations, its purpose is to watch out if critical network locations
are down (like XSI workgroup servers and such).