This is really awesome.
But I noticed there is a problem when a part of the path is parallel to Z-axis.
Here is a small example code which produces a ring. If you render this in OpenScad you may notice the weird twist it makes on the two places where it cuts XY-level
myPoints = [ for(t = [0:6:359]) [cos(t),sin(t)] ];
myPath = [ for(t = [0:3.6:359]) [
path_extrude(points=myPoints, path=myPath, merge=true);
Any ideas how to solve this?