"Out of interest, tried applying these options to your script - neither look like they work to well at first go I'm afraid! Biggest issue is the number of points and severity of change in extrusion between the points. Good luck and have a good…"
"Not sure I quite follow, this example does much the same, except it populates the region and the outline, and uses these (along with the control points of the rectangle as above) to create the mesh... If you look the faces are still touching the…"
"If I understand your issue, it's because the Delauny Mesh will will create all triangles it can (even very acute ones close to the border).
If you pull some of the closest points to the rectangular border for the region this should give you a…"
"Hopefully this isn't over complicating, but you might need to loop your data in order to cull the points already "used" if they are the closest to another point. Anemone is really good tool for this…"
This finds the centre of each "cell" and checks how many surfaces there are within a distance to find the sides to the box (if you move away from squares you might have to update value it takes to cull these).
If there are 6,…"
"Haha. Hesitant to post this now I've seen how much I overcomplicated the last one...!! But this will preserve your points if they are on the rectangular border - I've no doubt it could be reduced down heavily by someone with a sharper mind…"
"Only just seen your reply, but this will work for most of the central ones if averaging is OK. It uses cull points with an average, culling lines by length and closest points.
However, you might want to extract the edge curves before running…"
"You could assign paths by the Z height to put the pieces in different lists? In this case the Z coordinates of the centroids are multiplied by 1000 in order to have integers for the paths. Only going to three significant figures works in this case,…"
"Sorry Irina, I didn't quite get what you were after and it looks like Pieter's solution below is spot on - and a better way to do it for sure! I was being a bit lazy but Kangaroo is still a fun little toy to play around with though! If you…"
"Have you tried using Kangaroo 2?
The attached uses your geometry, fixes one point, then "grabs" one point if you hold ctrl + click (see the discussions in the Kangaroo 2 posts here, as you might need to turn off the COFF loading in…"