L3DT users' wiki
Large 3D terrain generator

 

cdPython

See http://code.google.com/p/l3dtpython/ for more information.

Plugin information

Author Carl Douglas
Description Write scripts in Python and access the zeolite API from Python
Menu option 'Extensions→cdPython'
Download link http://l3dtpython.googlecode.com/files/cdPython-0.10.zip
Source code http://code.google.com/p/l3dtpython/source
Dependencies Python

What does it do?

Provides a zeolite python module, and runs python scripts.

Using cdPython

Import the zeolite module in your Python code, e.g.

import zeolite

Create zeolite objects through the zeolite module, e.g.

str = zeolite.CzStr()
str.Create(None)
str.EditUI('Enter a filename')

To access the core ExtAPI object, you can reference it through the cvar attribute in the zeolite module:

hf = zeolite.cvar.theAPI.project_GetMap('HF')

See more examples »

Changes

2007/03/05 02:25 — Released.

 
plugins/general/cdpython.txt · Last modified: 2017/08/31 07:04 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki