8 releases (breaking)

0.8.0 Apr 8, 2024
0.7.0 Jan 30, 2024
0.6.1 Dec 19, 2023
0.6.0 Nov 29, 2023

#1096 in Parser implementations

38 downloads per month
Used in 2 crates

MIT/Apache

185KB
4.5K SLoC

c3dio

Crates.io

A c3d parser, writer and editor written in Rust.

Usage

Load a c3d file:

use c3dio::{C3d, C3dParseError};
let c3d_data = C3d::load("test.c3d");

Load only the parameters/header (no data):

use c3dio::{C3d, C3dParseError};
let c3d_parameters = C3d::load_parameters("test.c3d");

Contributing

PRs, feature requests, and issues are welcome!

Support

c3dio is a stand-alone crate used in Chiron, an open-source biomechanics simulation and modeling package supported by the Biomechanics Foundation.

Consider supporting our work to help us contribute more to the body of biomechanics software.


lib.rs:

c3dio - Pure Rust C3D Parser

This crate provides a parser for C3D files. C3D is a binary file format used to store motion capture data. The format is described in the C3D file format documentation.

Examples

use c3dio::prelude::*;

let c3d = C3d::load("tests/data/short.c3d");
assert!(c3d.is_ok());

Dependencies