ladybug-tools / honeybee-dynamo

:honeybee: :blue_book: Honeybee library and plugin for Dynamo
GNU General Public License v3.0
17 stars 8 forks source link

Several surfaces result in "index out of range" #50

Closed MadsPJ closed 7 years ago

MadsPJ commented 7 years ago

Hello,

I have used faces as an input for honeybee surfaces. Whenever I just have one surface as an input everything works, but if I input a list of surfaces I get an "index out of range" error.

The input for the Honeybee surface should be "A single surface or a list of surfaces" so I do not understand what I am doing wrong.

If i remove the flatten node then i get an error saying: "Failed to extract points! 'List [object]' object has no attribute"

index out of range

mostaphaRoudsari commented 7 years ago

@MadsPJ I can't recreate this error. Can you share a simple example file? Thanks.

MadsPJ commented 7 years ago

Hello mostaphaRoudsari,

Will this be enough to see whats wrong?

DF error.zip

Is the selection of faces a bad method for defining which surfaces to import?

mostaphaRoudsari commented 7 years ago

@MadsPJ thanks for sharing the file. I will check soon and get back to you! Selection faces should be as good as any other methods.

mostaphaRoudsari commented 7 years ago

@MadsPJ Thank you for the file. I can recreate the error. I'll report back shortly.

mostaphaRoudsari commented 7 years ago

@MadsPJ the error was happening because of a single name and multiple surfaces. I was catching the wrong exception in the code. A temporary solution is to disconnect the name input. I will push a fix soon.

mostaphaRoudsari commented 7 years ago

This is fixed in the new release version 1.1

MadsPJ commented 7 years ago

Super. Thank you very much.

samykbs commented 7 years ago

Hi everyone:

Thanks for all the hardwork you have been doing for honeybee and lady bug for the last update realese in dynamo.

Ive been learning more about the radiance subject, im not sure is this is a bug or im doing something wrong, ive been trying to figure it out, but no luck.

HBZones never seems to work when i plug to HBobjets to run the analysis, what im doing is convert the geometry to Honeybee-surfaces but for some reason it is only working with a few surface, and this is happening with every sample file i'm running for the radiance analysis.

After this if I checked "true" to run the analysis i get an error related to line 41 in the script, anyway ill keep practicing and reading about this.

Hope this feedback is helpful for the community and if anyone knows what the issue is ill apreciate some help.

Thanks

analysis flatten list analysis analysis geometry analysis error

mostaphaRoudsari commented 7 years ago

Hi @samykbs, Thank you for the feedback. I'm not clear about the issue. Can you open a new issue and share the example files so I can recreate the problem?