Hi,
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.
Jaacov Molcho.
--
View this message in context: http://forum.openscad.org/Using-Polar-function-r-f-t-tp21464.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
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.
polar_coordinates.scad
http://forum.openscad.org/file/n21474/polar_coordinates.scad
--
View this message in context: http://forum.openscad.org/Using-Polar-function-r-f-t-tp21464p21474.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi Jaacov,
I created a video tutorial on this topic, starting with a circle function
and next creating an ellipse and a sine function. You can find it here:
https://www.youtube.com/watch?v=57tpSpBzXZY
https://www.youtube.com/watch?v=57tpSpBzXZY .
Can you tell us with what specific functions you have difficulty
transforming it from polar to x,y coordinates?
--
View this message in context: http://forum.openscad.org/Using-Polar-function-r-f-t-tp21464p21477.html
Sent from the OpenSCAD mailing list archive at Nabble.com.