I have a program that measures 700+ points on an airfoil surface. I'm looking for an easy way to export the nominal and measured values into a txt file as feature name, X nom, Y nom, Z nom, X meas, Y meas, Z meas, X dev, Y dev, Z dev. I'm currently programming to put the values into an array and write to a file after every point measurement.
It would obviously be easier to have a script that would look for all feature names in a certain format, i.e. PNT_1, PNT_2, etc, write the data to a file, then look for the next feature. I wasn't planning on dimensioning any of the points but will if I have to. If someone can point me in the right direction I would greatly appreciate it.
You parse the program for certain "knowns" and when these "knowns" are found, you fetch the data you want, concatenate these into a string and print the string to a file.
That's the pseudocode for it.
Are you using a certain naming scheme for the points carrying the data you need?
You parse the program for certain "knowns" and when these "knowns" are found, you fetch the data you want, concatenate these into a string and print the string to a file.
That's the pseudocode for it.
Are you using a certain naming scheme for the points carrying the data you need?