Yep, what Cris said. Here’s some VEX you can drop in a Point Wrangle if you want to try that approach:
float radius = 1.0; int maxpts = 50; int handle = pcopen(0, "P", @P, radius, maxpts); @P = pcfilter(handle, "P"); > On 26 Apr 2017, at 18:37, Cristobal Infante <cgc...@gmail.com> wrote: > > pcopen > pcfilter (P) will give you the nearest positions. > > > > On 26 April 2017 at 18:27, Steven Caron <car...@gmail.com > <mailto:car...@gmail.com>> wrote: > i hate to do it but i gotta ask this group because of our shared ICE > knowledge... > > what is the proper way to get closest points and average their position and > update the point position? > > pcfind gives me an integer array, but how do i look up those indices and get > their point position? > > pcopen, then pcimport, do work, then pcexport seems like the right thing to > do, should i just ignore pcfind? > > thanks > steven > > ------ > Softimage Mailing List. > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com > <mailto:softimage-requ...@listproc.autodesk.com> with "unsubscribe" in the > subject, and reply to confirm. > > ------ > Softimage Mailing List. > To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with > "unsubscribe" in the subject, and reply to confirm.
------ Softimage Mailing List. To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with "unsubscribe" in the subject, and reply to confirm.