# Contour mesh adjustments

**URL:** <https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547>\
**Category:** ladybug-legacy\
**Created:** [August 20, 2018, 11:32pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547 "2018-08-20T23:32:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CharlesCollin](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/charlescollin/32/8149_2.png) [@CharlesCollin](https://discourse.ladybug.tools/u/CharlesCollin)\
**Post date:** [August 20, 2018, 11:32pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/1 "2018-08-20T23:32:17Z")

</div>

Hi guys,

Looking for a way to adjust precisly the contour bounds. For instance I want 3 different zones:

1 - from 0 to 1  
2 - from 1 to 3  
3 - from 3 to all above

 ![Capture](https://discourse.ladybug.tools/uploads/default/original/2X/0/04d8edfdd3e6cd3f23452c3d4369aacb44529755.JPG)

Ideas ?!

[contour\_mesh.gh](https://discourse.ladybug.tools/uploads/default/original/2X/6/626a0621f82876dece38b55857b678322f05df8c.gh) (128.0 KB)

Best.  
Charles C.

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [August 21, 2018, 3:51am UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/2 "2018-08-21T03:51:09Z")

</div>

Try setting the LB\_legendPar highBound\_to 6 and the numSegments\_ to 3.  
-A.

---

<div class="post-metadata">

**Author:** ![CharlesCollin](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/charlescollin/32/8149_2.png) [@CharlesCollin](https://discourse.ladybug.tools/u/CharlesCollin)\
**Post date:** [August 21, 2018, 1:39pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/3 "2018-08-21T13:39:26Z")

</div>

hi Abraham, thanks for answering

 ![1](https://discourse.ladybug.tools/uploads/default/original/2X/a/a830c1e56012a5a12d763badb1bd6b001c37e2cd.JPG)  
I already tried to play with legendpar without succes. And I’m trying to have more control on intervals, for example something like : 0 to 1.5, 1.5 to 3.2, 3.2 to 5.1

Charles C.

---

<div class="post-metadata">

**Author:** ![AbrahamYezioro](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/abrahamyezioro/32/3_2.png) [@AbrahamYezioro](https://discourse.ladybug.tools/u/AbrahamYezioro)\
**Post date:** [August 21, 2018, 1:54pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/4 "2018-08-21T13:54:32Z")

</div>

I missed the first step, so my comment is not relevant.  
There was a discussion a while ago that you can check [here](https://discourse.ladybug.tools/t/legendpar-unequal-intervals/2938/3). @mostapha’s courtesy.  
-A.

---

<div class="post-metadata">

**Author:** ![CharlesCollin](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/charlescollin/32/8149_2.png) [@CharlesCollin](https://discourse.ladybug.tools/u/CharlesCollin)\
**Post date:** [August 21, 2018, 5:43pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/5 "2018-08-21T17:43:14Z")

</div>

Thank you for pointing this out Abraham.  
it worked.

 ![image](https://discourse.ladybug.tools/uploads/default/original/2X/5/5141cbf64d37e10f20d00cab2f6a145f0db9142a.png)

Although, it would be great to implement that to the contour mesh component somehow ! 🙂

Best,  
Charles C.

---

<div class="post-metadata">

**Author:** ![CharlesCollin](https://discourse.ladybug.tools/user_avatar/discourse.ladybug.tools/charlescollin/32/8149_2.png) [@CharlesCollin](https://discourse.ladybug.tools/u/CharlesCollin)\
**Post date:** [August 28, 2018, 5:18pm UTC](https://discourse.ladybug.tools/t/contour-mesh-adjustments/3547/6 "2018-08-28T17:18:15Z")

</div>

HI there !  
I ended up with another issue.  
The contourmesh component doesn’t return the countour mesh output… So I don’t have that smooth contour…

 ![CaptureDAA](https://discourse.ladybug.tools/uploads/default/original/2X/b/bba7b7692a934a3d56b16f0d9b1fd327238f5d61.jpeg)

Instead of something like this

 ![image](https://discourse.ladybug.tools/uploads/default/original/2X/9/9e9dddf47154044b33fc4dd72a8807a4e9ddb655.jpeg)

[contour\_mesh\_V2.gh](https://discourse.ladybug.tools/uploads/default/original/2X/1/18e2286088bc91ea4bc503e520fa232ed0de813d.gh) (169.1 KB)

P.S. most of the time, it also return me an «invalid mesh» in the underlayMesh output… so I can’t even blur the mesh.

ideas ?!?

-CC
