Skip to content

Getting started

Choose the narrowest dependency

Axiolid is a workspace, not a mandatory all-in-one dependency. Prefer a leaf crate when its public contract is sufficient; use the axiolid facade when the feature-gated composition is more convenient.

toml
[dependencies]
# Core scalar values, transforms, bounds, and tolerance policy.
axiolid-core = { git = "https://github.com/axiolid/kernel.git" }

# Or: a small facade with core values, meshes, and the portable CPU shell.
axiolid = { git = "https://github.com/axiolid/kernel.git" }

The repository is currently consumed directly from Git while crates.io publication is not yet established. Pin a rev in reproducible applications.

Start with core values

rust
use axiolid::{Point3, Transform3};

let source = Point3::new(1.0, 2.0, 3.0);
let world = Transform3::IDENTITY.transform_point3(source);
assert_eq!(source, world);

Point3, Vec3, and transforms are double-precision glam aliases. Tolerance is explicit operation input; the kernel does not hide a global epsilon in geometry values.

Opt into capabilities deliberately

toml
# Mesh-oriented construction, triangulation, spatial operations, and the
# optional mesh-Boolean provider.
axiolid = { git = "https://github.com/axiolid/kernel.git", features = ["discrete"] }

# Representation vocabulary plus general NURBS reference algorithms.
axiolid = { git = "https://github.com/axiolid/kernel.git", features = ["parametric"] }

# Or select only curve/surface values and the general NURBS algorithms.
axiolid = { git = "https://github.com/axiolid/kernel.git", default-features = false, features = ["nurbs"] }
BundleIncludesDoes not imply
defaultcore values, mesh facade, portable CPU shellevery mesh algorithm
discretemesh-centric representations and declared algorithms/providersexact B-rep evaluation
parametriccurve, surface, topology, primitive, and graph vocabulary plus general NURBS reference algorithmsa complete CAD modeling/intersection kernel
advanceddiscrete + parametric + healing vocabularyproduction GPU computation
fulladvanced facade plus optional parallel/SIMD/GPU seamsthat each acceleration path is implemented or faster

Read Capabilities before basing product behavior on a feature.

Build and test locally

bash
cargo fmt --all -- --check
cargo test --workspace
cargo clippy --workspace --all-targets --all-features -- -D warnings

For the architecture-specific feature matrix and mutation probes, see Contributing.

Released under the Mozilla Public License 2.0.