GridSpace/grid-apps

dragknife adding incorrect paths

Opened this issue · 4 comments

near straight lines are inducing curves

old_bay.kmz.zip

The abnormalities seem to be occurring at the vertices of the mesh.
Image

I wonder if this is an angular wrap-around issue. like 0.1 degrees to 359.9 degrees when the actual separation is 0.2 degrees but math says 359.8 ... there is a function that fixes this somewhere in the code. but the algo is also quite simple. angular deviations over some threshold trigger the drag arc injection.

Some of the slopes are being set to 0 or 180 when they shouldn't be. when they are, the tight angle detection is triggered on both sides of that slope. My best guess is that the slope detection code has a bug somewhere. I'm not getting anywhere with this right now, so I'm going to put it on the back burner and come back to it.