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 Rhinoscript, sample data, and sample geometry.
1. Start with your nurbs surface. If it is a polysurface, explode them first, meshing them as polysurface will create triangulated mesh along the seams and you want to prevent that.
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.
3. Once again, make sure there aren’t any triangulated mesh, then save it out as .3ds
4. Import into ecotect and run your favorite analysis. One important note, if your surface is meant to be your exterior envelop, make sure the face normal is facing outward. You can check that by going to Display>Surface Normals or Ctrl+F9. In case they’re facing inward, invert them by first selecting all the faces, Modify>Reverse Normals or Ctrl-R.
5. Click on the Object Attribute Values > Properties to access the data
6. Export the data to your favorite location. Make sure you type in .txt at the end of the file name so you won’t be looking for it afterward.
7. This is what the data file looks like, and we’ll need to do a little editing.
8. Open Excel and open the data file you just saved, and import with these settings.
9. Once it’s in Excel, we’ll need to get rid of the headers.
10. Click and drag your mouse on the Row numbers on the left, right click and select Delete.
11. Your data should begin at Row 1 as shown. Save the data as .xls file.
12. Now go back to rhino, make sure your geometry is still on your screen and run the script. The script will ask for 2 things, your mesh and the location of your data. The script will place an annotation dot on each face showing the data from the ecotect analysis. Of course this is for display only, but with a little knowledge in scripting, you can use the data to drive different aspects of your geometry, possibility is endless!
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.
This work is licensed under a .