You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on a quest to find a good way to export curve data to track retimes between Hiero, Nuke and Maya and I stumbled upon this nice library! (plus, we're both Italian and working in Framestore so I thought that it was a nice coincidence! :) )
I've been following through the wiki, but I soon realized that the way you've designed kiko means that one can't easily access the serialized object (via a public interface). Basically, everything is meant to be written to disk immediately.
In my case, I'd like to embed this curve information into a metadata dictionary in my OTIO timeline (so I don't really need to write only the curve to disk).
I think it could be useful if you could expose 2 separate methods, one for serializing, and the other one (more a utility than anything else) to serialize and write to disk at the same time (export_to_file()).
I'd be happy to contribute myslef - at a first glance, it doesn't seem that hard to do.
Thanks!
Valerio
The text was updated successfully, but these errors were encountered:
vvzen
changed the title
De-couple serialization from write to filesystem
Decouple curve serialization / writing to filesystem [Feature Request]
Jan 20, 2021
Hello Valerio,
you could add that as a separate method to the Kiko Manager class.
It would be just a matter of creating a new method and place in it all the code used by export_to_file up to the point where the file is created. export_to_file could then call this function, so that there is no duplicated code in different methods of the manager.
If you want to make this change and push it back I will merge it on master.
has the file_name as an arg, but it's not actually used, which in my case it's actually nice since it means this can easily decoupled.
I'll play around a bit more and then open a PR.
Thanks!
Hi all!
I'm on a quest to find a good way to export curve data to track retimes between Hiero, Nuke and Maya and I stumbled upon this nice library! (plus, we're both Italian and working in Framestore so I thought that it was a nice coincidence! :) )
I've been following through the wiki, but I soon realized that the way you've designed
kiko
means that one can't easily access the serialized object (via a public interface). Basically, everything is meant to be written to disk immediately.In my case, I'd like to embed this curve information into a metadata dictionary in my OTIO timeline (so I don't really need to write only the curve to disk).
For now, I came up with this:
..which isn't that pretty :D
I think it could be useful if you could expose 2 separate methods, one for serializing, and the other one (more a utility than anything else) to serialize and write to disk at the same time (
export_to_file()
).I'd be happy to contribute myslef - at a first glance, it doesn't seem that hard to do.
Thanks!
Valerio
The text was updated successfully, but these errors were encountered: