XaiJu
animatrix
animatrix

patreon


Detecting Self Proximity on Curves

Recently I came across a problem where I had to remove parts of the curve from the existing point positions (i.e. not carve) using a separation distance parameter of a curve to itself.

There are 2 standard methods to approach this sort of problem, point distances i.e. Euclidian distance using pcfind, distance functions, or xyzdist.

Unfortunately neither works as easily because they will also give you the current point and the points along the same segment.

I come up with a method that's fast enough to check for this by iteratively growing the curve.

Note that this approach requires an even segment length which was what I needed for my case but it could be adapted to variable segment length as well as creating an actual carving operation. But the idea itself should be the same.

Happy Xmas and happy new years to everyone!

https://www.dropbox.com/s/jzyuwodrvbclf9x/selfproximity.hiplc?dl=1

Detecting Self Proximity on Curves

More Creators