I have successfully implemented spinning using bmesh. It seems I have to create an object possessing mesh as defined in bmesh. Is there any other way to do this spinning process using python script? My current code to generate curve is similar to [Ref]. Thank you.
EDIT1: If anyone can do this without using screw? Or how to use screw modifier to spin around an arbitrary axis in python script?