1#[cfg(test)]
11mod editor_tests;
12#[cfg(any(test, feature = "examples"))]
13pub mod examples;
14mod hole;
15mod icons;
16pub mod iso;
17pub mod operation;
18#[cfg(test)]
19mod pattern_tests;
20pub mod pipe;
21#[cfg(test)]
22mod program_tests;
23#[cfg(test)]
24mod regression_tests;
25#[cfg(test)]
26mod testing;
27mod thread;
28
29pub use operation::{
30 FaceRef, Hole, HoleArgs, HoleCentre, HoleKind, PlaneRef, Standard, Thread, ThreadArgs,
31};
32
33use geop_core_editor::registry::Registry;
34use geop_core_math::geop_error::GeopResult;
35
36pub fn register(r: Registry) -> GeopResult<Registry> {
38 let r = r.operation(Hole)?.operation(Thread)?;
39 #[cfg(any(test, feature = "examples"))]
40 let r = r.examples(examples::set())?;
41 Ok(r)
42}