Skip to main content

arris logo

arris

CI crates.io PyPI License: MIT OR Apache-2.0 rustc 1.85+

A B-Rep geometric kernel written from scratch in Rust.

An arris is the sharp edge where two surfaces meet — the thing a B-Rep kernel exists to compute.

Arris is a library, not an application: it builds solids, cuts and fuses them, blends their edges, measures, tessellates and exports them. It carries a tolerance on every entity rather than one global epsilon, returns a typed error naming the entities involved rather than panicking on geometry it cannot do, and returns a provenance record from every operation so that a parametric application can name the faces an operation made. Same input, same output, same entity ids, on every platform. Pure Rust, no unsafe, builds for wasm32.

Features

Pre-1.0 and under development. The public API breaks between minor versions, and each change, with each break and its fix, is listed in CHANGELOG.md.

  • Modelling: primitives, rigid transforms, and extrude and revolve of a profile of lines, arcs and elliptic arcs; prismatic features (offset faces, shell to a wall, split by a plane); a profile as a one-face sheet body, moved and mirrored like a solid and measured by area.
  • Booleans: cut, fuse and common, single or multi-tool, over every analytic face (plane, cylinder, elliptic cylinder, cone, sphere, torus) in any pose, with multi-shell results (cavities, split cuts, disjoint fuses). Sections are exact where they are conics and traced and fitted to NURBS elsewhere.
  • Blends: constant-radius fillet and chamfer along chains of edges between planes and cylinders, coaxial pairs included, with miters, corners, steps, cusps and hole rims.
  • Queries, which leave the body unchanged: ray hits, minimum distance between points, vertices, edges, faces and solids, interference between solids with the shared volume, clash screening of an assembly, and the planar section of a body.
  • Output: tessellation to a chord tolerance, per face or whole, with faces meshed at different times welded together; mass properties (volume, centroid, inertia); plane projection and face frames.
  • Formats: a STEP reader that returns a checked body, or a typed refusal naming why, for every solid or surface model in a file, closing small gaps and turning back reversed faces and naming each repair; STEP AP214 export in the unit you choose, STL and OBJ export; a deterministic native format in JSON and bytes; and one body, with its provenance, as bytes that any later release reads.

Not yet: sweeps and lofts, variable-radius blends, non-manifold bodies, sewing faces that a STEP file leaves unconnected, and booleans where a NURBS face meets a face of the other operand. Each of those is a typed refusal today, never a wrong answer.

Arris is narrower than Open CASCADE and is not aiming for feature parity. docs/COMPARISON.md sets out what each does today, where the two differ in approach, and what has been measured against it.

From Python

pip install arris gives a binding over the same kernel: build a body from primitives and profiles, fillet and cut it, ask what it measures and what the checker says, tessellate it, and write and read STEP, STL, OBJ and body bytes, without compiling a crate. Every operation returns the body and its provenance, and every error is a typed exception.

import arris

model = arris.Model()
plate, _ = model.primitive_box((0, 0, 0), (100, 100, 10))
hole, _ = model.primitive_cylinder((50, 50, -1), (0, 0, 1), 5, 12)
part, record = model.cut(plate, hole)
print(model.mass_properties(part).volume, bool(model.check(part, "full")))

Correctness

Every operation returns a shape that passes the invariant checker, and the checker runs after every operation in debug builds. Every fixture in the test corpus carries an oracle value — volume, area, centroid, counts, point classifications — computed by Open CASCADE, which Arris must match within the fixture's stated tolerance. Open CASCADE is run as the oracle through Python; it is never a build or runtime dependency, and PROVENANCE.md says how it is used and read. Properties (volume additivity, cut-then-fuse, commutativity, STEP round-trip) are tested over random operands in random poses from a fixed seed.

Workspace

Arris is a Cargo workspace. crates/arris is the facade a consumer depends on; it re-exports the layered crates beneath it — arris-math, arris-geom, arris-topo (the representation), arris-check (the invariant checker), arris-ops, arris-mesh, arris-io (the algorithms) and arris-debug (dev-facing: rasteriser, fixtures, property-test strategies; it is not published). crates/arris-py is the Python binding, above the facade and published to PyPI rather than crates.io. A crate never depends on one above it; tools/check-layers.sh enforces that in CI and in the pre-commit hook. The layout and the reasons are in docs/ARCHITECTURE.md; tools/oracle/ is the Open CASCADE test oracle, run through Python and never linked.

Prior work

Arris stands on four open projects, and it reads them, not copies them. Arris contains no code, comments or identifiers from any of them, and no line-by-line translation. Each one was read for its algorithms and for the mistakes it made, and the approach was reimplemented for Arris's own representation. PROVENANCE.md sets out the rule.

  • Open CASCADE (LGPL 2.1, with an exception). The mature C++ kernel, and the test oracle. Arris runs it through Python to produce expected values; no crate links it, at build or run time. See docs/COMPARISON.md.
  • truck. The original pure-Rust NURBS B-Rep. Arris learns from its NURBS evaluation, its tessellation and its marching intersections, and from why they fail at seams.
  • monstertruck. An active fork of truck, with fillets, healing and more STEP. Arris learns from its fillet and healing work.
  • Fornjot. A validation-first B-Rep kernel, which never reached booleans. Arris learns from its layered validation and its per-object checks.

Licence

MIT or Apache-2.0, at your option. See LICENSE-MIT and LICENSE-APACHE.

Metadata

Release files for arris 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arris 0.8.0
File Size Uploaded Provenance Actions
arris-0.8.0.tar.gz 2.1 MB With provenance Details for arris-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arris 0.8.0
File Interpreter ABI Platform Actions
arris-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for arris-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 5.5 MB

Release files / arris-0.8.0.tar.gz

Download URL arris-0.8.0.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
fe9ff740a023c64cb0ef02db8d4bfe0fe66b7ba3dba6ff8ecb8e4163b79ba158
BLAKE2b-256 checksum
How to use checksums
90e2b98a9a30ed88f69ed3266cb92d4764aff6ab884ce3aa3315c84fa8d02e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / arris-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL arris-0.8.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c554b283394637dc9defd28ed6abd2795763243b3f93e9f7dc935ec08197b0c6
BLAKE2b-256 checksum
How to use checksums
af45fb89c3987fa09fa0dddc148bc9274a80d61d3725ebca349e457758b0c919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Security for arris 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for arris-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page