Skip to main content

sim_core/
lib.rs

1//! Core: fixed-step integrator, state vector, signals, config loading, test harness. Knows no physics.
2
3pub mod config;
4pub mod i18n;
5pub mod integrate;
6pub mod machine;
7pub mod scene;
8pub mod testkit;
9
10pub use config::{Bound, Config, ConfigError, ConfigHint};
11pub use i18n::Translations;
12pub use integrate::{MOST_CUTS, Rk4, advance, advance_refined};
13pub use machine::{
14    AxisInfo, BASE_AXES, BeltSection, CamCurve, CamMaster, ENERGY_PARTS, FRICTION_SIGNALS, FrameMomentum,
15    FrictionContact, LOSS_PREFIX, Machine, MachineEntry, Mode, MotorInfo, RatingCheck, SignalInfo, TEMPERATURE_PREFIX,
16    THERMAL_KINDS, TORQUE_PARTS, ThermalPart, Train, tool_force_on_rates,
17};
18pub use scene::{Aabb, Arrow, Capsule, Label, Obstacle, Part, Scene, Shape};