Invalid curves produced after join curves

Hi Community

This script is producing some invalid curves after I attempt to join them.
I’ve been scratching my head at this for a few hours and cant seem to get anywhere with it or find any documentation on how to overcome this.

For reference this script is for producing plywood inserts for a 3D printed wall - the notches are to help locate them to the print lines
Right at the end of the script is where the invalid curves are occurring - I have highlighted this in red

Any help is appreciated!
Thank you!


gh community-invalid curve issue.gh (3.0 MB)

Have you tried to use Parakeet Join Curves?

Hi Paolo

I have and it produces an empty output - even with the tolerance pushed up much higher than it needs to be

my friend and I did managed to find a crude solution for now by creating a boundary surface, extracting the edges and then rejoining the curves, and then orienting them back to their original position- see image attached:


I’m unsure why the curves shifted once the boundary surface was created… but they did - hence the orient

I’ll continue to leave this post open for the time being