2 unstable releases

0.3.0 Aug 27, 2023
0.2.0 Aug 21, 2023
0.1.0 Aug 20, 2023

#87 in Robotics

Download history 60/week @ 2023-08-19 34/week @ 2023-08-26 6/week @ 2023-09-02 6/week @ 2023-09-09 11/week @ 2023-09-16

66 downloads per month
Used in bevy_c3d

MIT/Apache

84KB
2K SLoC

c3dio

Crates.io

A c3d parser and eventually also a writer and editor written in Rust. It can be compiled to WebAssembly and, as a result, is available in 20+ languages.

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 part of the biomech.dev family of open-source libraries. 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

~3MB
~57K SLoC