knobhead
Aerospace
- Mar 6, 2001
- 184
I've got a 2D aerofoil section, consisting entirely of points from a CMM. The data I got from the CMM is not a single file, but several, and the coords in them 'overlap', in that the CMM went over certain sections of the aerofoil twice.
Now, using a script I've combined all these XYZ files together and drawn them as points on the screen.
I want to do two things: One is draw a polyline through all these points. I could do this by hand, but there are 500 or so points, and after this one I've got another 10 sections to go. Clicking 5000 points is something I'd rather skip.
The other thing I need to do is create a new file of all the XYZ points, IN ORDER. In other words, list all the coords of all the points in sequence around the profile of my aerofoil.
I can define the order of the points by creating a polyline through all the points, and then extracting the coords of the polyline....but I haven't got a polyline.
So, to the point. How can I quickily create a polyline thorough loads and loads of points, and how can I extract the XYZ data of a polyline to a text file?
Now, using a script I've combined all these XYZ files together and drawn them as points on the screen.
I want to do two things: One is draw a polyline through all these points. I could do this by hand, but there are 500 or so points, and after this one I've got another 10 sections to go. Clicking 5000 points is something I'd rather skip.
The other thing I need to do is create a new file of all the XYZ points, IN ORDER. In other words, list all the coords of all the points in sequence around the profile of my aerofoil.
I can define the order of the points by creating a polyline through all the points, and then extracting the coords of the polyline....but I haven't got a polyline.
So, to the point. How can I quickily create a polyline thorough loads and loads of points, and how can I extract the XYZ data of a polyline to a text file?