# Sunlight hours analysis grid

**URL:** <https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164>\
**Category:** ladybug-legacy\
**Tags:** sunlighthours\
**Created:** [June 24, 2020, 2:29am UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164 "2020-06-24T02:29:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradshales](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/bradshales/32/12928_2.png) [@bradshales](https://discourse.ladybug.tools/u/bradshales)\
**Post date:** [June 24, 2020, 2:29am UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/1 "2020-06-24T02:29:11Z")

</div>

Hi all.  
Just trying to work out how to fix the analysis grid for sunlight hours on trimmed surfaces???  
I get triangulations and too many points etc… I dont know if I have gone down the incorrect path for this test. Your help would be hugely appreciated.  
Cheers  
Brad

This is what is happening

 ![2020-06-24 12_03_34-Window](https://discourse.ladybug.tools/uploads/default/original/3X/5/6/56bc024d03120a1631240b471d527d45b07f0768.png)

Trimmed Surfaces

 ![2020-06-24 12_03_56-Window](https://discourse.ladybug.tools/uploads/default/original/3X/7/f/7f505bd40904061c1aa486a93ebd63b102789d86.png)

What can I input into grid size?

 ![2020-06-24 12_04_44-Window](https://discourse.ladybug.tools/uploads/default/original/3X/3/8/384177737a5646ea7b44882b1821e9f14f7a4460.png)

Or should I be going down this kind of path??

 ![2020-06-24 12_08_45-Window](https://discourse.ladybug.tools/uploads/default/original/3X/e/d/ed0c47df3a720ae02b136cd38445054cf36a89e6.png)

This is the result I would be after…

 ![2020-06-24 12_09_20-Window](https://discourse.ladybug.tools/uploads/default/original/3X/0/d/0dc25cfb42c38b62a7f37b735a947ef59faabf21.png)

---

<div class="post-metadata">

**Author:** ![AntonelloDiNunzio](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/antonellodinunzio/32/14522_2.png) [@AntonelloDiNunzio](https://discourse.ladybug.tools/u/AntonelloDiNunzio)\
**Post date:** [June 24, 2020, 6:12am UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/2 "2020-06-24T06:12:18Z")

</div>

Hi @bradshales,

I suggest you work in meters instead of millimeter, decrease grid size and check this discussion: [Uniform Grid Discussion](https://discourse.ladybug.tools/t/uniform-grid-for-unclosed-surfaces-with-hole/9691)

Best,  
Antonello

---

<div class="post-metadata">

**Author:** ![bradshales](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/bradshales/32/12928_2.png) [@bradshales](https://discourse.ladybug.tools/u/bradshales)\
**Post date:** [June 24, 2020, 10:43pm UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/3 "2020-06-24T22:43:59Z")

</div>

I’ll give it a shot. Thanks.  
I was just trying to get a streamlined workflow with rhino inside.

---

<div class="post-metadata">

**Author:** ![bradshales](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/bradshales/32/12928_2.png) [@bradshales](https://discourse.ladybug.tools/u/bradshales)\
**Post date:** [June 26, 2020, 4:07am UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/4 "2020-06-26T04:07:45Z")

</div>

Still getting some funky grids in meters…  
Mainly around the small trimmed areas.

 ![2020-06-26 14_06_27-Window](https://discourse.ladybug.tools/uploads/default/original/3X/8/7/877fa396e2ac40f6c33387d5717e72f7d675d455.png)

---

<div class="post-metadata">

**Author:** ![mostapha](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/mostapha/32/15244_2.png) [@mostapha](https://discourse.ladybug.tools/u/mostapha)\
**Post date:** [July 1, 2020, 3:44am UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/5 "2020-07-01T03:44:51Z")

</div>

The problems with the concentrated mesh faces will probably be resolved by rebuilding the curves. It probably has several small segments. Also if you use the component that @AntonelloDiNunzio suggested you should not face this issue.

---

<div class="post-metadata">

**Author:** ![bradshales](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/bradshales/32/12928_2.png) [@bradshales](https://discourse.ladybug.tools/u/bradshales)\
**Post date:** [July 16, 2020, 11:46pm UTC](https://discourse.ladybug.tools/t/sunlight-hours-analysis-grid/10164/6 "2020-07-16T23:46:00Z")

</div>

Sorry about the delay, but this was shelved for a few weeks.  
Just wanted to thank you all for your help.  
Thanks @antonellodinunzio @mostapha  
Cheers

 ![image](https://discourse.ladybug.tools/uploads/default/original/3X/e/f/ef4c038a02566da9326e06c00042dfa01c8db84d.png)  
 ![image](https://discourse.ladybug.tools/uploads/default/original/3X/3/c/3c81f03adfb9fd9c872f224c9235ed5a5dbd96a4.png)
