Hi, I’m very new to this program but I’m trying to write a script to extrude points based on their proximity to each other. for example the closer they are they higher they are extruded.
Is this possible? and/or does anyone have a similar script I could tinker with to find a solution?
[quote=“Amir_Habibi, post:2, topic:61720”]
Mean moving the points and create line , so you could use distance comp.
Hi Amir, not necesserily creating a line but yes similar to this, moving points vertically by ratio to their priximity of each other? so the more dense an area of points, the higher the points are moved
I’ve combined the scripts and it half way there thank you all so much!
here is the new script (might be messy) and rhino file with a few points for reference,
Is there any way to reverse the extrusion, so closer they are the higher it gets, at the moment it seems to be inverse. ptProxy and point attractor.gh (18.0 KB) proximity points.3dm (78.8 KB)
Can‘t look at the file atm. But I think you remapped your values. If it‘s like that, you can just change the target domain. Instead of 0 to 1 for example, use 1 to 0