Grasshopper

algorithmic modeling for Rhino

Hi Everyone.

I am trying to extrude some mesh faces based on vertex colours but I have run into my first hurdle. VB is telling me that after adding new vertices to the mesh I am making it invalid. Would someone mind having a quick look at the script (its quite simple) and letting me know if I have made a glaring mistake?

How do you normally go about modifying mesh topologies in VB/C/Python

Thanks.

Views: 1343

Attachments:

Replies to This Discussion

Hi Gwyll,

 

I ran into a fair number of problems on my own. Clearly this needs looking into to make it easier to modify meshes. I came up with something that works though, see attached.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

Thanks david, that makes sense. I managed to get my script working by constructing an 'invalid mesh' in one loop, and then removing the invalid faces afterwards using a second loop. I couldn't get it to run concurrently.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service