GS - Shade [1] is a 3D modeling and rendering software that is being developed for 20 years in Japan. Even if it is not very well known outside of its country, it gathers around 200000 users. Shade embeds Tcl scripting language since 1999 and it gives access to its API.

Here is a simple example that creates an UI to enter data and to render colored a sphere.