Blender's BAT module as an addon, with zip packer added
 
Go to file
Pullusb 577f0e65ae doc update 2021-11-29 15:27:19 +01:00
blendfile initial commit 2021-10-18 15:54:04 +02:00
cli initial commit 2021-10-18 15:54:04 +02:00
pack initial commit 2021-10-18 15:54:04 +02:00
trace initial commit 2021-10-18 15:54:04 +02:00
.gitignore initial commit 2021-10-18 15:54:04 +02:00
README.md doc update 2021-11-29 15:27:19 +01:00
__init__.py changed zip pack label 2021-11-19 12:48:05 +01:00
bpathlib.py initial commit 2021-10-18 15:54:04 +02:00
cdefs.py initial commit 2021-10-18 15:54:04 +02:00
compressor.py initial commit 2021-10-18 15:54:04 +02:00
preferences.py added prefs for file zipper 2021-10-18 17:05:56 +02:00

README.md

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:

    • The root folder for zipping use the environment variable ZIP_ROOT (accessed with os.getenv('ZIP_ROOT') if defined).
    • If there is no such env variable, it fallback to path specified in addon preferences.
    • 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.
  • Add All Udim texture in pack

Changelog

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