Grasshopper

algorithmic modeling for Rhino

I am currently having a trouble with finding surface normal after having the equi distance process using double path mapper. It seems the uv value is changing due to path mapping. The surface is the same, but the points division is changing from normal in that its equally distanced just like I want, but the only problem is that the normal of surface from the new points is not actually correct just like the normal before the pathmapping occur. Can anyone help me solve this problem. Thank you. Attached is the definition.

Views: 571

Attachments:

Replies to This Discussion

Attached is the JPG image illustrating the problem described above. Please help..
Attachments:

I may have inadvertently dropped some feature of your definition in revising it.  Let me know if I missed something.

 

Chris

Attachments:

Hi chris, Thanks for reply,

 

But, The result of the definition you gave is not I described earlier. This surface is not an equi-distanced segmented. The surface should have the segments that is equally distanced both in U and V. That is why I use the path mapper which to divide the curve in V with points , then connect those division points in the other direction. So I think the path mapper should not be discarded since the resulted points from those process are already correct in my GHX. But the problem is that, if I use the new resulted points (which is equi-distanced to one another), the normal vectors of the surface with respect to the points are not correct. Which can easily be seen by the direction of the circle. I think the problem is that the new UV is not the old UV anymore even if it is the same surface due to path mapping. I was thinking of creating new surface from this new points to get the surface the same the old one, but with new UV and new equi-distanced segments. But I dont know how to re-create those surface from those new grid of points. Please advice.

Hi, Chris

 

Note: You have to use extreme turning degree of curves to check whether it is still equi-distanced or not. Here, try using this curves, lofted and check that the file you attached is not equi-distanced segmented.

Attachments:

As far as I can see it was your methods for testing the normal direction that weren't set up correctly.

 

Chris

Attachments:

Thanks Chris now it works,

 

The surface has new UV value and I should use srfCP first to find the new UV of surface with respect to the new points before evaluating the normal.

 

Really thank you!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service