Grasshopper

algorithmic modeling for Rhino

Hi guys, I'm a product design student in Milan and for my last project I have to model a hexagonal net. I downloaded this already made file (https://digitalsubstance.wordpress.com/subcode/     download link: http://www.box.net/shared/q0rabzpg7a ) and I applied it on a random surface and it worked (see attached image). When I applied it to my 3d model unfortunately it didn't work but I can't figure out why. Can somebody help me? Tank you in advance!

I attach the 3d model.

Views: 199

Attachments:

Replies to This Discussion

Hello

the error is due to an index out of range. The divide surface component just give points on your surface but the vb script needs a full array (nb points = row * column*4). In order to give the VB script a complete array (not trimmed) you could do this.

Keep one copy of your surface

UntrimAll  the surface (it will become rectangular from above). Apply the script to this surface. 

With your trimmed (cut) surface, project it to Cplane, extrude it and cut your pipes with this extrusion.

Hope it helps

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service