Here a more complicated tutorial on “How to calculate intersections of 2 lines (splines) using Python and Cinema 4D”.

I explain the various ways, lines (segments) can intersect (parallel, coincide, skew or intersect). Please have a look on the Internet for the mathematics of intersecting, skew, coincide,etc.

Here you can download the source used in the tutorial.

Hello Pim

It’s very useful!!! I use your algo(with link to this page in comments) in one project!

Thank you.

Hi llay, thanks for your kind words and good to know that people like and uses the tutorials. Where can I find the project?

Still in development

This is simple implementation of spline spider-web