Aug 24, 2015 www.caseyunderhill.com Learn to create your very own material library in Blender so you can easily create, append, and save materials. Any good free materials libraries online? Matlibvx addon, is an addon that add a library (empty) to blender so you can store your on materials, etc.
Love it, i've been intending to do this for a while too. The materials are set internally to Blender so they should be translatable to external renderers just you would make them from other Blender standard materials. On that note, I intended to incorporate a function to have some pre-sets similar to the list you get with external renderers.
Plastic, metal, glass, etc. (even if just taken from: ) Preview, as said pre-make and only load and display one at a time to save memory and resources etc.
(but have feature to not bother (i'd just remember)) Great work!
Warning: This module is being considered for deprecation. Users should consider using the module and stay tuned to see which module is supported in the end. Example: import Blender from Blender import Library def f(name): openlibrary(name) def openlibrary(name): Library.Open(name) groups = Library.LinkableGroups for db in groups: print 'DATABLOCK%s:'% db for obname in Library.Datablocks(db): print obname if 'Object' in groups: for obname in Library.Datablocks('Object'): Library.Load(obname, 'Object', 0) # note the 0.
Library.Update Library.Close b.Redraw b.Window.FileSelector(f, 'Choose Library', '.blend') Functions bool ( filename) Open an existing.blend file. Close Close the currently open library file, if any. String Get the filename of the currently open library file. List of strings Get all the linkable group names from the currently open library file. ( group) Get all datablock objects of the given 'group' available in the currently open library file. ( datablock, group, update= 1, linked= 0) Load the given datablock object from the current library file Update all links and display lists in Blender.
List of strings Return a list of all libs used in the the open.blend file (direct and indirect). Variables package = None Function Details. Load( datablock, group, update= 1, linked= 0) Load the given datablock object from the current library file Parameters:. datablock (string) - an available object name, as returned. group (string) - an available group name, as returned. update (bool) - defines if Blender should be updated after loading this object.
This means linking all objects and remaking all display lists, so it is potentially very slow. linked (bool) - Will keep objects linked to their source blend file, the update option or later updating will unlink the data from the original blend and make it local.