More info here
Lightwave 11.6 python script for importing an XSI vbscript file exported from Autodesk MatchMover.
Lightwave 11.6 python script for converting Blender particle cache files to a Lightwave particle pfx file.
Lightwave 11.5 python script for loading the files generated by the Blender fluids simulation. It reads the geometry, velocity and particles information to generate a series of lwo files.
Lightwave 11.6 python script for creating a custom box shape with a non-modal interface. It will show in the Object Properties, Add Custom Object list as "Python Box Shape".
Lightwave 11.6 python script for displaying and modifying an object name and transform values.
Lightwave 11.5 python script used to call the medianCut script written by Steve Twist for 3DWorld Issue #134 based on Paul Debevec's Median Cut Algorithm (Debevec 2005). It reads a HDR image and creates a set of lights based on the image.
The Fix Collada export script is a Lightwave 11 Python script that is run on a LW exported Collada file to clean it and add camera and light animation. The script also fixes some issues with material exports.
The Collada Import Fixer Layout script is a Lightwave 11 Python script that is run on a Collada file to read camera and light data. This script will read the camera X fov or Y fov and the corresponding fov animation, light color and spotlight angle with animations and ambient light value without animations. Reads material textures from the collada file.
The Make Collada Spotlight Readable Layout script adds some Lightwave Core extra tags so that Lightwave will recognize a spotlight and import it.
sys.version - shows python version
LW11.6.3 shows 2.7.5 as the version number
double click line in output window to populate command line
Use this LW 11.5 script to copy the surface of one object onto a sequence of objects. It can be used with the Blender Fluids importer to resurface the sequence of lwo files.
right click the link above to download
Demonstrates mesh creation in modeler
right click the link above to download
The Log Spiral script is my second experiment with Lightwave 11's Python scripting. The original code is from an article in 3D Artist magazine Issue #49 by Petr Sorfa for the Hash Animation software package. The script can be run from the the Utilities tab > Python. It can also be linstalled like an Lscript or plugin by using the Utilities > Add Plugin in which case it will show up under the Utilities > Additional list under the name "Python LogSpiral".
Lightwave lscript for converting a a series of morphs into a morph sequence. The script creates intermediate morphs that can be added to the final morph at set intervals to simulate a morphing sequence.
Lightwave lscript for converting a 2 point polygon chain to a curve. Right click the link to download the script. Install this script to modeler to use the multiple poly chains to curves script below.
Set a background layer to receive the new curve. Select the first point of the polygon chain in the foreground layer then run the script. A curve based on the poly chain will be created in the background layer.
Multiple Poly Chains to Curves script can be used to call the poly chain to curve for multiple selections. Right click to download.
The "single poly chain to curve" script above must be installed to modeler before using the "multiple poly chains to curves" script. Set the background layer to receive the new curves and select the first point of each of the 2 point poly chains in the foreground layer. Run the script and it will call the "single poly chain to curve" script for each point selected.
Note: Converting many poly chains can take time.
Lightwave collada does not export camera field of view(FOV) animation. This lscript transfers the animation to the position and rotation of a null so that whatever program reads the Lightwave collada file can reconstruct the camera animation.
Lightwave collada does not export light color or spotlight cone angle animation. This lscript transfers the animation to the position, rotation and scale of a null so that whatever program reads the Lightwave collada file can reconstruct the light animation.
Lscript that converts subd uv's into an clean format for eps export. Right click on the link to download the script.
default subd eps export, frozen mesh eps export, "subd preped" eps export
The script copies the geometry to a new layer, assigns a unique surface to each face, freezes the mesh and combines the polygons based on their surface.
A set of 5 python scripts for importing and exporting Doom3 skeletal mesh and animation files. Right click on the links below to download the python scripts.
Lightwave lscript and executable for loading weightmaps from Collada files so that bones will bind to the proper vertices. daeSkin2weight.exe reads a collada file and creates a text file in the same location. the text file contains the weight map information. daeSkinLoad.ls is an lscript to read the text file generated by the daeSkin2weight program and assigns the vertices to their weight maps. boneweightmap.ls is a layout script that sets the selected bones to use a weightmap with the same name as the bone.
The executable won't work for files that have spaces in their path. so it won't work in paths like "C:\Program Files" or "C:\Documents and Settings\All Users"
source code - uses visual studio 2008 and the colladadom2.2 sdk