Skip to main content

brep_app/panels/
mod.rs

1//! The left-control-panel modules — one file per panel, each following ONE
2//! pattern so parallel agents can add a new panel with minimal conflict:
3//!
4//! * a small state struct (its own editing buffers only);
5//! * a `show(&mut self, ui: &mut egui::Ui, state: &mut EngineState, …)` method
6//!   the shell calls — `EngineState` (brep-render) stays the single brain,
7//!   borrowed in; pass the `ModelStore` where a panel persists.
8//!
9//! Adding a panel = add `panels/<name>.rs` (state struct + `show`), `pub mod
10//! <name>;` here, one field on `BrepApp`, and one `self.<name>.show(…)` call in
11//! the shell. See `brep-app/README.md` → "Adding a panel".
12
13pub mod action_rail;
14pub mod assembly_components;
15pub mod assembly_constraints;
16pub mod bom;
17pub mod bom_columns;
18pub mod bug_report;
19pub mod component_actions;
20pub mod context_bar;
21pub mod dock;
22pub mod document_tabs;
23pub mod mode_bar;
24pub mod expressions;
25pub mod file;
26pub mod file_explorer;
27pub mod history;
28pub mod info;
29pub mod info_windows;
30pub mod auto_constraints;
31pub mod interference;
32pub mod part_properties;
33pub mod parts_library;
34pub mod pmi;
35pub mod scene;
36pub mod selection;
37pub mod sketch;
38pub mod spline_anchors;
39pub mod settings;
40pub mod step_parts;
41pub mod stl_import;
42pub mod toasts;
43pub mod toolbar;
44pub mod toolbar_button;
45pub mod workbench_toolbar;
46pub mod tree;
47pub mod update_components;
48pub mod wire_harness;