At the moment I get a error from the node Geometry.Intersect. The error says at follow: Curve join produced more than one WIRE in polycurve. The script worked perfect on another polycurves but now a tried it on some other polycurves and iI get this error. I have seen that this error is some what common but couldn’t find the solution in other threads. I added the script and the two CAD files I use to extract the polycurves from.
I’ve looked into the issue and i feel like there’s something wrong with the polycurve. I think it has a tiny gap in it, but I’m not entirely sure.
I tried fixing it in your script: