Axial-Compute/runout
Developer ToolsGPU-accelerated clearance, swept disassembly, wall-thickness and contact checks for CAD assemblies and MuJoCo Warp simulations.
Overview
runout is a Python library and CLI for verifying CAD assembly geometry in double precision on NVIDIA GPUs, built on NVIDIA Warp. It loads .stl, .obj, and .step parts and answers questions that usually require manual inspection or slow CPU interference checks: whether parts clash, what the minimum clearance is, what the exact overlap volume is, whether a part can be withdrawn along a direction without hitting anything, and how thick walls are.
The swept check is continuous rather than step-sampled, so thin circlips and shims cannot be tunneled through at coarse step sizes. Wall thickness uses inward-normal ray scans, which ignores exterior air gaps. A MuJoCo Warp bridge supplies exact triangle-mesh contact as a narrowphase callback, avoiding convex hulls or baked SDFs. The README lists the supported checks and a benchmark table comparing them against Coal, Embree, OpenCASCADE, and MuJoCo Warp's GPU SDF.
Getting started
Python 3.10 or newer is required. The core package includes CUDA, CPU Warp, and NumPy fallbacks and supports STL/OBJ. Optional extras add exact clash volume via manifold3d, .step loading via nanocct, and the MuJoCo Warp bridge. Install from PyPI; runout[mujoco] needs Python 3.11+, and the STEP extra depends on Python 3.12 wheels.
pip install runout
pip install "runout[boolean]"
runout doctor --json
runout doctor probes the CUDA/CPU backends and runs an FP64 self-test, so it is worth running before trusting a result. A minimal Python flow loads parts, checks static fit, then proves linear withdrawal:
import runout
parts = {
"housing": runout.load_part_from_file("housing.stl", device="cuda:0"),
"shaft": runout.load_part_from_file("shaft.stl", device="cuda:0"),
}
static = runout.check_assembly_geometry_gpu(parts, min_clearance_mm=0.03)
swept = runout.check_removable_gpu(parts, moving="shaft", outward=(0, 0, 1), travel_mm=60.0)
The CLI mirrors these operations and every command accepts --json, -q, --device {auto,cuda:0,cpu,numpy}, and --precision {draft,standard,fine,metrology}, exiting 0 on pass, 1 on geometric failure, and 2 on usage or input errors:
runout check assembly/ --min-clearance 0.03 --export-clash clash.stl --json
runout swept assembly/ --part bearing_outer_race --dir 0,0,1 --travel 120 --json
runout wall nozzle.stl --min-wall 1.2 --samples 1000000 --json
For simulation, runout.mujoco.attach_mujoco_warp wires triangle meshes into an unmodified mujoco_warp >= 4.0 model as a zero-copy contact callback, and inspect_contacts reads back contact statistics. The README's example uses nworld=1024 and millimeter part units.
Constraints
- Separation distance, flush contact, and swept checks are FP64-exact only on the input triangle mesh. Interior penetration uses vertex/centroid sampling plus edge-crossing confirmation, not full volumetric truth.
- Exact
overlap_mm3needs watertight meshes and thebooleanextra; on open meshes it returnsnan(JSONnull) while interference still fails closed through winding-number containment and edge crossings. .step/.stpinputs are tessellated, with chord deflection bounded by--precisionorlinear_deflection_mm/angular_deflection_rad. Results depend on that tessellation.- The tool covers rigid-body geometry and kinematics only. Structural stress, thermal deformation, and compliant parts require FEA.
- Full speed requires a CUDA GPU; the CPU and NumPy paths are fallbacks for laptops and CI, not the primary path.
- Apache-2.0 licensed.
HotRepo's take
runout entered HotRepo's new-project list on 2026-12-04 with 101 stars and 11 forks gained since its 2026-12-03 creation, so the record is a single early snapshot rather than a track record. The README's benchmark claims are specific and attributable — device models, competitor versions, triangle counts, and error magnitudes — which makes them easy to reproduce or challenge later. The practical distinction is the continuous swept proof and the exact-mesh MuJoCo Warp contact path: those are the parts that compete with SDF hardening and convex-hull approximations, and their value depends on the assembly's tolerance scale.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- google-deepmind/mujocoGeneral-purpose physics engine for simulating articulated robots and structures, used by robotics, biomechanics, and machine learning researchers.
- eust-w/open-robotics-pluginInstall a pack of 19 robotics skills for MuJoCo simulation, perception, planning and robot bring-up into most coding agents.
- google-deepmind/robotics-antigravity-pluginAgent skills that let Gemini-based coding agents build MuJoCo simulations and control real robot arms.
- stubbi/asmA package registry and CLI for building, sharing, and verifying assembly projects across x86-64, ARM64, and RISC-V targets.