# Dragonfly legacy envimet terrain

**URL:** <https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678>\
**Category:** dragonfly-legacy\
**Tags:** envimet\
**Created:** [December 12, 2018, 9:58am UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678 "2018-12-12T09:58:51Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [December 12, 2018, 9:58am UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/1 "2018-12-12T09:58:51Z")

</div>

Hi,

I started a new topic on request of Antonello about terrain function.

I have problems I would like to bypass. I was working on a scene just before the winter release.

What I have done so far::

- with lb\_envimet-master components on ladybug 0.65 in rhino 5 buildings were shifted in envimet summer release, creating strange behaviour with surrounding green
- with lb\_evimet-master components on ladybug 0.65 as well as 0.67 on rhino 6 envimet summer release created floating points errors in Envimet. No luck on solving these so far.
- Dragonfly legacy components, rhino 6 and envimet winter release seems to work fine on the scene, but has no terrain function.

The last release solved inconsistenties I encountered with prior releases, so that is great. But I need to incorporate sloping terrain somehow. Lb\_envimet-master had terrain function and a building cutter component.

Just for testing I tried to incorporate the terrain in Dragonlfy by moving part of the soil definitions and buildings up in Z direction. Building positions were adjusted, soil was not: all green and asphalt roads were projected on an imaginary flat plain.

Is there a way to bypass the terrain limitation in the last Dragonlfy release?

Best, Rob

---

<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:** [December 12, 2018, 10:02pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/2 "2018-12-12T22:02:20Z")

</div>

Hi Rob,

> [@rob\_van\_houten](#):
>
> with lb\_evimet-master components on ladybug 0.65 as well as 0.67 on rhino 6 envimet summer release created floating points errors in Envimet. No luck on solving these so far.

We can start with this first point rapidly, just attaching the model you are try to build in envimet world. Is the error when you open the model or when you run the simulation? You can share the gh model? If not you can send me in private and then we come back to community with necessary info to manage an error like this.

Regards,  
Antonello

---

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [December 13, 2018, 1:41pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/3 "2018-12-13T13:41:21Z")

</div>

The error appeared when running the simulation. I have stripped to model of objects type by type, but it kept appearing. I’ll havo to see what I can send.To your gmail account that was displayed at the webinar?

Besides that: any suggestions on including terrain in the latest Dragonfly release?

Regards,  
Rob

---

<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:** [December 13, 2018, 10:01pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/4 "2018-12-13T22:01:00Z")

</div>

Hi @rob_van_houten,

Yes, you can send the file to my gmail.

About Dragonfly, there is some code to add for terrain. I start this weekend.

Regards,  
Antonello

---

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [December 17, 2018, 5:15pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/5 "2018-12-17T17:15:42Z")

</div>

Hi,

Thank you for your swift response in tryng to tackle the problem and updating the new tool.

For the Floating point error: I am not working on the files alone, I’ll get back to you on that asap.

Best regards,

Rob

---

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [December 18, 2018, 3:01pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/6 "2018-12-18T15:01:38Z")

</div>

Hi,

I noticed another function is currently not present, which I was using in the prior tools. In prior tools you could modify the zero point of the grid. Now the grid is related to the buildings as an offset. You can extend the grid to match the area you want to investigate, but if the envimet grid matches the design grid - for example buildings and streets with an multiple of 2m and an envimet grid of 2m - the building dimensions do not match to the actual building dimensions. In prior tools I ofset the grid half a grid dimension (1m) in x and y to avoid this.

Best, Rob

---

<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:** [January 3, 2019, 3:17pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/7 "2019-01-03T15:17:01Z")

</div>

Hi @rob_van_houten,

> [@rob\_van\_houten](#):
>
> I noticed another function is currently not present, which I was using in the prior tools. In prior tools you could modify the zero point of the grid. Now the grid is related to the buildings as an offset…

sorry for my late reply, Xmas vacation.

I have just added a “baseSurface” input to “DF Envimet Grid” which let you generate the grid based on surface instead of buildings. You can manage the points of grid moving the surface.

Regards,  
Antonello

---

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [January 7, 2019, 8:28am UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/8 "2019-01-07T08:28:14Z")

</div>

Hi,

That is great! Where can I find this the new grid component?

Best, Rob

---

<div class="post-metadata">

**Author:** ![rob\_van\_houten](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/r/eb8c5e/32.png) [@rob\_van\_houten](https://discourse.ladybug.tools/u/rob_van_houten)\
**Post date:** [January 7, 2019, 8:37am UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/9 "2019-01-07T08:37:41Z")

</div>

…and a happy new year to you!

I didn’t send you the files with the floating point error of envimet, as they have been overwritten in the various debugging attempts. It also has become unnessary as the last plugin solves most problems, and landscape function is in the works.

Best, Rob

---

<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:** [January 7, 2019, 6:52pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/10 "2019-01-07T18:52:05Z")

</div>

Hi @rob_van_houten,

It is not merged in the main repository yet. If you want to test it you can download it from here: [unofficial dragonfly](https://github.com/AntonelloDN/Dragonfly)

Regards,  
Antonello

---

<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:** [February 7, 2019, 8:31pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/11 "2019-02-07T20:31:33Z")

</div>

Hi @rob_van_houten,

envimet terrain component should works fine now. You need to download ENVI\_MET 4.4.1 from envimet official page.  
If you want to test it you can download early-adopter version of envimet components: [beta version](https://github.com/AntonelloDN/df_envimet)

Regards,  
Antonello

---

<div class="post-metadata">

**Author:** ![Sara](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/s/a5b964/32.png) [@Sara](https://discourse.ladybug.tools/u/Sara)\
**Post date:** [January 2, 2020, 6:31pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/12 "2020-01-02T18:31:00Z")

</div>

Hi, I just came across this topic - although it is 1 year old, I have a similar problem with the terrain (maybe not a problem, but a limitation of the software?):  
I am trying to draw asfalt road on top of a slopy terrain. In Spaces, the terrain is well represented, but the road appears projected into the base flat surface. Does Dragonfly/Envimet allow this, or am I doing something wrong?  
Please let me know if I can share the model and gh definition in private way, since it is a confidential project.  
Thank you very much!

---

<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:** [January 9, 2020, 8:53pm UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/13 "2020-01-09T20:53:27Z")

</div>

Hi @Sara,

road is part of 2d soil matrix of envimet. This is normal behavior of envimet software.  
Despite of visualization is not really clear, I think envimet take in count of soils during calculation with DEM.

Regards,  
Antonello

---

<div class="post-metadata">

**Author:** ![hiwa](https://discourse.ladybug.tools/letter_avatar_proxy/v4/letter/h/bbe5ce/32.png) [@hiwa](https://discourse.ladybug.tools/u/hiwa)\
**Post date:** [November 20, 2021, 6:18am UTC](https://discourse.ladybug.tools/t/dragonfly-legacy-envimet-terrain/4678/14 "2021-11-20T06:18:27Z")

</div>

hi  
how can i create single wall in DF envimet ?  
i need to have a vertical wall  
please help about this problem
