#graphics #json #serialization #3d-model #bones #skeleton #data #pose #settings #pose3

pose3

data types for (de)serializing pose settings from pose3.json files

2 unstable releases

0.2.0 Nov 17, 2023
0.1.0 Nov 15, 2023

#27 in Data formats

Download history 59/week @ 2023-11-14 15/week @ 2023-11-21 20/week @ 2023-11-28 13/week @ 2023-12-05 6/week @ 2023-12-12 10/week @ 2023-12-19 12/week @ 2023-12-26 8/week @ 2024-01-02 6/week @ 2024-01-09 8/week @ 2024-01-16 4/week @ 2024-01-23 8/week @ 2024-01-30 11/week @ 2024-02-06 29/week @ 2024-02-13 83/week @ 2024-02-20

131 downloads per month
Used in 2 crates (via orphism)

MIT license

4KB

pose3 Latest Version

What is it?

Rust data types for (de)serializing pose settings from pose3.json files

How do I obtain this majestic tool?

Run the following Cargo command in your project directory (assuming you have cargo-edit installed):

cargo add pose3

Or add the following line to your Cargo.toml (in the [dependencies] array):

pose3 = "^ 0.2"

How do I use it?

use pose3::Pose3;

fn main() {
  let json = std::fs::read_to_string("./path/to/some.pose3.json").unwrap();
  let pose3: Pose3 = serde_json::from_str(&json).unwrap();
  println!("{pose3:#?}");
}

How was this made?

Using the discovery process for undocumented JSON formats described here.

License

pose3 is available under the MIT License. See LICENSE.txt for the full text.

While the license is short, it's still written in fancy lawyer-speak. If you prefer more down-to-earth language, consider the following:

  • tl;drLegal has a simple visual summary available here.
  • FOSSA has a more in-depth overview available here.

Dependencies

~1.4–2.3MB
~48K SLoC