kittycad_modeling_cmds/
lib.rs

1//! KittyCAD's Modeling API lets you design 3D models.
2//! # Beware
3//! This project does not use semver. We are using 0.1.x for everything. If you use this crate, commit your Cargo.lock to avoid being broken when we publish a new version.
4//! Why? Because we use this primarily for KittyCAD server and clients, where we are on top of all changes.
5
6pub mod base64;
7#[cfg(feature = "convert_client_crate")]
8mod convert_client_crate;
9/// Various coordinate systems.
10pub mod coord;
11/// chrono wrapper for datetimes.
12pub mod datetime;
13/// The modeling command enum with each specific modeling command.
14mod def_enum;
15/// Import and export types.
16pub mod format;
17/// Modeling command IDs, used to associated requests and responses.
18/// Also used to construct commands which refer to previous commands.
19pub mod id;
20#[cfg(feature = "cxx")]
21pub mod impl_extern_type;
22pub mod length_unit;
23/// When a modeling command is successful, these responses could be returned.
24pub mod ok_response;
25/// Controlling the rendering session.
26pub mod session;
27/// Types that are shared between various modeling commands, like Point3d.
28pub mod shared;
29/// The modeling command trait that each modeling command implements.
30mod traits;
31/// Units of measurement.
32pub mod units;
33/// Types for the WebSocket API.
34#[cfg(feature = "websocket")]
35pub mod websocket;
36
37pub use def_enum::*;
38pub use ok_response::output;
39pub use traits::*;