Hi Ryan and all in the VI-Suite discussion group.
Since this is my first post, first I'd like to thank Ryan for the excellent work putting together this tool!
And also for spending time doing the excellent video tutorials!
Thank you!
I've started using VI-Suite about a couple of months ago and found it easy to learn - I'm both a Radiance and Energyplus user, and have written Blender scripts for conversion from - to Radiance in the past.
I'm now in the process of testing the more advanced features and have stumbled in a problem that I haven't managed to solve.
When I try the CBDM calculation, it stops with the following error messages:
-----------
TypeError: object of type 'numpy.float32' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
calcout = li_calc(self, simnode, livisimacc(simnode))
udiout = o.udidacalcapply(scene, frames, rccmds, simnode, curres, pfile)
self['livires']['dhilluave{}'.format(frame)] = average(totfinalillu, axis = 0).flatten().reshape(dno, hno).transpose()
if type(a) is not mu.ndarray:
SystemError: <class 'type'> returned a result with an error set
location: <unknown location>:-1
location: <unknown location>:-1
-----------
I've tried debugging this but cannot find the root of the problem. Hope someone can help.
On a different note, I'm still trying to understand what is the best way to do scripting development in Blender.
I develop on a macbook, so I usually start Blender from the terminal, have the code in an editor and refresh the script in the Blender 3D window (F8).
I'm wondering if there is a better way...
Thank you,
Francesco