Computational Design Live Stream #05

preview_player
Показать описание
Let's continue with the GH# work we started last week, and keep breaking down some more "vanilla" Grasshopper components into their source C# code! This week, we will take a closer look at geometry entities, manipulation, and probably data structures. Follow:
Рекомендации по теме
Комментарии
Автор

Hi garciadelcastillo!, I couldn't get the periodic knot style options to work (roughly @ 41:10) not even using conditional statements; it seems to me that the method in rhinocommon is not working properly, would you mind testing in your component if the periodic option works at all? Maybe I'm missed something while following the video..

JaimeSan
Автор

Just in case someone else was interested in the problem at the mimicked (?) component, I was doing some digging around and found this piece on the Rhino forum, where someone asked about the exact return values of the derivatives output, and the answer was the following (though I could not make anything out of it):

*"...The derivatives vector for first and second derivatives contains 5 vectors:


du, dv, du2, dudv, dv2 in that order.

I would hazard a guess that the third derivatives are ordered du3, du2dv, dudv2, dv3 and the fourth derivatives du4, du3dv, du2dv2, dudv3, dv4, and so on."*





So I'm not sure if the issue is that maybe retrieving (see below) from the array

uDir = derivatives[0];
vDir = derivatives[1];

while using


bool evalSuccess = srf.Evaluate(pt.X, pt.Y, 1, out pointat, out derivatives); (being derivative 1 the part to look out for)


we are just selecting the wrong derivative values?

JaimeSan
Автор

Blessing & Gratitude, UberProf JLGdCyL !!

roselotusmystic
Автор

i enjoy long format videos but its hard to maintain attention. are the edited versions available? you should learn from Ian Hubert's lazy blender videos. most teaching can be distilled down to 1 minute.

jkickass