8 releases (breaking)

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

#1 in #biomechanics

Download history 1/week @ 2023-12-20 12/week @ 2024-01-24 3/week @ 2024-01-31 5/week @ 2024-02-14 21/week @ 2024-02-21 10/week @ 2024-02-28 4/week @ 2024-03-06 28/week @ 2024-03-13 3/week @ 2024-03-27 146/week @ 2024-04-03

179 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