BREP_app 0.36.1

The next.BREP.io CAD application on the Rust B-rep kernel: an eframe (egui + wgpu) host that draws the brep-render 3D engine into an egui frame, native + wasm from one codebase.
Documentation
//! Canvas content: the chips the 3D viewport draws over the model (dimension
//! values, annotation and label text, sketch readouts). Lane UI-WORKBENCHES,
//! rollout step 5.
//!
//! These are not chrome. They sit on the viewport, whose background and model
//! colours stay the shipped display defaults whatever the UI theme is (spec
//! section 8: viewport rendering is out of scope), and their text is drawn in
//! the viewport's own colours (dimension orange, the sketch display settings).
//! So they keep egui's own button art on purpose, built here so a panel never
//! constructs a raw `egui::Button` itself, and so a later viewport refresh has
//! one place to restyle them.
use eframe::egui;

/// A viewport chip: an `egui::Button` over `atoms` (text, or an icon and
/// text), for the caller to chain `.frame`, `.wrap_mode`, `.sense` and
/// `.min_size` on exactly as before.
pub fn chip<'a>(atoms: impl egui::IntoAtoms<'a>) -> egui::Button<'a> {
    egui::Button::new(atoms)
}