Hi, python script in the bottom is a piece of the raybounce code.
I want to tweak it slightly so that when I input a list of points and the same amount of directions, I only get an output of updated points.
this is what happens now: (example is 16 points and 16 directions and i get 16 new points for each point)
IN is the list of directions
direction = XYZ(IN.X,IN.Y,IN.Z) for p in points: ref = ri.FindNearest(p,direction) if ref == None: pts.append(None) elems.append(None) else:
continues from here
I don’t understand python well enough to tweak it.