axiolid-mesh-compile
Scalar reference MeshCompiler: profiles, extrusion, transforms, boolean dispatch.
| Latest release | 0.3.6 (2026-09-28) |
| crates.io | axiolid-mesh-compile |
| Layer | execution (execution.orchestration) |
| API documentation | rustdoc · docs.rs |
| Source | crates/execution/compile/ |
Overview
The scalar reference compilers for an axiolid-model geometry graph. ReferenceMeshCompiler walks the graph and produces one TriMesh per root: it resolves instances and collections, composes transforms, tessellates profiles, sweeps, B-reps and authored meshes, and hands booleans to whichever MeshBoolean provider it is given. ReferenceExactCompiler compiles the families it supports to exact B-reps and refuses the rest by name. This crate owns graph traversal and dispatch; the construction algorithms themselves (profile flattening, extrusion, revolution, sweeps) belong to axiolid-construct.
Design notes
- The caller always supplies the tolerance through
ExecutionOptions; there is no built-in default. Without an explicit chord budget, curves are flattened to the linear tolerance. - Read volume through
CompileOutcome::solid_mesh: a surface model can compile to a closed mesh without bounding a solid.
Depends on
axiolid-brepaxiolid-constructaxiolid-contractsaxiolid-coreaxiolid-curveaxiolid-exact-compile-contractaxiolid-guaranteesaxiolid-meshaxiolid-mesh-boolean-contractaxiolid-mesh-compile-contractaxiolid-mesh-contractsaxiolid-modelaxiolid-primitiveaxiolid-profileaxiolid-referenceaxiolid-surfaceaxiolid-topology
Changes
Latest release, 0.3.6 (2026-09-28):
Changed
- The crates.io page is this crate's own
README.md, with links to its API documentation, its reference page and the source (ADR 0078).
Full history: crates/execution/compile/CHANGELOG.md