Skip to main content

brep_simulation/
lib.rs

1//! Motion studies for BREP assemblies.
2//!
3//! A study lives in its assembly document's `simulation` block ([`model`]).
4//! Motors are mates: the author picks distance or angle mates and drives each
5//! at a constant speed or along a motion profile, and every other part follows
6//! through the assembly solver on each frame. Clips drive the rest of the
7//! timeline (mate on/off, camera, visibility, transparency, sections, exploded
8//! views). [`sample`] turns a study at one time into what the caller applies:
9//! mate overrides for the solver and the display state. This crate needs
10//! neither the kernel nor a GPU.
11
12pub mod forms;
13pub mod model;
14pub mod sample;
15
16pub use model::{Clip, ClipBody, Drive, Motor, Simulation, Study};
17pub use sample::{FrameSample, MateOverride};