Crate kittycad_modeling_cmds

source
Expand description

KittyCAD’s Modeling API lets you design 3D models.

§Beware

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. Why? Because we use this primarily for KittyCAD server and clients, where we are on top of all changes.

Re-exports§

Modules§

  • Base64 data that encodes to url safe base64, but can decode from multiple base64 implementations to account for various clients and libraries. Compatible with serde and JsonSchema.
  • Various coordinate systems.
  • chrono wrapper for datetimes.
  • Definition of each modeling command.
  • Import and export types.
  • Modeling command IDs, used to associated requests and responses. Also used to construct commands which refer to previous commands.
  • A little macro for easy implementation of cxx::ExternType
  • A length unit is a type that converts a length value from one unit to another. In the case of the engine we will always convert to millimeters, since that is what the engine uses.
  • When a modeling command is successful, these responses could be returned.
  • Controlling the rendering session.
  • Types that are shared between various modeling commands, like Point3d.
  • Units of measurement.
  • Types for the WebSocket API. Types for the websocket server.

Macros§

Structs§

Enums§

  • Enum containing the variety of image formats snapshots may be exported to.
  • Commands that the KittyCAD engine can execute.
  • Each modeling command (no parameters or fields).

Traits§