jakvett
Mechanical
- Jul 29, 2011
- 34
I'm helping to develop a lap simulator in MATLAB. A racing course is divided into straights and corners having various lengths and arc lengths. The simulator does math to approximate lap times. I have sketched the course in SW using lines and tangent arcs to create a planar, closed profile, non-intersecting sketch.
I now need to take the length of each line and arc, and individually export them into a spreadsheet. Ex: the course starts with a 30 ft. straight, followed by a corner with arc length of 15 ft. etc. I need my spreadsheet to say 30 in the first cell, then 15 in the second cell, and so on. I know I can measure each entity, and input the data manually, but this is tedious. Is there a way to do it faster?
Maybe design tables or macros would help, but I'm not sure how to utilize either for the situation. Help?
I now need to take the length of each line and arc, and individually export them into a spreadsheet. Ex: the course starts with a 30 ft. straight, followed by a corner with arc length of 15 ft. etc. I need my spreadsheet to say 30 in the first cell, then 15 in the second cell, and so on. I know I can measure each entity, and input the data manually, but this is tedious. Is there a way to do it faster?
Maybe design tables or macros would help, but I'm not sure how to utilize either for the situation. Help?