NVIDIA Opens USD BRep's CAD Kernel to Developers Under Apache 2.0
NVIDIA open sourced its NURBS boundary-representation CAD kernel under Apache 2.0, giving developers an exact-geometry solid modeling library that reads and writes OpenUSD natively.
Takeaways
- NVIDIA open sourced USD BRep, a NURBS boundary-representation solid modeling kernel, under Apache 2.0.
- Ships SMLib, a mature kernel based on the Piegl and Tiller NLib NURBS library used in commercial CAD for decades.
- Covers booleans, fillets, chamfers, shells, sweeps, intersectors, mass properties, and healing in C++ and Python.
- Native OpenUSD import and export plus STEP, IGES, and JT via bundled OpenCASCADE conversion.
- Pitched at AI-to-CAD: exact geometry fed to neural nets instead of triangle meshes or opaque feature trees.
- A Rust port called solidcore appeared within a day of release.
NVIDIA has published USD BRep, an Apache 2.0 project that packages the SMLib solid-modeling kernel with native OpenUSD support. The standalone C++ and Python library gives developers source access to NURBS-based boundary-representation modeling previously used in commercial CAD products.
The engine under the model
A boundary-representation kernel describes a solid through connected faces, edges, and vertices. NURBS equations define curved surfaces precisely, while the kernel maintains the topology connecting them. It also performs operations such as cutting holes, joining bodies, rounding edges, offsetting faces, and hollowing solids.
Commercial CAD systems commonly rely on proprietary kernels such as Siemens Parasolid and Dassault Systèmes ACIS. Those products require commercial agreements and restrict access to their implementations. USD BRep adds a permissively licensed option that teams can embed, inspect, and modify.
SMLib builds on NLib, a NURBS curve and surface library developed by Wayne Tiller and Les Piegl, co-authors of The NURBS Book. NVIDIA’s project documentation describes SMLib as a kernel for integration into other 3D applications, with support for exact surfaces, polygonal geometry, and OpenUSD data exchange.
Inside SMLib’s operation set
The public C++ headers expose a broad modeling API. Functions in SmApiBrep.h include SmApiBoolean, SmApiFilletEdges, SmApiVariableRadiusFillet, SmApiShellBrepFull, and SmApiStitch, alongside non-manifold sweep and Boolean variants.
- Boxes, spheres, cones, cylinders, tori, pyramids, and partial primitives
- Helices, ruled surfaces, revolutions, sweeps, skins, and other curve or surface constructors
- Boolean unions, intersections, subtractions, fillets, chamfers, offsets, shelling, and draft operations
- Intersections among curves, surfaces, faces, and complete BRep bodies
- Mass properties, closest-point queries, bounding boxes, and manifold validation
- Healing and stitching for damaged or disconnected geometry
- STEP, IGES, and JT exchange through the Open CASCADE integration
The usd_brep Python package includes a file-level healing API. NVIDIA documents the following repair call:
import usd_brep
usd_brep.usd.heal_file("input.usdc", "input_healed.usdc")
The healing path preserves USD layers, references, native instancing, transforms, and materials, allowing geometry repair inside an existing USD pipeline without rebuilding its scene structure.
Exact topology gives ML more structure
Mechanical CAD data contains control points, knot vectors, trimmed surfaces, face adjacency, and operation history. Many machine-learning pipelines discard much of that structure when they convert parts into triangle meshes. USD BRep makes exact geometry and topology available through Python and C++, giving models access to the mathematical boundaries that define a part.
That representation can support generative CAD, mechanical-part retrieval, segmentation, geometric classification, and simulation surrogates. The kernel also provides Boolean operations, intersection tests, healing, and manifold checks that can help validate generated geometry.
Generated parts still require tolerance checks, design-rule validation, and manufacturing analysis. A valid BRep can contain impractical wall thicknesses, inaccessible features, or geometry unsuitable for a specific production process.
Apache 2.0 comes with caveats
| Area | Details |
|---|---|
| Release | The initial tagged release is version 1.0.0. |
| License | Apache 2.0 for the USD BRep project code. |
| Languages | C++ with Python bindings through pybind11. |
| Platforms | Linux, Windows with MSVC 2019 or 2022, and Apple Silicon macOS through a universal build. |
| Dependencies | OpenUSD, Python 3.12, pybind11, Premake, and optional Open CASCADE components. |
| Build system | Packman retrieves supported dependencies during setup. |
Apache 2.0 permits commercial use, modification, and redistribution of the project code. Bundled and optional dependencies retain their own licenses, so products that ship OpenUSD, Open CASCADE, or exchange components need a separate dependency review.
Current constraints
- The repository accepts bug reports while keeping external code contributions closed.
- The default macOS configuration builds the Python package and omits OpenUSD and Open CASCADE support.
- STEP and IGES workflows therefore require a supported Linux or Windows configuration under the documented defaults.
- Known geometric edge cases include fillet failures when a fillet reaches or overlaps the boundary of a hole.
A broader open-source kernel field
An independent Rust effort, the solidcore project, is already reimplementing the SMLib and SM_API layers. Its stated goals include safe and deterministic NURBS geometry, BRep topology, intersections, Booleans, fillets, chamfers, sweeps, healing, mass properties, and WebAssembly support. Its maturity and API coverage should be evaluated separately from NVIDIA’s implementation.
Open CASCADE Technology already provides an established open-source BRep stack under LGPL 2.1 with an exception. USD BRep expands the available choices with Apache-licensed project code, direct OpenUSD integration, and an API rooted in a kernel used by commercial CAD vendors.
Projects that fit the kernel
- Generative CAD systems that need exact BRep output
- Classification, retrieval, and segmentation models for mechanical parts
- USD-native digital twins and simulation pipelines that require engineering geometry
- Headless CAD services and new parametric modeling tools
- STEP, IGES, or JT conversion pipelines targeting OpenUSD and Omniverse
- Geometry repair, validation, measurement, and mass-property services
USD BRep supplies the geometry layer of a CAD system. A complete modeling application still needs components such as a sketcher, constraint solver, feature tree, undo model, persistence layer, and user interface. For teams that already have those pieces, or only need programmatic solid modeling, SMLib removes a substantial proprietary dependency while adding a direct path into OpenUSD workflows.