Extensions:2.4/Py/Scripts/System/Blend library

提供: wiki
移動先: 案内検索
Blender Library
Library to store and catalog all your materials, objects, textures, etc.
UI location Group: Object
Version 1.3.4 - 2009.03.25 (See Below for other versions) Author(s) Mariano Hidalgo (AKA uselessdreamer)
Blender 2.42a - 2.48a License GPL
Note(s) Use the version below Script Update


Executable information
File name blend_library.py
Current version download blender_library_archive.zip (2009.03.25) - Script update for Blender 2.45-2.48, incl. older script versions

http://blenderscriptstorage.googlepages.com/blender_library_for243WIP.rar


Links http://useless-scripts.blogspot.com/2007/03/blender-library.html

Dedicated Thread in Python & Plugins forum at Blender Artists.

Release Log Dev:2.4/Py/Scripts/System/Blend_library


Support


Introduction

Manual-Script-blend library133.jpg

2007 Mariano Hidalgo (AKA uselessdreamer):

Blender Library is a Python script for Blender intended to provide an easy way to store, manage and retrieve frequently used items; such as materials, textures, objects, etc.

It also has built in import and export options to help share your items with the rest of the user community.

Since the script is merely and interface built on top of the current Blender appending system (⇧ ShiftF1) it will be most likely compatible with all future enhancements in upcoming Blender releases. As an example the material library was coded before the new Material Nodes and without changes in the script it can now store materials with nodes.

Usage

Instructions

2007 Mariano Hidalgo (AKA uselessdreamer):

To install, just place the script and the image in your Blender scripts folder. It register itself in the Object Scripts menu. The best way to run it is to split a Space side by side, switch it to Scripts and choose Blender Library from SCRIPTS -> OBJECT in the space header.

The first time you run it, it will ask you to choose a folder to store library content. Choose a folder and the library directory will be created there. If you choose C:\ for example, library will be C:\BlenderLib\ If you loose your settings or want to reuse an existing library in other blender installation, just choose the existing library folder in the previous step and the script will recognize it, gaining you access to all your previous items.

There are separated libraries for each type of items you can store. Currently there are libraries for: Actions, Armatures, Cameras, IPOs, Lamps, Lattices, Logic Bricks, Materials, Objects, Particle Settings, Paths, Poses, Scenes, Textures, Worlds.

Lamp library and Object library can store several lamps or objects in the same library item. This mean you can store lamps sets to properly light a scene or to store a full character made of different meshes and curves with its corresponding armature. The rest of the libraries can only store a single Blender datablock.

Despite this, when you add an item to the library it will also add all the stuff is related to it. If you add a object, its materials, textures, ipos, etc are also added. If you add a material, the textures it uses are also added.


Known Issues

  • Please CHOOSE A FOLDER AS CLOSE AS YOUR ROOT AS POSIBLE, if you don´t you´ll sooner or later will run into errors. This is due some limitations in bpython.
  • if blend_library.py script not installed in blender script folder, then library items (blend files) generate error message at opening in Blender, and crash if you tried to save/save-as them.