Fillet component problem

Hello everybody!
please help with rounding the curves. The curves are not planar. The radius of rounding must always be 40 feet, even if the length of the line is not enough.
I found a python script, but it doesn’t work fully.
Thank you






Fillet component problem.3dm (32.2 KB)
fillet problem gone.gh (9.9 KB)

Not sure if thats what you mean, this extends your curves then draws the fillet.


Re01_fillet problem gone.gh (7.7 KB)

I don’t know the formula to get extentions more close right now, there is one … :)

Thanks for the reply, but that’s not exactly what I need. I recorded a short video of how my script works on my scene. I found a C# script on the forum, but it also doesn’t quite work as I need it to. It is also desirable to create a parameter that will limit the “evaluate length” movement for an adequate connection of the road and the site.
Thank you.

I don’t know if it helps you, but you do a typical mistake here. You are supposed to model the surface (=terrain) first and then you cut out the pieces based on the curves. If you do it like this, then you can model the curves planar and project them later on. Part of the problem is the non-planarity here. The problem is, that even if you manage to create all the curves, you cannot simply apply a loft and expect continuity to the other surfaces in place. A good trick is to model some cases manually, before you start to automate it. Very often the issue is that you create conditions for those algorithms to fail, and this is not necessary a problem of the algorithms, but of the modelling.

Are you proposing to project geometry onto a plane and work with it?

Even if you use the “Fillet” command in the middle of the rhinoceros, the rounding is not correct.

Your curve should be planar. It does not matter if it is in the middle of the rhinoceros or not

I have another option for constructing radii, using two tangents, but I don’t know how far from the optimal one

Something like that