Distant fillets/chamfers. How to?

I am trying to come up with method that eliminates fragments shorter than x and simplifies the curve.
This is how it starts:

and this is the result I am looking for:

So far I have come up with solution that eliminates short fragments and it’s corresponding neighbour but I have no idea how to finish that.

I tried Fennec chamfer components


but I could only make them working in pairs resulting with multiple overlapping lines and I’d rather not use plugins.

Thing that is easy in Rhino seems hard to achieve here.

Hi @Piotr ,

maybe this could work for you.


unnamed.gh (9.9 KB)

Extending distance must be higher than the smallest deleted curve length and the second panel value needs to be 2x the longest neighbour.

1 Like

A double offset can suppress details


unnamed444.gh (11.5 KB)

2 Likes

Guys
I’m really grateful for your input.
I just managed to implement flokart’s idea and it works fine:


though, together with selection filter for short segment and it’s neighbour (and other conditional statements) looks overcomplicated to me:

I have to look at Laurent’s idea but only tomorrow.
Thanks again.

Hi @Piotr,

here is another solution based on @laurent_delrieu solution.


unnamed.gh (9.6 KB)

It can be done so damn easy using right offset tool.
I think Laurent used offset from Clipper but, as I mentioned, I have to keep the number of plugins involved to minimum.
I have tried 3 various offsets and the best result gives the native offset:

The reason I didn’t think about the offset in the first place is shown here:


I always favour loose offset but that was my mistake, I should have been digging deeper.

1 Like

The easy solution is often not easy to find.
I didnt know that offset trims the overlapping areas.