pyrochlore Posted November 9, 2012 Share Posted November 9, 2012 Dear all, I am trying to project a curve onto the surface of a sphere. Please see the attached file. The requirement is to keep the distance between points the same. In this case, the ray sop can not do what I want. So I try to write a python node to project point on to surface in order. The algorithm is like this: 1.create a circle for each point on curve 2.get the intersection curve between circle and sphere 3.find a point in intersection curve with distance close to the length between this point and previous point 4.move the following point according this new position 5.do 1-4 one by one Because getting the intersection curve is difficult for me, so I try to make a sub sop network to do this. I want to get intersection curve by cooking the OUT node in sop network. The problem is I always get nothing in that node? Is there a better way to get the result I want without using sop network? problem.hip test.otl Quote Link to comment Share on other sites More sharing options...
pyrochlore Posted November 10, 2012 Author Share Posted November 10, 2012 Any suggestion? By the way, if Sidefx could provide a sop like normal "for loop" in programming language, which changes the geometry in sequence, things will get easier. Quote Link to comment Share on other sites More sharing options...
edward Posted November 10, 2012 Share Posted November 10, 2012 if Sidefx could provide a sop like normal "for loop" in programming language, which changes the geometry in sequence,things will get easier. Turn off "Merge Results" in the For Each SOP. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.