Bug: ExtractCurvatureGraph on Closed Curve Creates Open Curve

make a circle, turn on CurvatureGraph followed by ExtractCurvatureGraph, the result is a discontinued curve with a hole. that also happens on any other closed curve.

i am not sure if i have complained about that quite a while ago, could not find anything.

Bildschirmfoto 2022-12-10 um 14.30.55

Since a curvaturegraph is a polyline, you can get your exact result with _CloseCrv
I suspect it’s just not repeating the last point to make a closed loop.

that basically would make sense, and makes this issue something like a papercut. but trying what you suggest i found that CloseCrv does not seem to close any of these curves i produced including a circle… lol… what is going on?

i know i can manually draw the curve and join… i am just pointing out the issues.
edit: hmm reducing the tolerance actually closed it, i think my tolerance was set excessively tight

@Gijs It’s a bug which should be on the heap to be fixed. The result of ExtractCurvatureGraph contains a gap when the curvature graph of a closed curve is continuous. Following @encephalon instructions above:
Circle
ExtractCircleGraph
The result has a gap which should not be there.

ExtractCurvatureGraph Bug.3dm (2.7 MB)


Logged as RH-71896 ExtractCurvatureGraph on closed curves generates open polyline

1 Like

It’s fixed in the next V8 WIP.

1 Like

speedy gonzales