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

AY-6936_double namespace in fbx export #147

Open
ynbot opened this issue Oct 11, 2024 · 0 comments
Open

AY-6936_double namespace in fbx export #147

ynbot opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
sponsored This is directly sponsored by a client or community member

Comments

@ynbot
Copy link
Contributor

ynbot commented Oct 11, 2024

Please describe the issue you have encountered?

the issue comes from the double namespaces, which come from unreal's Metahuman skeleton. We need those namespaces because unreal sends us Head and Body separately, and both share quite a few joints with the same name, so we can't get rid of the namespace. base_eddie_rigMain_01_:DHIbody and base_eddie_rigMain_01_:DHIheadget_namespace() inside ayon_maya.api.lib gets both namespaces at once, so returns base_eddie_rigMain_01_:DHIbody instead of a list with both namespaces separately, meaning that strip_namespace() then removes both namespaces at once and the publisher ends up looking only for root instead of DHIbody:root
[20:56]
so as a quick fix to export my FBX to unreal, I've just changed line 40 in extract_fbx_animation.py to strip the namespaces so we only get rid of the first one, base_eddie_rigMain_01 namespace = get_namespace(out_members[0]).split(":")[0]

How to replicate the issue?

No response

Additional context:

link to discussion on Discord
(might be a private channel)

This issue was automatically created from Clickup ticket AY-6936

@ynbot ynbot added sponsored This is directly sponsored by a client or community member type: bug Something isn't working labels Oct 11, 2024
@mkolar mkolar removed the type: bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sponsored This is directly sponsored by a client or community member
Projects
None yet
Development

No branches or pull requests

3 participants