Grasshopper

algorithmic modeling for Rhino

I am trying to apply the definition to a curved surface and it orientates the parts to the center/inside of the curved surface. How can I reverse that? I need them on the "outside".
The definition is based on 4 important VB-script nodes.

http://thomasdiewald.com/blog/?p=407

Views: 416

Attachments:

Replies to This Discussion

You could just flip the surface before you pass it into the VB component - or you can add a line after line 133 in the first script:

from: 
pNorm(i, j, k) = srf.NormalAt(p_UV(k, 0), p_UV(k, 1))

to:

pNorm(i, j, k) = srf.NormalAt(p_UV(k, 0), p_UV(k, 1))
pNorm(i, j, k).Reverse()

Tank you so much!  Kind regards!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service