PDA

View Full Version : NACA Generator JavaScript


Gary Warner
Sep 17, 2002, 12:57 PM
I found this on the web today. It's probably been noted before. If so here it is again.

NACA 4 Digit Generator (http://www.pagendarm.de/trapp/programming/java/profiles/NACA4.html)

They are also working on a 5 digit generator but as of now it's not fully functional. With the 4 digit generator it puts all the points in a text box so that it can be cut and pasted, all without having to download any programs. :cool:

Unfortunatly it looks like the program file is in "NACA.class", which meens I don't think it's a javscript than be just put on your desk top, but I'm going to try.

Sparky Paul
Sep 17, 2002, 01:31 PM
It's a nifty program... fun to play with.. but I doubt the practicality of 16 decimal point accuracy. :D

Gary Warner
Sep 17, 2002, 02:29 PM
I just imported the data into DesignCAD3K as a file saved as "*.XYZ" and it works great. Before I did import the file, I noticed a few numbers that were expressed as exponents. I returned these to "normal" numbers and dropped the extra remainder digits.

Like you said, double precision (floating 16 point) is a bit of over kill, still my CAD program sucked it up just fine. Pity the guy who has to manually type in the coordinates! :eek:

gbanse
Sep 17, 2002, 04:27 PM
Hey Gary,
It's not javascript but a Java applet. An entirely different beast. Nifty all the same.

Gregg

Gary Warner
Sep 17, 2002, 04:37 PM
You're right.

I'm having trouble keeping the fat from around my waist from migrating up to my brain. :(

Maybe I'll try a tourniquet... :D

Sail 'n Soar
Sep 17, 2002, 07:15 PM
OK, it's now on my desktop. Now how do you copy the coordinates?

Gary Warner
Sep 17, 2002, 07:20 PM
Once you show the data in the text box, click and drag so that all the data is highlighted. Press Ctrl & C to copy it.