Difference between revisions of "Reference desk"
Views
Actions
Namespaces
Variants
Tools
| Line 18: | Line 18: | ||
2- enable the addon, and save your user preferences, you'll get a rather useless panel in your toolbar.[[File:blank_refdesk.png]] | 2- enable the addon, and save your user preferences, you'll get a rather useless panel in your toolbar.[[File:blank_refdesk.png]] | ||
| − | 3- In a scene file: In the properties > scene > custom properties add a property library, containing a string that is the path to the JSON file (usually: ../../library.json)[[File: | + | 3- In a scene file: In the properties > scene > custom properties add a property library, containing a string that is the path to the JSON file (usually: ../../library.json)[[File:library_property.png]] |
| − | 4- the buttons will appear in the reference desk panel in the toolbar. Add library assets at will.[[File: | + | 4- the buttons will appear in the reference desk panel in the toolbar. Add library assets at will.[[File:refdesk.png]] |
Revision as of 08:44, 24 August 2011
Reference Desk is a Blender Addon developed for tube by Christopher Allan Webber, of Mediagoblin fame, and further tweaked by Bassam Kurdali.
Theory of operation
Reference Desk uses a JSON file 'library.json' to store a list of tasks per linked asset :
- groups to link and instance - groups to link only - scripts to link - scripts to run after linking all of the above.
It presents an interface in the Toolbox area of the 3D view (left side panels), with a search box and a set of buttons for each asset. For each button pressed, it will look up the asset in the JSON file, link in all items, and then run the post install script on them. This allows you to link e.g. the entire station by one button press.
Installation and Usage
1- install the addon: file->user preferences->addons tab->Install addon: $SVNROOT/lib/python/addons/reference_desk.py
2- enable the addon, and save your user preferences, you'll get a rather useless panel in your toolbar.
3- In a scene file: In the properties > scene > custom properties add a property library, containing a string that is the path to the JSON file (usually: ../../library.json)
4- the buttons will appear in the reference desk panel in the toolbar. Add library assets at will.