View Full Version : Spreadsheet output
3dcrt 05-22-2005, 06:23 PM I want to output my XYZ positions in a spreadsheet format. (I have to be able to prove and object is going the right speed and show it's position.)
I have searched the various sites for a plugin or maxscript that does this.
Anyone know of one that imports or exports spreadsheet data ?
Thanks
Mike
|
|
I want to output my XYZ positions in a spreadsheet format. (I have to be able to prove and object is going the right speed and show it's position.)
I have searched the various sites for a plugin or maxscript that does this.
Anyone know of one that imports or exports spreadsheet data ?
Thanks
Mike
You can write out your data in a CSV format (Comma-Separated Values) which is basically lines of values separated by commas and can be imported easily into any spreadsheet program like MS Excel.
An example of speed data output can be seen in the MAXScript Reference, "How To ... Output Object Data To File" tutorial topic. It gives you a script that outputs the data in a slightly different format, just change the line
format "Frame %: %\n" t frame_speed to:output_file
to
format "%, %, %, %, %\n" t current_pos.x current_pos.y current_pos.z frame_speed to:output_file
and you will get frame, X, Y, Z position and local speed (relatively to the previous frame in units/second)
3dcrt
05-23-2005, 12:49 AM
Wow, I hav never used maxscript. Guess I better start learning !
XLNT-3d
06-09-2005, 08:03 PM
definitely learn scripting. We've been using scripts to import sim data into Max since the second release. We use it to import XZY and RPY(roll, pitch and yaw) for vehicles and anything else that can move. You can keep it simple or have it dump into several different dummies. It's all up to you.
marcello1
06-16-2005, 02:05 AM
is it possible also to export xyz coordinates of vertices of a mesh?
that would be great!:)
CGTalk Moderation
06-16-2005, 02:05 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.