Grasshopper

generative modeling for Rhino

Sublist Tutorial Problem

Hi guys , i have been trying to make the tutorial sublist tutorial which can be found at this adress. http://digitaltoolbox.info/grasshopper-intermediate/sublist/ But i have encountered some major problems like summation is not exists in grasshopper's latest version. And i have replaced those functions with their equal buttons at the new version.

I'm making everything identical to the things which are at the tutorial just by replacing some functions which gives the same things. (ı checked out them manually by looking the parameters by panels) Now i have a problem. I can't establish a perpendicular line to a surface. it seems that the amplification is related with the angle of the normal vector in my case. Can you check out this by spending a few minutes. I think it should be very easy but i can't find my mistake. I have written all the info's which causes the problem at the grasshopper definition.

Hope some can help me in these hard days. I don't wanna solve this problem manually by moving the surface at the x-z plane because it would be a swear to grasshopper. I wanna learn why does not it just creates normal lines to the surface.

Deniz

Views: 339

Attachments:

Replies to This Discussion

For the lines normal to the surface you need to add the Normal vector to the Evaluation Point (after setting the amplitude) because the Normal vector is only a relative value. Just because you calculated a vector based on a particular point in space (or point on surface) does not mean the the vector is intrinsically linked to that point. This is why the Vector Display component has to ask you for an Anchor input as well.

(If you treat it like a point in space on it's own, it will always be relative to (0,0,0).)

Where the tutorial used the old Vector Sum component to do this, the new version of Grasshopper has replaced with the simple Addition component (+, in the Math tab, Operators Group) which can now accept vectors/points as inputs.

• View All