konstantin magnus Posted June 3, 2016 Share Posted June 3, 2016 (edited) How can I access the new "make circle"-function procedurally? see: http://www.sidefx.com/forum/topic/44697/ Edited June 17, 2016 by konstantin magnus Quote Link to comment Share on other sites More sharing options...
stevegh Posted September 1, 2016 Share Posted September 1, 2016 I know this is kind of a lame way to do it, but you could always do it with some math. makeCircle.hip 1 Quote Link to comment Share on other sites More sharing options...
petz Posted September 2, 2016 Share Posted September 2, 2016 here´s another one ... hth. petz make_circle.hipnc 3 Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted January 19, 2019 Author Share Posted January 19, 2019 Thank you again @petz for posting a mathematical solution. I am currently trying to apply it to another mesh (fig. 1). Unfortunately most of the points get collapsed (fig. 2). Is there anything I am missing out? Meanwhile I was trying to come up with a simple solution on my own (fig. 3), which is not unifying the distances between the points along a circle but is averaging out their distance towards the center. Unfortunately I would not quite know how to flatten my points on an oblique plane based on their average normal (fig. 4). human.hiplc Quote Link to comment Share on other sites More sharing options...
acey195 Posted January 19, 2019 Share Posted January 19, 2019 well, once you have the average position, you can look at all the vectors from the center to the original positions, adding up the cross products of each set of 2 of those vectors (flipping them if they have a dot products smaller than 0) if you normalize that resulting vector, that should be the average plane orientation. afterwards you could use this VEX function to layout all of your points on that plane: http://www.sidefx.com/docs/houdini/vex/functions/planepointdistance.html yay maths ^^ Quote Link to comment Share on other sites More sharing options...
petz Posted January 20, 2019 Share Posted January 20, 2019 18 hours ago, konstantin magnus said: Thank you again @petz for posting a mathematical solution. I am currently trying to apply it to another mesh (fig. 1). Unfortunately most of the points get collapsed (fig. 2). Is there anything I am missing out? Meanwhile I was trying to come up with a simple solution on my own (fig. 3), which is not unifying the distances between the points along a circle but is averaging out their distance towards the center. Unfortunately I would not quite know how to flatten my points on an oblique plane based on their average normal (fig. 4). human.hiplc please take a look at the attached file. i've slightly modified the old example and now it should work without problems. hth, petz human1.hiplc 3 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.