This repository has been archived on 2026-05-04 . You can view files and clone it, but cannot push or open issues or pull requests.
- ExportBatPack and BAT_OT_export_zip: catch EnvironmentError (typically
raised when zstandard is missing or the installed wheel is incompatible
with the embedded Python) and any other exception, and report it via
self.report instead of crashing the operator.
- file2blocks.BlockIterator: skip libraries that fail to open with a
warning instead of aborting the whole trace, so production blends with
one stale linked library still pack.
- preferences: use __package__ (stable, full dotted path) for the
AddonPreferences bl_idname instead of __name__.split('.')[0], which
breaks when the add-on is loaded under an unexpected module name.
- magic_compression: zstandard handling tweaks alongside the operator
error reports above.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
BAT (blender asset tracer)
Modified version of Blender's BAT
Modifications:
-
Additional export Zip pack - keep hierarchy
Standard Bat pack is doing an "assembly", modifying file internal links. This zip pack leave the file untouched. Behavior description:- The root folder for zipping use the environment variable
ZIP_ROOT(accessed withos.getenv('ZIP_ROOT')if defined). - if
ZIP_ROOTis not defined, usePROJECT_ROOTvariable. - If there is no such env variables, it fallback to path specified in addon preferences.
- A checkbox allow to avoid the replacement of root properties with env variables.
- In the export browser window settings (sidebar), user can choose the packing root folder, prefilled by env or addon preference path
- If nothing specified, root will be automatically defined with the most upper folder covering the whole dependancies hierarchy.
- The root folder for zipping use the environment variable
-
Add all UDIM texture in pack
Changelog
1.3.4
- added:
PROJECT_ROOTkey is used ifZIP_ROOTis not specified. Fallback to initial property if neither exists - added: checkbox to disable env variable check
1.3.3
- code: sys.module name corrected when addon folder isn't named
blender_asset_traceras expected
1.3.2
- changed: zip packer ops label
Export File to .ZIP>>Zip Pack - keep hierachy
1.3.1
- added: prefs for file zipper (fallback to this if env is not defined)
- changed: zip operator id_name
bpy.ops.adm.export_zip>>bpy.ops.bat.export_zip
Description
Languages
Python
100%