Files
OneCAD/vendor/truck-meshalgo/src/lib.rs
T
bherbruckandClaude Opus 5.5 296683229d Rename SolveCraft to SolidCraft everywhere, with compatibility shims (#389)
* WIP deep rename (not for push)

* WIP2

* WIP3

* WIP4 wxs fix

* rustfmt

* Rename the remaining identifiers in merged crash-report code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-12 17:17:01 -04:00

57 lines
1.5 KiB
Rust

//! Mesh algorigthms, include tessellations of the shape.
// SolidCraft: compiler warnings no longer fail the build.
#![deny(clippy::all, rust_2018_idioms)]
#![warn(
missing_docs,
missing_debug_implementations,
trivial_casts,
trivial_numeric_casts,
unsafe_code,
unstable_features,
unused_import_braces,
unused_qualifications
)]
use common::*;
/// re-export polymesh
pub mod rexport_polymesh {
pub use truck_polymesh::*;
}
use truck_polymesh::{StandardVertex as Vertex, *};
/// polygon mesh analizers, including
///
/// - determines topological properties: connectivity, boundary extraction, or shell conditions (closed or oriented)
/// - detects collisions between two meshes and extracts interference lines
/// - investigates positional relations between mesh and point clouds.
#[cfg(feature = "analyzers")]
pub mod analyzers;
mod common;
/// Edits meshes. Add normals, optimizing data, and so on.
#[cfg(feature = "filters")]
pub mod filters;
/// Tessellates shapes.
#[cfg(feature = "tessellation")]
pub mod tessellation;
/// VTK Output
#[cfg(feature = "vtk")]
#[cfg(not(target_arch = "wasm32"))]
pub mod vtk;
/// This module contains all traits and re-exports `truck_polymesh`.
pub mod prelude {
#[cfg(feature = "analyzers")]
pub use crate::analyzers::*;
#[cfg(feature = "filters")]
pub use crate::filters::*;
pub use crate::rexport_polymesh::*;
#[cfg(feature = "tessellation")]
pub use crate::tessellation::*;
#[cfg(feature = "vtk")]
#[cfg(not(target_arch = "wasm32"))]
pub use crate::vtk::*;
}