[Radiance-general] Python script

Thomas Bleicher tbleicher at googlemail.com
Mon Jul 16 04:01:34 PDT 2012


Hi Ryan.

Interesting that Blender is coming back to Radiance. I am following the
Python API development but I'm still not sure it has all the bells and
whistles to make it worth the effort.

Regarding your Popen problem: Do you have problems with other Perl scripts
as well or is it only genskyvec.pl?

I do remember that I had some issues with command lines and Popen on
Windows when I was writing falsecolor2. It's mostly the correct quoting of
the arguments. I don't recall doing anything specific that solved my
problem, though.

Can you test your code outside of Blender in plain Python or do you have
too many dependencies on the Blender modules?

Regards,
Thomas

On Mon, Jul 16, 2012 at 12:14 PM, Ryan Southall
<R.Southall at brighton.ac.uk>wrote:

> Hi all.
> I am about to release version 0.2 of a set of python scripts that
> pre/post-process Radiance scenes from a 3D modelling package called
> Blender. I have implemented Dynamic Daylight Simulations in version 0.2,
> which is fine on Linux/Mac but it's causing me a problem on windows
> machines. When python, using Popen, sends out the command piping gendaylit
> to genskyvec.pl I get a bad sky description error, although if I type the
> same command into the Windows command prompt it works as expected. Has
> anyone here got any experience of running this combination on windows with
> Python. I'm using strawberry Perl to run the genskyvec.pl file, which was
> part of NREL's latest binary release.
> Thanks in advance
>
> Ryan
>
> --
> Dr Ryan Southall
> Senior Research Fellow
> School of Architecture & Design
> University of Brighton
>
> ______________________________**_____________________________
> This email has been scanned by MessageLabs' Email Security
> System on behalf of the University of Brighton.
> For more information see http://www.brighton.ac.uk/is/**spam/<http://www.brighton.ac.uk/is/spam/>
> ______________________________**_____________________________
>
> ______________________________**_________________
> Radiance-general mailing list
> Radiance-general at radiance-**online.org<Radiance-general at radiance-online.org>
> http://www.radiance-online.**org/mailman/listinfo/radiance-**general<http://www.radiance-online.org/mailman/listinfo/radiance-general>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20120716/d03a7056/attachment.html>


More information about the Radiance-general mailing list