I have realized that trying to get MoI to access an array element that does not exist, causes an error.
Suggestions to Anthony, (or myself):
1. Do not hardcode the number of elements (27) in the arrays, in the Airfoil Points Do (or for) loup. ?
(Instead use the javascript array length.....)
2. Test to see if the number of elements in the AFXTAB and AFYTAB are the same. ? (With warning alert)
3. Place the Extra (radius) points in separate arrays similar to AFXTAB and AFYTAB. ? (same # of "X" and "Y" types.)
I will change the control points, as per your reminder above.
(Should be possible to have multiple airfoil cross sections, with nested loup......)
|