Sybren A. Stüvel
85cf257d2c
Upgrade Sphinx to the version bundled with Ubuntu 24.04 LTS
...
The old version of Sphinx depended on the `pathtools` library, which had
issues installing on my macbook.
2025-06-16 11:52:52 +02:00
Sybren A. Stüvel
03fa3f2d18
Drop support for Python 3.8
...
It is EOL and no longer supported by the Python foundation.
Also it is getting in the way of upgrading Sphinx.
2025-06-16 11:51:09 +02:00
Sybren A. Stüvel
b1d49627b1
Add Python 3.12 and 3.13 to the Tox environments
2025-06-16 11:41:00 +02:00
Sybren A. Stüvel
876dddb964
CHANGELOG: update log for 1.19 and mark it as released today
2025-06-16 11:26:00 +02:00
Sybren A. Stüvel
12ce4bfc6d
pyproject.toml: modernize use of deprecated tool.poetry.dev-dependencies
...
Use `[tool.poetry.group.dev.dependencies]` instead of the deprecated
`[tool.poetry.dev-dependencies]` section.
2025-06-16 11:24:13 +02:00
Jacques Lucke
f1ee7980b2
Support .blend files saved with large bhead
...
This is mostly the same as blender/blender!140195 . The header parsing code has
been updated to be able to read old and new .blend file headers.
There is a new test file which is the same as the existing `basic_file.blend`,
but saved with the new header format. A new unit test has been added to check
that this file is read correctly as well.
Pull Request: https://projects.blender.org/blender/blender-asset-tracer/pulls/92893
2025-06-13 12:25:51 +02:00
Sybren A. Stüvel
eb69ca5632
Add EndianIO.parse_pointer function
...
This is to parse in-memory pointer data bytes into an actual pointer value.
2025-01-24 15:34:46 +01:00
Sybren A. Stüvel
f2e28edc05
Implement reader & writer for int8_t type
2024-09-02 18:20:51 +02:00
Sybren A. Stüvel
e3d3d988b7
Re-lock package dependencies
...
Re-ran `poetry lock` to regenerate the `poetry.lock` file.
2024-09-02 18:20:51 +02:00
Sybren A. Stüvel
073bc8140a
Update CHANGELOG
2024-09-02 18:20:51 +02:00
jonasdichelle
16a092ddf1
Add Support for Dynamic Paint Modifier
...
Add support for the Dynamic Paint modifier point cache.
I added a walker to iterate through all surfaces on a canvas to get each surface's point cache.
Reviewed-on: https://projects.blender.org/blender/blender-asset-tracer/pulls/92889
Reviewed-by: Sybren A. Stüvel <sybren@blender.org>
2024-09-02 18:19:07 +02:00
Bastien Montagne
fe0b3e8f5e
Add a simple, direct way to use BAT, without requiring to setup a venv etc.
...
Allows to use `python3 path/to/cli.py my args` just from source code,
without requiring to set up a whole venv for that. Much simpler when
only 'regular' debuging in code logic itself is needed.
2024-08-13 18:01:38 +02:00
Sybren A. Stüvel
42dd5ec1b6
Bumped version to 1.18
v1.18
2024-01-11 16:43:11 +01:00
Sybren A. Stüvel
77778f1895
Mark v1.18 as released today
2024-01-11 16:39:27 +01:00
Olivier Charvin
44d1d2ff90
Fix IES lights asset tracing
...
Fix an issue where BAT failed with a `KeyError` (because it couldn't
find the `filepath` property) when handling IES light files.
Also add example files & unit tests.
Reviewed-on: https://projects.blender.org/blender/blender-asset-tracer/pulls/92886
2024-01-11 16:34:28 +01:00
Sybren A. Stüvel
15f00e6c92
Add support for reading uchar aka uint8_t
2024-01-08 17:08:13 +01:00
Olivier Charvin
ced4af98a3
Add support for OpenVDB
...
Add support for tracing `VO` data-blocks, for OpenVDB volumes.
2024-01-02 16:32:04 +01:00
Sybren A. Stüvel
937ecfdece
Update CHANGELOG
2023-12-18 17:59:37 +01:00
Sybren A. Stüvel
98892151ed
Bumped version to 1.18-dev0
2023-12-18 17:58:30 +01:00
Olivier Charvin
2099827554
blocks2assets: debug filepath on reading unsupported blocks ( #92885 )
...
When logging that there is no reader implemented for a certain
data-block type, include the filepath of the blend file that contains
that data-block.
Reviewed-on: https://projects.blender.org/blender/blender-asset-tracer/pulls/92885
2023-12-18 17:57:42 +01:00
Sybren A. Stüvel
47e7c00845
Bumped version to 1.17
v1.17
2023-12-14 11:54:30 +01:00
Sybren A. Stüvel
1abb8e5650
Mark 1.17 as released today
2023-12-14 11:54:21 +01:00
Sybren A. Stüvel
61dc5b8a23
Fix issue packing lamps with non-IES 'storage'
...
Lamp/light nodes might have a `storage` property that might point to an
IES texture node (which has the expected `filepath`), but not always.
The latter now no longer crashes BAT.
This fixes https://projects.blender.org/blender/blender-asset-tracer/pulls/92883
2023-12-14 11:36:55 +01:00
Sybren A. Stüvel
81ea8296da
Bump version to 1.17-dev0
2023-12-14 11:36:34 +01:00
Sybren A. Stüvel
2a9bdc5206
Mark 1.16 as released today
v1.16
2023-11-02 15:47:35 +01:00
Sybren A. Stüvel
c4ff3fdb54
Bumped version to 1.16
2023-11-02 15:46:01 +01:00
Sybren A. Stüvel
29c0ba14b1
CHANGELOG: add Python version changes
...
Document drop of support for 3.7.
Also I forgot to mention that v1.15 added support for Python 3.11.
2023-11-02 15:07:17 +01:00
Sybren A. Stüvel
e2b2e6fb68
Drop support for Python 3.7
...
Python 3.7 is EOL, no longer supported.
2023-11-02 15:05:31 +01:00
Sybren A. Stüvel
36c258985e
Cleanup: formatting change of pyproject.toml
...
No functional changes.
2023-11-02 15:05:16 +01:00
Sybren A. Stüvel
ef5b83feda
CHANGELOG: update for new tracing behaviour of directory assets
2023-11-02 15:01:05 +01:00
Sybren A. Stüvel
606377180c
Pack: always pack files, explode directories to a list of files
...
When an asset is represented as directory in Blender (for example fluid
simulation caches), that directory is traced and each file is considered
an asset.
This makes it considerably easier for Shaman clients, as they need to
compute the SHA256 checksum of each file. The logic to transform a
directory path to a list of the contained files is now in BAT itself.
2023-11-02 14:53:52 +01:00
Sybren A. Stüvel
f9bc6f2d08
Cleanup: fix mypy errors
...
This mostly handles a mypy change where implicit optionals (i.e. things
like `size: int = None`) are no longer allowed.
No functional changes.
2023-11-02 14:46:38 +01:00
Sybren A. Stüvel
b3fb7845c3
Cleanup: Reformat with black
...
No functional changes.
2023-11-02 14:40:27 +01:00
Olivier Charvin
74b3df5f99
Add support for IES lights
...
Add support for tracing `.ies` files referenced by lights.
Reviewed-on: https://projects.blender.org/blender/blender-asset-tracer/pulls/92883
2023-10-16 12:14:07 +02:00
Sybren A. Stüvel
055457ab67
Add BlendFileBlock.raw_data() and .as_string() functions
...
Add functions to interpret the data in a `BlendFileBlock` as either `bytes`
or `string`. This is used to obtain the contents of a `char*` (instead
of an embedded `char[N]` array).
2023-05-16 16:01:38 +02:00
Sybren A. Stüvel
d2b353d1bf
README: fix copy-paste error
v1.15
2022-12-16 15:26:26 +01:00
Sybren A. Stüvel
9641ea1b58
Adjust filenames for newer Poetry
...
Newer Poetry versions seem to write sources to
`blender_asset_tracer-1.15.tar.gz`, i.e. with underscores in the name,
just like the wheel file.
2022-12-16 15:25:19 +01:00
Sybren A. Stüvel
64d657ead2
Poetry: include a readme setting
...
This should include the contents of `README.md` in the package & show it
on the Python package index.
2022-12-16 15:22:27 +01:00
Sybren A. Stüvel
54456e0c35
Also test on Python 3.11
2022-12-16 15:14:09 +01:00
Sybren A. Stüvel
e6669887ce
Update all dependencies to their latest versions
2022-12-16 15:08:59 +01:00
Sybren A. Stüvel
aba2b673f1
Change my email address
...
Change the email address to my work address.
2022-12-16 15:01:38 +01:00
Sybren A. Stüvel
ce19808f5c
Bumped version to 1.15
2022-12-16 15:00:43 +01:00
Sybren A. Stüvel
8f933ef862
Mark 1.15 as released today
2022-12-16 15:00:31 +01:00
Sybren A. Stüvel
517e8eee23
Bumped version to 1.15-dev0
2022-12-16 14:49:56 +01:00
Sybren A. Stüvel
1e8c924990
Add support for fluid simulation caches
...
Add `eModifierType_Fluid` support, with non-pointcache caches. The entire
cache directory is considered a dependency to list/pack.
2022-12-16 14:49:36 +01:00
Sybren A. Stüvel
1541c52520
Version bump to 1.14
...
This was actually released in 2022-09-12, but I forgot to commit!
v1.14
2022-12-02 13:11:37 +01:00
Sybren A. Stüvel
79193a60cd
CHANGELOG: mark 1.14 as released today
2022-09-12 15:28:04 +02:00
Sybren A. Stüvel
330b179a44
README: add new instructions on building & publishing
...
PyPi requires an API token nowadays, for uploading packages. The README
now includes instructions on how to set those up & use them.
2022-09-12 15:28:04 +02:00
Sybren A. Stüvel
3bcb9bab0e
Publish packages with Twine
...
Twine is the preferred way to publish Python packages nowadays.
2022-09-12 15:27:51 +02:00
Sybren A. Stüvel
051cab877c
Poetry: update dependencies
2022-09-12 15:06:08 +02:00