From 9607fac3a50ffc3f50c08c47e2117446f73301ec Mon Sep 17 00:00:00 2001 From: Joseph Gilbert Date: Mon, 21 Nov 2005 15:44:59 +0000 Subject: [PATCH] A few more doc updates --- source/blender/python/api2_2x/doc/API_intro.py | 3 +-- source/blender/python/api2_2x/doc/Armature.py | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/source/blender/python/api2_2x/doc/API_intro.py b/source/blender/python/api2_2x/doc/API_intro.py index 4544222f14d..999d692ae0c 100644 --- a/source/blender/python/api2_2x/doc/API_intro.py +++ b/source/blender/python/api2_2x/doc/API_intro.py @@ -13,8 +13,7 @@ The Blender Python API Reference Submodules: ----------- - - L{Armature} (broken, needs rewrite) - - L{Bone} + - L{Armature} (work in progress) - L{NLA} - L{BGL} - L{Camera} diff --git a/source/blender/python/api2_2x/doc/Armature.py b/source/blender/python/api2_2x/doc/Armature.py index 57b95e186ae..8a0ff25eb6b 100644 --- a/source/blender/python/api2_2x/doc/Armature.py +++ b/source/blender/python/api2_2x/doc/Armature.py @@ -37,19 +37,19 @@ def Get (name = None): class ArmatureType: """ The ArmatureType object - =================== + ======================= This object gives access to Armature-specific data in Blender. @ivar name: The Armature name. @ivar bones: A Dictionary of Bones that make up this armature. """ - def __init__(name = myArmature): + def __init__(name = 'myArmature'): """ Initializer for the ArmatureType TypeObject. - @param name: The name for the new armature - @type name: string Example:: myNewArmature = Blender.Armature.ArmatureType('AR_1') + @param name: The name for the new armature + @type name: string """ def getName(): @@ -82,13 +82,13 @@ class ArmatureType: def saveChanges(): """ Save all changes and update the armature. - @preconditions: Must have called makeEditable() first. + @note: Must have called makeEditable() first. """ class BonesDict: """ The BonesDict object - =============== + ==================== This object gives gives dictionary like access to the bones in an armature. """ @@ -116,7 +116,7 @@ class BonesDict: class BoneType: """ The BoneType object - =============== + =================== This object gives access to Bone-specific data in Blender. @ivar name: The name of this Bone. @ivar roll: This Bone's roll value.