Repository navigation
Releases
ovclash 0.2.2
What it is
ovclash is a standalone clash-detection library for USD stages that runs outside Omniverse Kit. It ships as a Python wheel and as a C/C++ SDK archive. Both drive the same native runtime. It is pre-1.0, so breaking changes can land in minor or patch releases. The changelog calls each one out.
What you can do with it
- Load a stage. Open a USD stage from a file, or borrow a live ovstage stage that your application owns (attach_ovstage()).
- Mesh-vs-mesh queries. Run them as static queries or over a time-sampled (dynamic) range, with an optional clearance tolerance.
- Point-vs-mesh queries. Run them against UsdGeomPoints prims. They are off by default.
- Duplicate meshes. Find them in a static query.
- Scoping. Limit each side of a query to selected prim paths, or query the whole stage.
- Pipeline. Run it synchronously, or asynchronously with progress and cancellation.
- Results. Read overlap records, details, statistics and detailed overlap reports. The face, outline and point buffers can be handed to NumPy, Warp or any DLPack consumer without copying.
- Persistence and export. Save results to SQLite (.ovclashdb) or a folder of readable JSON files. Export HTML and JSON reports. Read, write and migrate legacy .clashDetection containers.
- Incremental and async saving. Fetch-and-save can run in bounded steps, run on a background worker, or write into your own storage through a custom serializer.
- Stage timeline. Read the stage's own timeline without pxr.
What ships
-
Python wheel. It contains three packages:
- ovclash, the canonical clash C ABI bindings.
- ovclash_suite, the higher-level product API (ClashDetection, ClashData, ClashQuery).
- omni.physxclashdetectioncore, a Kit-free compatibility shim for ported Kit code.
- lives here: https://pypi.org/project/ovclash/
It also carries the native library, the Python samples, run_custom_clash.{sh,bat} (a one-command way to run a query on a stage), and agent skills/.
-
SDK archive. It has the same native library, plus public C headers (<ovclash/ovclash.h> and <ovclash_suite/*.h>), CMake and pkg-config files, the C++ and Python samples, and the consumer docs in docs/consumer/.
-
Platforms. Windows x86_64, Linux x86_64 and Linux aarch64. Python 3.10 or newer.
-
Dependencies. USD access goes through the separately published ovstage package. The wheel pins an exact ovstage version and pip installs it automatically. For the SDK, run pip install -r requirements.txt. On Windows you need the MSVC runtime (VC++ Redistributable). SQLite is loaded from the OS.
Changes in 0.2.2 specifically
- Duplicate overlaps now store both objects' world matrices. They were all-zero before. A duplicate that an earlier version saved and approved will show up as ACTIVE again on its next fetch.
- Clash Processor sample fix. The processor no longer deletes or overwrites a --clashdb file it cannot read. It exits with status 1 instead.
- Python sample fix. The samples no longer crash with UnicodeEncodeError on characters the console can't print.
- ovclash_suite.html_escape() fix. It now keeps an embedded NUL character and the text after it.
- Skill catalog moved. It is now skills/README.md instead of SKILLS.md.
- SDK docs path changed. The SDK archive's docs moved from docs/ to docs/consumer/. Update any script or bookmark that reads the old paths.
- Docs clarification. The wheel ships no documentation pages. The docs are in the SDK archive and on the documentation site.
- Compatibility gap. omni.physxclashdetectioncore has no data_file_damaged member. ovclash raises on a damaged database instead.