项目作者: MattiasFredriksson
项目描述 :
Blender .c3d file importer
高级语言: Python
项目地址: git://github.com/MattiasFredriksson/io_anim_c3d.git
C3D File Importer for Blender
Blender addon for importing motion capture data found in .c3d files.

How to Install
- Download the latest version of
io_anim_c3d
from source code (intended for latest LTS release, see release section for stable/specific versions). - Open Blender
- Open the Edit->Preferences window.
- Go to the ‘Add-ons’ tab.
- Click the ‘Install…’ button.
- Navigate to the folder containing the downloaded .zip file and double-click the file.
- Enable the addon ‘Import-Export: C3D format’ in the addon window.
- Not there? Use the refresh button, restart blender, google how to install add-ons, or visit docs.blender.org.
How to Use
- Make sure the add-on is installed and enabled (see the ‘How to Install’ section).
- Go to File->Import->C3D (.c3d) to open the import window.
- Change the import settings (if needed).
- Navigate to the folder containing the .c3d file, and…
- Double-click to import a single file or
- Select file(s) to import and click the ‘Import C3D’ button.
Development
General guidelines and information how to configure the repository for development.
Tests
Unittests are available under the ‘tests/‘ folder. To run call:
tests/run.sh <path or alias to Blender executable>
Running tests require the addon to be installed to the Blender executable, simplest way to do so is to use the Blender development extension with the same executable as it will configure a symlink to the project, ensuring the test will run with the latest changes to the code. For running tests on Windows the console need to be able to handle bash scripts!
Unittests are minimal and should focus on testing the addon functionality. For functionality testing the importer go to the underlying .c3d parser project.
Code Style
- Classes should be in PascalCase
- Variables and functions should be in snake_case
- Code needs to be pep8 compliant (__init__.py has exemptions due to Blender dependencies).
- Addon property names should written with the first letter in each word capatilized.
- Don’t forget to exclude the dot (.) at the end of the description as it will be added automatically…
Further Questions?
If there are any questions or suggestions please visit the issue board and make a ticket, hopefully I will be able to answer questions within some reasonable time frame 😄.