geop_ops_shell/lib.rs
1//! The [`Shell`] operation: a solid of a program hollowed out to walls of
2//! one thickness, open where faces are picked, by [`geop_lib_shell::shell()`].
3
4#[cfg(test)]
5mod editor_tests;
6mod icons;
7mod operation;
8#[cfg(test)]
9mod program_tests;
10#[cfg(test)]
11mod regression_tests;
12#[cfg(test)]
13mod stress_tests;
14#[cfg(test)]
15mod tutorial_regression_tests;
16
17pub use operation::{Shell, ShellArgs};
18
19use geop_core_editor::registry::Registry;
20use geop_core_math::geop_error::GeopResult;
21
22/// Adds what this crate offers an editor to `r`: shelling a solid.
23pub fn register(r: Registry) -> GeopResult<Registry> {
24 r.operation(Shell)
25}