It explains the problems that can arise when a path moves into the z axis, namely a “kink” develops in your extrusion. I’ve been getting the same “kink”, but I just can’t figure out how to correct the orientation of the z axis in the path to avoid this kinking. Any help appreciated. TIA.
There is no magic button. Some would call it a bug but it’s just a problem with the way that Blender impliments curves. However, if you rotate your mesh ever so slightly then Ctrl-A, after about 15 tries you can get it looking acceptable. Rotate from front, side and top. Be warned that another kink may pop up somewhere else though. If you have a particularly difficult shape and you can only get it almost right before another kink appears, then you can up the DefResol to about 32.
Change it to a mesh with Alt-C and you can put it back where it was before rotating without having to hassle about the Z avis.