ecotect mesh data 2 rhino 2


This tutorial runs you through the process of exporting your rhino geometry into ecotect and then bring the analysis data back into rhino. For this tutorial, you’ll need this following Rhinoscript.

IMPORTANT NOTE : This script only works with ordered mesh faces. See the following 3 examples and download this script to see the ordering of your mesh face.


example 1: The mesh faces are ordered here. The numbers runs sequentially from 0 to n with interuption. This is what we want in this tutorial.


example 2: This is a joined mesh. The script will not work with this type of ordering although the faces are ordered within each mesh. You’ll still get results it won’t be accurate.


example 3: This is another type of joined mesh, the face ordering are even more localized. Once again, this type of meshes will not work with this script, it’ll be for another tutorial.


1. Ok, let’s start the tutorial. Start with your nurbs surface. Once again, if it is a polysurface, make sure to explode them first.


2. Create a quad mesh with these settings. You can adjust the Min Edge Lengh and Maximum Edge Length as you see fit. Again, if you have multiple surfaces, create the mesh as seperate surfaces first, then join them as mesh. Export as .3ds.


3. Run your favorite ecotect analysis. Export the analysis data as .txt file. Import into Excel and delete the top 6 lines of headers. Read here for detailed instruction.


4. Run the script provided above. It’ll ask you for a mesh and an excel file containing the data. Once the script is finished, you can see the color of the mesh has changed. The script basically uses the mesh’s RGB value to store external data.


5. To recall those RGB values and populate them with different types of mesh componenets, please refer to the other tutorial here.

Technical Notes:Since ecotect triangulates all mesh input and doubling the number is mesh faces, this script simply skips every other number in the data file to match the quad face in rhino, therefore 50% of the data from ecotect is omitted. If a higher accuracy is required, the script can be easily modified to average out the numbers for the 2 triangulated surface for the quad. In addition, ecotect stores it’s analysis data in the mesh’s face color. But since rhinoscript does not have a MeshFaceColor function, MeshVertexColor is used instead. This is what causes the discrepency and the reason why more complex mesh objects doesn’t work with this script.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

4 Responses to “ecotect mesh data 2 rhino 2”

  1. Tushar says:

    thanks a lot for sharing this script. I have one doubt regarding ecotect simulation. after exporting the mesh in ecotect to perform peak radiation analysis do we need to do surface subdivision. Can you just explain me the entire process in the ecotect to calculate peak radiation. If possible reply on my E-MAIL iD


  2. I’m not sure where you’re getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thanks for excellent information I was looking for this information for my mission.

  3. joe says:

    has anyone tried to do similar with geco? very interesting..