Grasshopper

generative modeling for Rhino

Information

Ladybug

Ladybug is a free and open source environmental plugin for Grasshopper to help designers create an environmentally-conscious architectural design. Ladybug allows you to: import and analyze standard weather data in Grasshopper; draw diagrams like Sun-path, wind-rose, radiation-rose, etc; customize the diagrams in several ways; run radiation analysis, shadow studies, and view analysis for your design inside Grasshopper!

Ladybug only works on Rhino 5.0. Unfortunately, there is no version for Rhino 4. You can download an evaluation version of Rhino 5 for free. You also need to have GHPython 5.0. 1.0 and Grasshopper 0.9.0014 or higher installed on your system.

Download the unlocked version

Download the password-protected version

Download the sample file from here

Fork the source code from here

Ladybug started by Mostapha Sadeghipour Roudsari is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at https://github.com/mostaphaRoudsari/ladybug.

Website: https://www.facebook.com/LadyBugforGrasshopper
Members: 199
Latest Activity: 12 hours ago

Read More...

What is Ladybug?

Ladybug is a free and open source environmental plugin for Grasshopper to help designers create an environmentally-conscious architectural design.  The initial step in the design process should be the weather data analysis; a thorough understanding of the weather data will, more likely, lead designers to high-performance design decisions.

Ladybug imports standard EnergyPlus Weather files (.EPW) in Grasshopper and provides a variety of 2D and 3D designer-friendly interactive graphics to support the decision-making process during the initial stages of design. The tool also provides further support for designers to test their initial design options for implications from radiation and sunlight-hours analyses results. Integration with Grasshopper allows for an almost instantaneous feedback on design modifications, and as it runs within the design environment, the information and analysis is interactive.

So much information but… What does it do, put simply?

Ladybug allows you to: import and analyze standard weather data in Grasshopper; draw diagrams like Sun-path, wind-rose, radiation-rose, etc; customize the diagrams in several ways; run radiation analysis, shadow studies, and view analysis for your design inside Grasshopper!

Here is Ladybug in a less than 5-minute video!

 

Ok! I like it. How do I start?

  1. Download Ladybug:
    You can download the components from one of the links below. There are two key points that you should be aware of before you download the ‘bug.
    First, Due to the current limitations of Python in Grasshopper there is no simple way to make GHA files from Python scripts so for now I decided to distribute it as UserObjects. For the majority of the time it doesn’t make a big difference for you, as a user. The only problem that you might face, in case you are not a frequent user of Grasshopper, is to have the Python Editor window open, in case you double click on the component. I made a password-protected version for non-frequent users. However, I suggest that everyone download the unlocked version. The locked version components don’t change color for warnings and errors. You should always have a panel connected to the report output.
    Second, Ladybug only works on Rhino 5.0. Unfortunately, there is no version for Rhino 4. You can download an evaluation version of Rhino 5 for free. You also need to have GHPython 5.0. 1.0 and Grasshopper 0.9.0014 or higher installed on your system.
     
    Download the unlocked version here!
    Download the password-protected version here!  Note: The password is: “whatever” (without quotation marks)

  2. Installation:  There is no installation! After you download the files just drag and drop the files into Grasshopper canvas. You should then see the Ladybug tab in Grasshopper.
    Note: If you have an older version of Ladybug already installed you should first manually delete the old files, else the components will be duplicated. You can find the old file in one of the folders below:
    C:\Users\%username%\AppData\Roaming\Grasshopper\UserObjects
    C:\Documents and Settings\%username%\Application Data\Grasshopper\UserObjects
     

  3. Check the sample file and watch the videos: If you haven’t watched it yet, watch the video on top of this page.  It shows what Ladybug does; more videos are available on my channel. I will, periodically, capture and upload more videos.
    There is a sample file that you can download from here.

Ladybug is great! How can I support it?

  1. Send your feedback: You can comment on the grasshopper group page, create discussions, or email me at thisisladybug [at] gmail [dot] com. Sending comments to the group can get others involved, which is a big plus, but I will always be happy to read your feedbacks via email as well.
  2. Spread the word: Let more people know about Ladybug. Like it on Facebook or follow it on Twitter.
  3. Donate the project:  [I think I will provide a link later! Let’s see if anyone likes it!]

I know Python. Does it make any difference?

Yes! It does. You can be part of Ladybug development and make a big difference! Simply fork Ladybug repository in GitHub (make a copy of the source code for yourself), or use the unlocked components, develop your own components or modify the available components and share it back to the community.

How is Ladybug licensed?

 Creative Commons License
Ladybug started by Mostapha Sadeghipour Roudsari is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at https://github.com/mostaphaRoudsari/ladybug.

It means you can copy, distribute and transmit the work or remix it to adapt the work. You can also use it to make commercial use of the work, BUT you must attribute that the work is based on Ladybug, and if you alter, transform, or build upon Ladybug, you may distribute the resulting work only under the same or similar license. This process will ensure that Ladybug and its future versions will stay free and accessible for everyone.

 
Acknowledgments:

I want to thank my friends at Adrian Smith + Gordon Gill Architecture, who helped me so much during the process with their support and comments. Special thanks to Michelle Pak for proofreading much of the text.

I also want to thank Darren Robinson and Christoph Reinhart for their generosity in sharing the latest version of GenCumulativeSky with Ladybug users.

Last, but definitely not least, I want to thank all the amazing Grasshopper community that produced and shared the amazing body of knowledge at Grasshopper3D.com. I learned so much from you guys! Thanks and have fun with the ‘bug! :)

Best,

Mostapha


Discussion Forum

A couple of (mini) bugs 3 Replies

Hi Mostapha,A couple of things for your attention:1. On the LB Sunpath component when you add a conditional statement it writes "Conditiontional" on screen (I'm not sure if i reported this before,…Continue

Started by Abraham Yezioro. Last reply by Mostapha Sadeghipour 12 hours ago.

Parallel input in Sunlight Hours Analysis component 7 Replies

Hello Mostapha,what is for the input Parallel in Sunlight Hours Analysis component?It need to be set to True if we have more Sunlight Hours Analysis components (one each object to analyse) working at…Continue

Started by Francesco De Luca. Last reply by Mostapha Sadeghipour Jun 8.

Radiation calculation problem 6 Replies

Hello Mostafa,I am using the Radiation analysis component. The result is always 0and I have noticed that the output of the GenCumulativeSky component,the GenCumSkyResult is always 0 in all the items.…Continue

Started by Francesco De Luca. Last reply by Mostapha Sadeghipour Jun 8.

GenCumulativeSky problems 5 Replies

Hello Mostapha,when working with the component Ladybug_GenCumulativeSky I get a null result and the report "epwWeatherFile address is not a valid .epw file" I downloaded the epw file from the Energy…Continue

Started by Francesco De Luca. Last reply by Mostapha Sadeghipour Jun 6.

Ladybug Tweets

Loading… Loading feed

Comment Wall

Comment

You need to be a member of Ladybug to add comments!

Comment by Mostapha Sadeghipour on May 14, 2013 at 7:04pm

Hi Darren, Your version is fine! The one on my system has few extra components that I'm developing for the next release :) -Mostapha

Comment by Darren Chang on May 14, 2013 at 7:28am

Hi Mostapha, your video tutorials (which are awesome and easy to follow, btw) show 6 tabs under the Ladybug toolbar, but the installation file I downloaded only gave me 5 tabs, and some tools are missing from 4_Extra. Do you know where I can download the "full" version, or is it still under development?

Comment by Mostapha Sadeghipour on April 30, 2013 at 9:45pm

Hi Shinyapple,

Sunlight-hours analysis only counts the number of sun hours. It doesn't consider the sky condition. You may want to use the radiation analysis component if you want the sky condition to be considered in calculation. It uses genCumulativeSky which is a representation of the sky condition based on the weather file.

Abraham briefly mentions the differences in this discussion. I had some other questions in regard to the differences between sunlight-hours and radiation and I will write a post or capture video to talk more about it, as soon as I get a chance.

Best,

-Mostapha

Comment by shinyapple on April 29, 2013 at 7:41pm

Hi Mostapha, I have a question about the sunlight-hours analysis. When showing the number of hours sunlight in one day, how is that calculated? Does it take into account the 'brightness' of the sun, as with a Campbell-Stokes recorder? Or does the early morning sun have the same value as noon sun? Hope that makes sense -thanks!

Comment by Mostapha Sadeghipour on April 28, 2013 at 7:54pm

Hi Arian, As Martin mentioned you can use analysis components (radiation or sunlight hours) to study self-shading. Just connect the test geometry to "geometry" input and leave the "context" input empty... Mostapha

Comment by Martin Dembski on April 26, 2013 at 10:21am

Hi Arian,

have a look on the SunLight Hours Analysis Component in the 3_Environment category.

You'll also find an example in the Ladybug_Ver_0.0.35_Preview on the facebook page.

Best,

Martin.

Comment by Arian Hakimi Nejad on April 26, 2013 at 6:05am

Hi, Thanks alot for sharing & the great work . its a great plugin & I have been using it  alot, however I was wondering if it could calculate self shadow of an object.  I have a 10 story building of which I some of them have cantilevers & I want measure the amount of shadow on the surface of the building not on the c.plane. thanks alot  

Comment by Ayman Al-Hafeth on April 15, 2013 at 4:08am

Thank you for your reply. Well, actually I haven't missed this  GHPython 5.0. 1.0, was the first thing to do, but I reinstalled it again along with the Grasshopper, and now it's working well.... my appreciation and thank you for your help. 

Comment by Abraham Yezioro on April 15, 2013 at 2:03am
I believe you missed installing GPython. See above, point 1.
Comment by Ayman Al-Hafeth on April 15, 2013 at 1:37am

Hi every one, I have some serious problem related to ladybug. Its my first time to install it and It seems there is a problem with the operation. This is the message that I get every time I open one component of ladybug "The user object could not be created as the base type is missing" ... I am attaching an image of the message below. Please, I have windows 8 and there is nothing wrong with my Rhino 5?

Maybe I missed something when I installed the add-on ? 

Regards 

Ayman

 

Members (199)

 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service