brep_instructions/lib.rs
1//! Manufacturing instructions for BREP assemblies.
2//!
3//! An instructions document is its own file: it places one revision of an
4//! assembly as a single grounded component and keeps what the author writes
5//! in its `instructions` block ([`model`]). This crate is the plain-data half:
6//! the block, the step-order [`wizard`], step editing ([`edit`]), re-targeting
7//! to a new assembly revision ([`retarget`]), printed page layout
8//! ([`layout`], with a step's fields as a paper form: [`record`]), the fields a
9//! step records ([`fields`]) and the HTML [`player`]. [`source`] reads the
10//! wizard's input straight from an assembly document's JSON. It needs neither
11//! the kernel nor a GPU, so a server can serve the player and a test can run
12//! the wizard alone.
13//!
14//! The `schema` feature derives JSON Schemas for the block's and the fields' types. See the
15//! README for a module-by-module summary.
16
17pub mod edit;
18pub mod fields;
19pub mod layout;
20pub mod model;
21pub mod player;
22pub mod record;
23pub mod retarget;
24pub mod source;
25pub mod wizard;
26
27pub use model::{Instructions, Step, Target};
28