Curve Boundary Attraction

Hi guys,

I am struggling to replicate one of the scripts which was done by Daniel.
flattenlandscape3.gh (212.0 KB)

I am trying to do the same thing, but with multiple regions (attraction areas). But I am getting this : )
NewContours_04.gh (85.4 KB)

Any suggestions or ideas why?

Cheers

I think I know where the problem is. But unfortunately don’t know how to solve it.

As you can see it creates correct mesh with more or less flat area when I have one point in the list.
As soon as I add more points it crates domes.
I managed to solved this issue previously with mass addition, but it doesn’t work in this case.

NewContours_04.gh (84.5 KB)

Problem location

!

Correct: One Point
Screenshot 2020-07-21 at 21.47.10|385x500

Not Correct : multiple points

is it a data matching problem?

With one point (that works) what does the data tree look like that goes into the mass addition component? (use Data Viewer)

Does it match up with several points?

Sometimes when I solve a problem for one item and try and expand it to many items I need to pay attention to the data structure. Sometimes ShiftPaths can be useful in this scenario.

Used the file you uploaded, not sure if I am understanding it right