[HN Gopher] The mystery of the blend file format (2009)
___________________________________________________________________
The mystery of the blend file format (2009)
Author : Tomte
Score : 15 points
Date : 2023-07-02 12:16 UTC (10 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| edflsafoiewq wrote:
| By far the easiest way to work with .blend files is to shell out
| to Blender, let it open the file for you, and use Blender's
| Python API to get whatever you need. blender -b
| your_file.blend -P python_script.py
|
| Besides not having to parse the file yourself, there's lots of
| stuff (like "where is this object on frame X") that can't be read
| from .blend alone but need the actual algorithms Blender uses, so
| it's easiest to just reuse Blender itself.
|
| The downside is the Python API breaks all the time.
___________________________________________________________________
(page generated 2023-07-02 23:02 UTC)