Geometry Sequence Exporter

9 votes
Version: 
1.00
Date Updated: 
12/23/2010
Author Name: 
Arda Kutlu

This script enables you to export geometry data as a sequence. Especially for workflows like Flame/Inferno workflow where point data is not supported it is possible to export mesh deformation through object sequence.

Features:

- Export .obj .3ds .fbx and any other 3ds Max supported Geometry data format as a sequence
- Export only selected range
- Selection based export. Exports only selected geometries.

Installation:

- Run the script. (MAXScript => Run Script)
- Customize => Customize User Interface. Under the Category: Tik Works you will find the script.
- Assign the script to a Menu, Hotkey or Quad Menu.

Usage:

-Select mesh animated objects you want to export.
-Select the path
-Define the base name of the sequence. If only one object is selected default name is selected objects name. If multiple objects selected default name is scene name.
-Define the time range. Default range is current scenes timeline range.
-Hit export

Version Requirement: 
written in 2009, should work 2010 and 2011

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dsp_418's picture

How to modify the script to

How to modify the script to add the obj and get rid of the error?

Jonathan de Blok's picture

About the obj export, if you

About the obj export, if you modify the code to add a ".obj" extension the the file name the "cannot determine export format" error will go away.

masquerade's picture

hmm. Didnt try it on 2011. I

hmm. Didnt try it on 2011. I will look into that and get back to you.

manoeuvre's picture

OBJ Export 2011

Hi there,
I'm getting a error when exporting using the .obj setting in 2011.
(Cannot determine export file type -- Export cancelled)
I'm having no problems with other file types, any ideas?

masquerade's picture

You are welcome. Hope it

You are welcome. Hope it covers your needs.

horo's picture

thx

I see, but as long as it works it´s fine.
I really appreaciate the work u put into it,
thank you so much for that :)

masquerade's picture

horo, I took another look.

horo,

I took another look. You are right, when you manually change the starting frame of animation range, it updates the starting frame in .ase exporter options. The problem is, in #noPrompt mode, it doesnt take the starting frame into account, it simply makes it zero. The conclusion I achieved is that, it changes the frame which is gonna be exported from the UI of ".ase" exporter. Therefore, if UI of the exporter doesnt show up, it simply exports the default frame which is 0.

Since I couldnt find a way to change exporter options through scripting, the only solution I found is export every frame without #noPrompt option. This means it asks for confirmation for everyframe frame. But you can keep enter button pressed :)

If you want I can share the modified .ase exporter with you. It is meaningless to modify the current script just for this lousy solution, therefore I made another simple script for just .ase exporting purposes. Send me a PM or e-mail, if you want.

horo's picture

strange because it works when

strange because it works when i change it manually.

are u sure it´s changing at all?

AttachmentSize
start-time.jpg 94.73 KB
masquerade's picture

I tried to change the start

I tried to change the start time of the animation range for each iteration. But it seems .ase exporter exports frame "0" everytime, unless you change it from options of exporter. I dont know if there is a way to reach the options of exporter plugins but I couldnt find anything about that. Another approach could be re-writing a dedicated custom .ase exporter. But thats a completely new story. I remember I saw an example on the maxscript documentation. Search for "Output Geometry Data To Text File"

horo's picture

google repository_lynx_lite

google repository_lynx_lite its an ase viewer

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.