Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
381605be
Commit
381605be
authored
Apr 5, 2004
by
Joseph Gilbert
Browse files
Options
Downloads
Patches
Plain Diff
- documentation for armature/bone methods update
parent
136b66c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/blender/python/api2_2x/doc/Armature.py
+22
-7
22 additions, 7 deletions
source/blender/python/api2_2x/doc/Armature.py
with
22 additions
and
7 deletions
source/blender/python/api2_2x/doc/Armature.py
+
22
−
7
View file @
381605be
...
@@ -46,7 +46,7 @@ class Armature:
...
@@ -46,7 +46,7 @@ class Armature:
===================
===================
This object gives access to Armature-specific data in Blender.
This object gives access to Armature-specific data in Blender.
@cvar name: The Armature name.
@cvar name: The Armature name.
@cvar bones:
The Armature root bones (cannot be set yet)
.
@cvar bones:
A List of Bones that make up this armature
.
"""
"""
def
getName
():
def
getName
():
...
@@ -64,15 +64,19 @@ class Armature:
...
@@ -64,15 +64,19 @@ class Armature:
def
getBones
():
def
getBones
():
"""
"""
Get the Armature
root
bones.
Get
all
the Armature bones.
@rtype:
list of Blender Bones
@rtype:
PyList
@return: a list of
A
rmature
bones
.
@return: a list of
PyBone objects that make up the a
rmature.
"""
"""
def
set
Bone
s
(
bone
s
):
def
add
Bone
(
bone
):
"""
"""
Set the Armature root bones (still unimplemented).
Add a bone to the armature.
@warn: This method wasn
'
t implemented yet.
@type bone: PyBone
@param bone: The Python Bone to add to the armature.
@warn: If a bone is added to the armature with no parent
if will not be parented. You should set the parent of the bone
before adding to the armature.
"""
"""
class
Bone
:
class
Bone
:
...
@@ -101,6 +105,8 @@ class Bone:
...
@@ -101,6 +105,8 @@ class Bone:
"""
"""
Get the roll value.
Get the roll value.
@rtype: float
@rtype: float
@warn: Roll values are local to parent
'
s objectspace when
bones are parented.
"""
"""
def
getHead
():
def
getHead
():
...
@@ -163,6 +169,8 @@ class Bone:
...
@@ -163,6 +169,8 @@ class Bone:
Set the roll value.
Set the roll value.
@type roll: float
@type roll: float
@param roll: The new value.
@param roll: The new value.
@warn: Roll values are local to parent
'
s objectspace when
bones are parented.
"""
"""
def
setHead
(
x
,
y
,
z
):
def
setHead
(
x
,
y
,
z
):
...
@@ -221,3 +229,10 @@ class Bone:
...
@@ -221,3 +229,10 @@ class Bone:
@param imag_j: The new quat[2] value.
@param imag_j: The new quat[2] value.
@param imag_k: The new quat[3] value.
@param imag_k: The new quat[3] value.
"""
"""
def
setParent
(
bone
):
"""
Set the bones
'
s parent in the armature.
@type bone: PyBone
@param bone: The Python bone that is the parent to this bone.
"""
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment