Category Archive for 'Python'
Python tips, techniques and code snippets.
You would like to submit an article to XSIBlog, whatever the category? Don't hesitate, it might even get you full authorship status to XSIBlog if you do so.
![]() |
Home | ![]() |
![]() |
Python tips, techniques and code snippets.
You would like to submit an article to XSIBlog, whatever the category? Don't hesitate, it might even get you full authorship status to XSIBlog if you do so.
This article discusses some aspects of object model programming and also serves as a tutorial to design your own code to look and behave like the XSI Object Model. I will talk about Python, classic classes, operator overloading, and code design. I will re-implement at a part of the XSI Object Model in Python.
A few algorithms to distribute points on the surface of a sphere.
New to python? Whatch out for that little integer division gotcha.
Recently I ran into a severe problem. Whenever I would try to import modules in the Python command line shell, I”d get syntax error pointing to the first line. In fact, trying to import the module in XSI from a custom command gave a syntax error at line… zero! What the?
As far as I”m concerned, once of the last few really ugly pimples on the face of Softimage XSI is the GUID. A key component of SPDL files in XSI, the Globally Unique Identifier helps identify shaders and their parameters. Here is how you can create GUID from within XSI.