Hi,
I got a similar problem and did a function like you did, it seemed to work when I discovered that some of my shapes, which are "cables" have parts which are sometimes exactly coincindent, representing a cable going one way and then coming back on the same path ( something like part 1, 2, 3 4... 2 and 4 being one on top of the other). I was wondering if shape.get_partisclokwise could help wihtout understanding exactly what "clockwise" means for a shape which could have an "S" shape
Olivier
Just writing this, I realized that choosing one segment or the other is not a problem as long as you don't take the same twice...
I got a similar problem and did a function like you did, it seemed to work when I discovered that some of my shapes, which are "cables" have parts which are sometimes exactly coincindent, representing a cable going one way and then coming back on the same path ( something like part 1, 2, 3 4... 2 and 4 being one on top of the other). I was wondering if shape.get_partisclokwise could help wihtout understanding exactly what "clockwise" means for a shape which could have an "S" shape
Olivier
Just writing this, I realized that choosing one segment or the other is not a problem as long as you don't take the same twice...