Python module [was: Use Python to execute Radiance command]

Late last year we had a discussion about a joint effort to produce something
like that. It didn't go very far, though. You can find posts in a Google
group dedicated to it here:

http://groups.google.com/group/python-radiance?lnk=srg

The consens was to focus on a light wrapper around the Radiance binaires and
not go into writing a proper C extension module. Python is mostly used as a
glue and control language and so full integration of Radiance is hardly
necessary.

I'm sure there are already a few implementations of a Radiance module
around, each written for a particular purpose. It would be nice if the
individual authors could contribute their parts and we could start
assembling a "reference" module.

Regards,
Thomas

···

On Thu, Jun 23, 2011 at 1:37 PM, Aksel Gross <[email protected]> wrote:

Some time ago i had a strong wish of having a Python wrapper for
Radiance, but i could not find any, and i found the project to
overwhelming to just start myself. Besides that i use Python
merely for everyday scripting with 3d, so skillfully designing
modules is a different cup of tea. Is there any fragment of a
project like that around that i might have missed?

Hi,

Great idea! I like it!

I'm sure there are already a few implementations of a Radiance module
around, each written for a particular purpose. It would be nice if the
individual authors could contribute their parts and we could start
assembling a "reference" module.

I found this Python package of Andreas Gerber:
http://www.hochschule-biberach.de/sections/forschung/ige/radview
It has a rpm package for Linux.

For Windows you will need these:
Unofficial Windows Binaries for Python Extension Packages
http://www.lfd.uci.edu/~gohlke/pythonlibs/

And for Windows it has a few issues and some Python calls need to be
updated/modified.

Best Regards,

Guy

Speaking of scene viewers, we are very close to wrapping up a Radiance cross platform build environment on cmake that includes a scene viewer built with Qt, that works on all platforms, including Windows. We are building up an initial unit test suite for the core applications and hope to have something to show Greg soon. Ideally it would be integrated with the Radiance source tree, but it can stand alone as well, doing nightly HEAD pulls from the Radiance CVS server.

This is coming RSN (real soon now), I hope.

- Rob

···

On Jun 23, 2011, at 5:05 PM, Thomas Bleicher wrote:

On Thu, Jun 23, 2011 at 3:30 PM, Guy Vaessen <[email protected]> wrote:

I found this Python package of Andreas Gerber:
http://www.hochschule-biberach.de/sections/forschung/ige/radview
It has a rpm package for Linux.

Nice idea. Started one of those (scene viewer) with wxPython instead of Qt.

However, the Python module should provide more basic access to Radiance files and programs. For example it could provide a scene file parser which could be used in a viewer.

Regards,
Thomas
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general