Skip to main content

Crate neco_brep

Crate neco_brep 

Source
Expand description

Analytical B-Rep engine supporting analytic surfaces (Plane, Cylinder, Cone, Sphere, Ellipsoid, Torus, SurfaceOfRevolution, SurfaceOfSweep) and NURBS surfaces.

Re-exports§

pub use boolean::boolean_2d;
pub use boolean::boolean_2d_all;
pub use boolean::RegionSet;
pub use boolean3d::boolean_3d;
pub use brep::eval_revolution_profile;
pub use brep::find_closest_v_on_profile;
pub use brep::Curve3D;
pub use brep::Edge;
pub use brep::EdgeId;
pub use brep::EdgeRef;
pub use brep::Face;
pub use brep::FaceId;
pub use brep::Shell;
pub use brep::SubFace;
pub use brep::Surface;
pub use brep::VertexId;
pub use extrude::shell_from_extrude;
pub use loft::shell_from_loft;
pub use mesh_validate::MeshValidation;
pub use primitives::shell_from_box;
pub use primitives::shell_from_cone;
pub use primitives::shell_from_cylinder;
pub use primitives::shell_from_ellipsoid;
pub use primitives::shell_from_sphere;
pub use primitives::shell_from_torus;
pub use radians::Radians;
pub use revolve::shell_from_revolve;
pub use shell_view::shell_view;
pub use shell_view::FaceSample;
pub use shell_view::FaceView;
pub use shell_view::ShellView;
pub use sweep::shell_from_sweep;
pub use tessellate::TriMesh;
pub use transform::apply_transform;
pub use transform::solid_to_shell;
pub use types::Axis;
pub use types::BooleanOp;
pub use types::LoftMode;
pub use types::LoftSection;

Modules§

bezier
Bezier curve evaluation and frame interpolation utilities.
bezier_decompose
Decompose a NURBS tensor-product surface into Bezier patches.
boolean
2D boolean operations module
boolean3d
brep
B-Rep core data structures: Shell, Surface, Edge, Face, Curve3D.
extrude
loft
Loft (connect multiple cross-section profiles) B-Rep generation.
mesh_validate
Mesh invariant validation.
primitives
Primitive shape Shell generation.
radians
revolve
shell_view
Lightweight shell view API for downstream inspection and serialization prep.
stl
STL file export (binary / ASCII).
sweep
Sweep (profile along spine) B-Rep generation.
tessellate
Tessellation: B-Rep Shell to triangle mesh conversion.
transform
Shell coordinate transforms and solid-to-Shell conversion.
types
Shared type definitions.
vec3
[f64; 3] vector helpers and geometry utilities.