No description
Find a file
2026-05-19 17:35:57 +00:00
kk_scene_wrapper Add sfx detection for the TheBirdOfHermes plugin 2026-01-06 08:52:30 -05:00
tests Add sfx detection for the TheBirdOfHermes plugin 2026-01-06 08:52:30 -05:00
.gitattributes init 2025-03-03 23:46:05 -05:00
.gitignore Update .gitignore 2025-03-04 00:30:25 -05:00
kk-scene-wrapper.code-workspace init 2025-03-03 23:46:05 -05:00
make.bat Update make.bat 2025-09-28 05:37:59 -04:00
Makefile Update Makefiles 2025-09-28 04:14:26 -04:00
poetry.lock Change _traverse_tree -> _count_anim_interpolables, Restructure project for package install 2025-03-04 00:28:38 -05:00
pyproject.toml Release 0.4.0 2026-01-06 08:57:37 -05:00
README.md Update README.md 2026-05-19 17:35:57 +00:00

Installation


pip install kk_scene_wrapper 

Usage


from kk_scene_wrapper import SceneData

path = "/path/to/scene-file"
sd = SceneData(path)

timeline_binary = sd.get_timeline_xml()
timeline = sd.get_timeline_xml_tree()
(
  image_type: Optional[str],# "animation", "dynamic", "static", None
  sfx_status: bool,         # True if sfx found
  duration: int
) = sd.get_timeline_info()