https://github.com/synphonyte/blender-panim-exporter
Export all animations of custom properties in a Blender file as a binary .panim file
https://github.com/synphonyte/blender-panim-exporter
Last synced: 8 months ago
JSON representation
Export all animations of custom properties in a Blender file as a binary .panim file
- Host: GitHub
- URL: https://github.com/synphonyte/blender-panim-exporter
- Owner: Synphonyte
- License: mit
- Created: 2023-02-21T04:25:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T15:47:19.000Z (over 3 years ago)
- Last Synced: 2025-01-18T11:29:17.452Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blender PANIM Exporter
Export all animations of custom properties in a Blender file as a binary .panim file
## Installation
Download the file [io_export_panim.py](https://raw.githubusercontent.com/Synphonyte/blender-panim-exporter/main/io_export_panim.py) and [install it in Blender as an addon](https://docs.blender.org/manual/en/latest/editors/preferences/addons.html#installing-add-ons).
## File format
The file format is a binary format that is designed to be as compact as possible. The following
shows the format of the file. It's given as `field_name - type`. All data is stored in little endian byte order.
At the moment only f32 frame values are supported.
```
version : u32
frames_per_second : f32
object_name : utf8 string, 0-terminated
property_name : utf8 string, 0-terminated
frame_start : u32
frame_end : u32
value_type : u8, not used currently. always 0.
reserved : 32 bytes of unused per prop data reserved for future use
frame_value : f32
```