konstantin magnus 234 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 Share this post Link to post Share on other sites
stevegh 42 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 Share this post Link to post Share on other sites
petz 360 Posted September 2, 2016 here´s another one ... hth. petz make_circle.hipnc 3 Share this post Link to post Share on other sites
konstantin magnus 234 Posted January 19 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 Share this post Link to post Share on other sites
acey195 148 Posted January 19 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 ^^ Share this post Link to post Share on other sites
petz 360 Posted January 20 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 Share this post Link to post Share on other sites