feature req: translation export list of translations made. #51
Labels
No labels
Added
Avatar Toolkit Idea (Won't be added to Cats)
Cleanup
Fixed
Further Info Needed
In Progress
Might Add
Release Candidate
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kneelawk/Cats-Blender-Plugin#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reposted from here: https://github.com/absolute-quantum/cats-blender-plugin/issues/665
So. If one translates blend shapes, animations which make use of it will be broken. Its not too hard to fix manually,
but it would be nice if, after hitting the 'translate' button, it would also export a list of translations made, maybe
something like a csv file similar to the below:
and so on so one could more easily 'translate' the animations you may have.
Ok when you say aminations do you mean aminations in Blender or Unity are broken?
Adding this system could make translations take even longer, in fact I not sure how I would add this into the current translation system, however I am planning on cleaning the translation system up which I hope will improve the speed of translations, so I may try and add this in when I do that.
At the moment in time I will put this on a maybe unto I take a proper look at the translation system in cats. I got to be honest, it's one of the few systems in cats that I not touched yet as it's a kinda of a bigger task.
as in, .anim files one uses in unity. they're text yaml; attached is one of them (very simple). One minor nit is the attribute which shows the blend shape name is encoded using unicode escapes like
blendShape.\u53E3_\u4E0BGiven a csv/similar and a small amount of python or even bash one could easily do some sed-like operations on all the animation files and be done with it quick fast and in a hurry.
Ok I get ya.
Let me look at the current code properly and I get back to you here.
Hey there!
Just to let you know that exporting a csv with what you want is possible with the current translate system, I have a working proptotype which i kinda just bolted on however I want to do this correctly so this is what going to happen.
1: There will be a new setting in settings and updates which will be called "Export CSV file of translations fior shapekys"
2: This will be off by default to prevent this from generating for everyone.
3: If enabled it will export a CSV file of translations to your Documents/cats/shapekeys.csv
I hope to have this on the 3.6 dev branch in the next hour or so.
Update is now live in version 3.6 dev, feel free to test it out.
A 4.0 dev branch update is soon to follow.
Please note this won't be pushed to stable/ release for abit though and will only be in the dev branches for the time being.
Update is now live on 3.6, 4.0 and 4.1 dev branch. Let me know what you think!
To re-cap
1: There is a new setting in settings & updates which will be called "Export Shape Keys Translations CSV"
2: This will be off by default to prevent this from generating for everyone, so turn it on for it to work.
3: If enabled it will export a CSV file of translations for shape keys to your Documents/cats/shapekeys.csv
Very nice; however, it'd maybe be nice to have the file be named per blend, so like, AvatarName.blend->AvatarName.csv, to prevent accidental clobbering.
Should be doable, I add it tomorrow.
The above has been done.
When exporting translations to csv for shapekeys it will save as the current blend file name, if there isn't a save file it will error out asking the user to save the blend file. If the option is disabled translations will work regardless of the file being saved or not.
Quite good :)
This has now been released into version 3.6.6.3 for Blender 3.6 and version 4.0.4.2 for Blender 4.0.
Closed this request, if there anything else to do with this request feel free to re-open.
Thanks!