Scripting syntax overview

Scripting syntax is very similar to the povray langage. A script file consists of a set of descriptors. General syntax for a descriptor is:


script_name { script_params [ positioning ] }

script_name : cone, prefab, corridor etc.

script_params : these parameters closely depend on the related script. Basically, you give keys and values. Some keys are optional, like the number of sides for the cone (default is 6). The scripting language allows alternate descriptions. For example, you can define the cone by height and radius, or give base point and top point.

positioning : you can add any number of translations and rotations
translate vector
rotate origin_vector rotation_vector

vector syntax is very simple, similar to povray : <x,y,z>