I’m writing some code for Fiber 3 which will let me define n-sided segments, as well as curling. Everything is working except for some segments that are flipping 180 degrees as illustrated in the image below:
Every so often the segments suddenly rotate 180 degrees and result in very ugly ‘knots’. I’ve seen this behavior in Blender before when you have a 3D NURBS curve that has an Ext. set.
I could easily correct the problem by simply adding 180 to the current angle, the problem is detecting where these anomalies are happening. The code is provided in a sample file located at http://www.oregonstate.edu/~dennisa/Blender/Fiber3/CrossSection.blend
Hahaha it gives new meaning to my signature!