Referring to: Python - Working with arrays
After getting help with the above problem, I’ve encountered my next one already.
My end goal is to split intersecting lines on the points of intersection, so 2 lines forming a T sections will turn into 3 lines and 2 lines forming a cross will split into 4 lines.
In the referred topic, I worked out the distance, I now want to make it so if the distance is within a set tolerance to split at that point.
I’ve looked at Curve.SplitByPoints but I don’t know how to format code to get it to do what I want.
I’ve looked at an If statement, such as
If distance > tolerance
curve.splitbypoints(Curve,points)
but like mentioned before not too sure on how to turn that into code.
Thanks for the help.