Can anyone teach me how to use an Polar function r=f(t) in OpenScad?
I have no problem using for loop to trace the graph of a standard function y=f(x) or parametric function x(t),y(t).
Some polar functions are very difficult to transform from polar to rectangular.
tI attached a small example of one way to use polar functions, let me know if you have any questions.
It uses OpenSCAD list comprehensions to build a list of 2D points that can be sent to polygon, then extruded.
You can see I included a few example polar functions, you will have to comment and un-comment the "r = ..." lines in this script to see the other functions, and of course try whatever function f(t) that you want.