Skip to main content

Hello,

I have a large set of points, that I need to connect. With a LineBuilder and a Chopper, I can obtain each segment, but the angles are sometimes a bit harsh.

And so I would like to soften them, creating a curve instead of a set of lines. But I want the curve to go trough ALL the points of the input. Therefore I can not use a Bezier curve.

Any idea on how is it possible ?

Thanks

 

 

The first pic is how I would like it, and the second is what I do not want, a Takashi solution for a similar problem, but that does not work here.

 

Hi @theodore​ 

Perhaps you can try passing line segments with 3 vertexes into the ArcEstimator?

 

I'm not certain it will give you the exact result you're looking for but it may be a good starting point.


You might be able to use an OffsetCurveGenerator and buffer the results by the same amount.

 

You will end up with curves on each side that end up near the line. To get the curve to the line, chop the line up into segments, isolate the segments near the original line, and use an anchored snapper to adjust it slightly.

 

90 degree example

curve1 

Slight curve example

curve2


Reply