Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2004-11-07 19:31:13 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2004-11-07 19:31:13 +0300
commitc702b237d5f9a542c1d327e1c87a5b7e7ec81590 (patch)
tree99347ced1b1260843aff9c6f70670a2a9d45f7f8 /release/scripts/blender2cal3d.py
parent23e8b982288699258c4bf4d7f5464f968b98d5cf (diff)
Scripts:
-- adding help_browser.py to show help for installed scripts; -- updated scripts to include basic doc info to be shown with above script: script authors can / will / should update with more info, of course; -- updated some scripts to newer versions: disp_paint, fixfromarmature, hotkeys, etc.
Diffstat (limited to 'release/scripts/blender2cal3d.py')
-rw-r--r--release/scripts/blender2cal3d.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/release/scripts/blender2cal3d.py b/release/scripts/blender2cal3d.py
index 07728df50b3..3d7d148a55c 100644
--- a/release/scripts/blender2cal3d.py
+++ b/release/scripts/blender2cal3d.py
@@ -6,6 +6,46 @@ Blender: 234
Group: 'Export'
Tip: 'Export armature/bone data to the Cal3D library.'
"""
+
+__author__ = ["Jean-Baptiste Lamy (Jiba)", "Chris Montijin", "Damien McGinnes"]
+__url__ = ("blender", "elysiun", "Cal3D, http://cal3d.sf.net")
+__version__ = "0.7"
+
+__bpydoc__ = """\
+This script exports armature / bone data to the well known open source Cal3D
+library.
+
+Usage:
+
+Simply run the script to export available armatures.
+
+Supported:<br>
+ Cal3D versions 0.7 -> 0.9.
+
+Known issues:<br>
+ Material color is not supported yet;<br>
+ Cal3D springs (for clothes and hair) are not supported yet;<br>
+ Cal3d has a bug in that a cycle that doesn't have a root bone channel
+will segfault cal3d. Until cal3d supports this, add a keyframe for the
+root bone;<br>
+ When you finish an animation and run the script you can get an error
+(something with KeyError). Just save your work and reload the model. This is
+usually caused by deleted items hanging around;<br>
+ If a vertex is assigned to one or more bones, but has for each bone a
+weight of zero, there used to be a subdivision by zero error somewhere. As a
+workaround, if sum is 0.0 then sum becomes 1.0. It's recommended that you give
+weights to all bones to avoid problems.
+
+Notes:<br>
+ Objects/bones/actions whose names start by "_" are not exported so call IK
+and null bones _LegIK, for example;<br>
+ All your armature's exported bones must be connected to another bone
+ (except for the root bone). Contrary to Blender, Cal3D doesn't support
+"floating" bones.<br>
+ Actions that start with '@' will be exported as actions, others will be
+exported as cycles.
+"""
+
# $Id$
#
# Copyright (C) 2003 Jean-Baptiste LAMY -- jiba@tuxfamily.org