blender/release/scripts
Campbell Barton 9035253493 [#14392] C3D Import
c3d importer for motion capture data
This could do with some improvements but for now its acceptable.
- Note, could people please not mix tabs and spaces.


-Text copied from the patch submission-
The c3d_import with 2.46 was able to import a mocap cloud for some c3d files. I have improved it:
Version History:
 0.4: PERIN Released under Blender Artistic Licence
 0.5: WICKES used marker names, fixed 2.45 depricated call
 0.6: WICKES creates armature for each subject
 0.7: WICKES constrains armature to follow the empties (markers). Verified for shake hands s
 0.8: WICKES resolved DEC support issue

see also http://wiki.blender.org/index.php/Tutorials%5CMoCap-Section_3 for how this program gets the mocap data into
Blender and creates an armature, like the BVH script does.

I'd like someone to test and verify, and if accepted, replace the current c3d_import.py

--- See patch url for example files http://projects.blender.org/tracker/index.php?func=detail&aid=14392&group_id=9&atid=127
2008-06-22 21:48:02 +00:00
..
bpydata fixed flt_import problem adding materials to the mesh, made untextured faces not go pink. 2006-07-28 08:59:44 +00:00
bpymodules remove module dxfImportObjects.py. It is obsolete since 2.43, then all functions integrated in the main dxf-importer code 2008-05-22 08:29:54 +00:00
3ds_export.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
3ds_import.py for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes 2008-05-25 13:48:36 +00:00
ac3d_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
ac3d_import.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
add_mesh_empty.py * adds EmptyMesh to the menu 2007-06-28 08:33:04 +00:00
add_mesh_torus.py tooltips for some dual toggle buttons as well as tooltips from wim van hoydonck ([#8166] [python-scripts] fix for tooltips of torus primitive + newline) 2008-01-28 10:56:42 +00:00
animation_trajectory.py animation_trajectory - was printing deprecation warnings. cleaned up some of its code too. 2007-02-07 07:43:10 +00:00
armature_symmetry.py PyAPI. 2007-04-18 14:40:01 +00:00
Axiscopy.py mesh_skin updated to use ed.key, other minor cleanups. 2006-12-25 23:14:48 +00:00
bevel_center.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
blenderLipSynchro.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
bvh_import.py constant name was wrong. possibly changed between blender versions 2007-09-05 01:02:03 +00:00
c3d_import.py [#14392] C3D Import 2008-06-22 21:48:02 +00:00
camera_changer.py updated this script (one of the most out of date) 2007-01-28 03:36:33 +00:00
config.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
console.py used fixed width font, set the command history to ignore dupes when pressing up/down 2008-05-02 10:33:32 +00:00
DirectX8Exporter.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
DirectX8Importer.py misc changes from stable 2007-08-01 18:04:44 +00:00
discombobulator.py dont use tface hide or select anymore, since maintaining 2 sets of hide/select data for each face is annoying. 2007-04-29 13:39:46 +00:00
envelope_symmetry.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
export_fbx.py fix for [#12797] FBX Exporter Exports Incorrect Matterial EmissiveFactor and DiffuseFactor 2008-05-24 12:22:53 +00:00
export_lightwave_motion.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
export_m3g.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
export_map.py quake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch 2007-03-01 02:25:20 +00:00
export_mdd.py The mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67) 2008-04-20 16:18:43 +00:00
export_obj.py left in prints 2008-02-27 23:11:04 +00:00
export-iv-0.1.py Added GPL Headers to some of my scipts that were missing it. also changed the header of a few others. 2007-02-14 01:03:32 +00:00
faceselect_same_weights.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
flt_defaultp.py -> FLT palette alpha bug 2008-03-18 22:55:40 +00:00
flt_export.py -> FLT import bug (loose vertices) 2008-05-15 19:35:17 +00:00
flt_filewalker.py -> Updated FLT scripts 2007-11-22 01:43:24 +00:00
flt_import.py -> FLT import: Zero area N-gon bug fix 2008-05-24 18:43:02 +00:00
flt_palettemanager.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
flt_properties.py -> Extension Node attribute support for FLT I/O 2008-03-28 00:08:41 +00:00
flt_toolbar.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_bpy_api.py I added a duplicate script, not realizing "Python Reference" was refering to "Blender Python API" 2007-05-20 12:29:19 +00:00
help_browser.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_getting_started.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_manual.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_release_notes.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_tutorials.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_web_blender.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_web_devcomm.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_web_eshop.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
help_web_usercomm.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
hotkeys.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
IDPropBrowser.py This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
image_auto_layout.py bugfix's for 6917 and 6913 - Both were because I forgot to check all other selected meshes for faceUV's 2007-07-09 17:33:38 +00:00
image_billboard.py image render to billboard was rotating UV's incorrectly, also make use of texface alpha rather then making many materials with textures. 2008-03-12 10:00:52 +00:00
image_edit.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
import_dxf.py import_dxf.py script update: ver. 1.0.12b3-2008.06.05 2008-06-05 12:31:16 +00:00
import_lightwave_motion.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
import_mdd.py Missed a few lines in import_mdd.py 2008-01-14 05:58:38 +00:00
import_obj.py Problem with OBJ import found by Mark Ivey - would not import an obj if all verts were int values. 2007-12-19 07:44:37 +00:00
lightwave_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
lightwave_import.py sorry about this, 3rd commit to fix this small error. 2008-01-25 20:44:36 +00:00
md2_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
md2_import.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_boneweight_copy.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_cleanup.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_edges2curves.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_mirror_tool.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_poly_reduce.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
mesh_skin.py wizard_curve2tree.py - always use active object (local view was messing up the context) 2007-11-21 11:53:30 +00:00
mesh_solidify.py PyAPI. 2007-04-18 14:40:01 +00:00
mesh_unfolder.py ==Unfolder python script update== 2007-10-24 09:02:58 +00:00
mesh_wire.py mesh_wire.py - gave an error with no faces, 2007-11-22 16:30:14 +00:00
ms3d_import.py bugfix from Markus Ilmola (glome) 2008-06-16 14:08:24 +00:00
obdatacopier.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
object_apply_def.py render layer saving script assumed scriptsdir existed. 2008-05-09 17:13:03 +00:00
object_batch_name_edit.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
object_cookie_cutter.py This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
object_drop.py outliner messed up shift+clicking on linked objects - would display their library path rather then selecting them. displaying library path could be useful but should add elsewhere. 2008-01-22 00:56:35 +00:00
object_find.py bugfix for [#6818] object_find.py assumes active uv layer is set 2007-06-10 04:10:25 +00:00
object_random_loc_sz_rot.py This commit fixes up a bunch of svn properties to hopefully make things a little nicer for everyone. 2007-08-28 10:07:08 +00:00
object_sel2dupgroup.py uvcalc_lightmap, UVCalc menu, usefull for using the most texture area when baking lightmaps 2007-02-19 10:54:33 +00:00
object_timeofs_follow_act.py outliner messed up shift+clicking on linked objects - would display their library path rather then selecting them. displaying library path could be useful but should add elsewhere. 2008-01-22 00:56:35 +00:00
off_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
off_import.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
paths_import.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
ply_export.py - fix for [#7327] Problem/issue with .PLY export, 2007-12-05 20:21:25 +00:00
ply_import.py * added armature (bones) support to the fbx exporter. Only rest state, no animation yet. 2007-08-06 20:20:20 +00:00
raw_export.py fix for [#9651] raw_export.py tooltip outdated? 2008-04-28 16:09:17 +00:00
raw_import.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
renameobjectbyblock.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
render_save_layers.py render layer saving script assumed scriptsdir existed. 2008-05-09 17:13:03 +00:00
rvk1_torvk2.py added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use 2008-05-11 12:41:12 +00:00
save_theme.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
scripttemplate_camer_object.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
scripttemplate_ipo_gen.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
scripttemplate_mesh_edit.py was missing editmode exit in script template 2007-06-10 17:28:21 +00:00
scripttemplate_metaball_create.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
scripttemplate_object_edit.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
scripttemplate_pyconstraint.py Bugfix #8710: 2008-03-23 02:28:24 +00:00
slp_import.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
sysinfo.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
unweld.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
uv_export.py Made the remaining UV py scripts work with editmesh now. 2007-09-24 09:40:09 +00:00
uv_seams_from_islands.py bugfix, edges with no faces raised an error. 2008-05-27 13:32:10 +00:00
uvcalc_follow_active_coords.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
uvcalc_lightmap.py bugfix for zero area faces and adding uv layers was not checking if the 2008-05-27 15:14:35 +00:00
uvcalc_quad_clickproj.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
uvcalc_smart_project.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
uvcopy.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
vertexpaint_from_material.py dont use tface hide or select anymore, since maintaining 2 sets of hide/select data for each face is annoying. 2007-04-29 13:39:46 +00:00
vertexpaint_gradient.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
vertexpaint_selfshadow_ao.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
vrml97_export.py == VRML97 exporter == 2008-06-18 21:16:29 +00:00
weightpaint_average.py simple weight invert script for the weightpaint menu, removed a print from weightpaint_average.py 2007-11-19 10:17:55 +00:00
weightpaint_clean.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
weightpaint_copy.py dont use tface hide or select anymore, since maintaining 2 sets of hide/select data for each face is annoying. 2007-04-29 13:39:46 +00:00
weightpaint_envelope_assign.py toolbox.c - for the label in VarStruct use the tooltip for the text to get around the 15 char limit that only allowed you to fill about half of the available area on the clever numbuts panel, 2007-01-04 11:43:13 +00:00
weightpaint_gradient.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
weightpaint_grow_shrink.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
weightpaint_invert.py typo in Text3d, weightpaint_invert wasnt working properly 2007-11-19 10:49:12 +00:00
weightpaint_normalize.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
widgetwizard.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
wizard_curve2tree.py wizard_curve2tree was opening FBX wiki docs. leaf dupliface object was being offset each time the script ran. 2008-05-02 12:27:05 +00:00
x3d_export.py * added support for exporting dupli objects 2008-05-07 15:38:40 +00:00
xfig_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
xsi_export.py added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00