Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export all animations directly #55

Open
TokyoSU opened this issue Jan 30, 2022 · 3 comments
Open

Export all animations directly #55

TokyoSU opened this issue Jan 30, 2022 · 3 comments

Comments

@TokyoSU
Copy link

TokyoSU commented Jan 30, 2022

Would it be possible to just click export with a animation checkbox and all animation would be in one file ?
I have a model with 300+ animation and it cause problem because i need to do export one animation at a time :'(

@experiment9123
Copy link

related to this,
I see that you can state explicitely which animations (actions) to export; I'd like to modify the exporter to have this filled with all the available actions by default (currently the default is export nothing, so you must always manually write out the anims you want)

@TokyoSU
Copy link
Author

TokyoSU commented Mar 15, 2022

this can work too

@blubs
Copy link

blubs commented Oct 18, 2023

Currently the exporter's Animations text field lets you export multiple animations via the following syntax:
anim1_name, anim2_name, anim3_name, ...

It even supports specifying start / end frames, animation FPS, and flags (1 if animation should be looped, 0 otherwise), like so: anim1_name:1:100:30.0:1, anim2_name:...

Given that you can include multiple animations, one easy workaround for you might be to create a short python snippet that retrieves all of the blender animation (action) names and gives you a string you can just copy+paste into the IQM exporter Animations text box.

Like so:
', '.join([a.name for a in bpy.data.actions])

Then you just paste that code snippet into Blender's built-in python console and copy+paste the output into the animation box. You could even do additional filtering there to exclude some animations and/or customize the animation's export params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants