To create a script, select Create from the Scripts tab. Provide a name for the script and the author.
If Python 3.6 is installed locally on the machine, then KeyShot will detect Python and all of the installed modules, such as NumPy, SciPy, PIL, etc., that can then be freely used for scripting in KeyShot (this can be disabled in the General preferences section). You may also import a script or edit an existing script using the corresponding buttons on the Scripts tab.
Vector and matrix classes are made available in the luxmath module to help with doing calculations. They are named luxmath.Vector and luxmath.Matrix respectively.