Need help debugging the attractor point in this script! I want to be able to drag the centrepoints of rectangles around based on the location of the attractor point, but the code is currently not moving my array of points. I have one version with a scattered (read: random) array of points, and one that is based on a surface division. Ideally the script will work on non-rectangular polygons. I drew a complex polygon to represent a building facade.
I attached a Rhino file with a complex curve to use as an example, and the scattered and surface division versions of the attractor point file.