Naming ConventionsΒΆ
Stick to the official Python style guide (PEP 8).
Instances of Blender classes start with
b_whilst instances of nif classes start withn_. Examples:n_objfor a genericpyffi.formats.nif.NifFormat.NiObjectn_geomfor apyffi.formats.nif.NifFormat.NiGeometryb_meshfor a Blenderbpy.types.Meshb_facefor a Blenderbpy.types.MeshFaceb_vertexfor a Blenderbpy.types.MeshVertexb_vectorfor a Blendermathutils.Vectorb_objfor a Blenderbpy.types.Objectb_matfor a Blenderbpy.types.Materialb_bonefor a Blenderbpy.types.Bone
Todo
These conventions are not yet consistently applied in the code.