Scripting language for generating 3d objects