Dev:2.5/Py/API/Generating API Reference/Contribute
目次
- 1 Python API docs todos
- 1.1 mathutils.Vector.ww
- 1.2 bpy.ops.mesh.duplicate_move
- 1.3 bpy.ops.armature.subdivide
- 1.4 bpy.ops.mesh.select_nth
- 1.5 bpy.ops.image.new
- 1.6 bpy.ops.armature.bone_primitive_add
- 1.7 bpy.ops.object.game_property_new
- 1.8 bpy.ops.mesh.vert_connect
- 1.9 mathutils.Vector.ww
- 1.10 bpy.ops.uv.reset
- 1.11 bpy.ops.object.duplicate_move
- 1.12 bpy.types.SpaceView3D.draw_handler_add
Python API docs todos
If you find undocumented items in Blender 2.5 Python API, you can suggest their docstrings content here. After your doc will be put in the code it will be cleaned from here.
Thanks!
mathutils.Vector.ww
result: Vector((w,w)) w the w component of 4D Vector Vector((x,y,z,w)).
x, y, z and w are all floats
bpy.ops.mesh.duplicate_move
Duplicates the selected geometry and translates the copy.
bpy.ops.armature.subdivide
Inserts the user specified number of new bones in place of each selected bone. The bone roll of the original bones will be used for all new ones.
bpy.ops.mesh.select_nth
Select every n number of vertices
bpy.ops.image.new
Create Image
bpy.ops.armature.bone_primitive_add
Add a new bone to the selected armature in the edit mode.
bpy.ops.object.game_property_new
Create a new game property on the active object. The new property is added to the end of the object's property list. New properties will be named 'prop', 'prop0', 'prop1' etc.
Example usage:
bpy.ops.object.game_property_new() prop = bpy.context.object.game.properties[-1] prop.name = 'Foo'
bpy.ops.mesh.vert_connect
mathutils.Vector.ww
Return a 2D Vector with two times the fourth (= w ) component of the original as components.
If v = Vector((1,2,3,4)) then v.ww gives Vector((4.0,4.0))
bpy.ops.uv.reset
Adapt UVs to the UV editor's area.
bpy.ops.object.duplicate_move
Example usage:
bpy.ops.object.select_pattern(pattern="Cube", case_sensitive=True, extend=False) bpy.ops.object.duplicate_move(TRANSFORM_OT_translate={"value":(1, 1, 1)})
bpy.types.SpaceView3D.draw_handler_add
draw_handler_add(yours_definition, (variable1, veriable2, ... ), 'WINDOW', 'POST_PIXEL')
your_definition is:
def your_definition(veriable1, veriable2, ... ): ...