[OpenSCAD] Benchmark, recommended .scad's

Chow Loong Jin hyperair at debian.org
Sun May 3 18:24:56 EDT 2015


On Mon, May 04, 2015 at 06:23:00AM +0800, Chow Loong Jin wrote:
> On Fri, May 01, 2015 at 10:40:58PM -0700, MichaelAtOz wrote:
> > Hi, I suspect you are using a new MCAD.
> > 
> > I've managed to map most of it to the old MCAD, but I can't find the
> > 'conv2D_polar2cartesian()' function. 
> > Where can I find it?
> 
> Hmm, it might not have been added yet. It looks like gears.scad has a
> polar_to_cartesian() function that works the same though.

Otherwise you could just use this:

function conv2D_polar2cartesian(x) = [ x[0]*cos(x[1]) , x[0]*sin(x[1]) ];

-- 
Kind regards,
Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20150504/a22cc869/attachment.asc>


More information about the Discuss mailing list