[Bf-python] a direct x importer addon for 2.6x

Campbell Barton ideasman42 at gmail.com
Fri Nov 25 05:16:26 CET 2011


On Thu, Nov 24, 2011 at 6:52 PM, jerome <jerome.le.chat at free.fr> wrote:
> oh ok Campbell,
>
> this should be alright then, at least for objs, meshes and mats. (tex
> slots / img not supported yet but will be)
> I though you talked about python module namespaces, 'import / from bpy
> import' etc stuffs :)
>
> bpy.data.materials.new(name="MyMat").name = name
> :)
>
> J.

see found a way around but its not foolproof.

you might still exceed the name length or have a blank script - see:
http://www.blender.org/documentation/blender_python_api_2_60_5/info_gotcha.html#naming-limitations



More information about the Bf-python mailing list