Omniverse USD BRep v1.0.22026-11-19
[1.0.2] - 2026-11-18
Added
- The kernel (SMLib, SM_API) and its C++ tests build for Android arm64 with the Android NDK, using the existing premake build; see BUILDING.md. There is no USD, OCCT or Python support on Android.
- The wheel installs a usd-brep-heal command, the same healer as tools/scripts/usdbrepheal.py in the binary package (usd.heal_file on a file).
- The wheel includes a short brepusdschemavalidator README: what the schema rules check, the [validation] extra, and how to run them.
- usd.validategeometryfile (SmApiUsdValidateGeometryFile): run SmBrep::AssertValid on every BrepArray prim in a USD file. The wheel installs it as the usd-brep-validate-geometry command. It finds prims the same way as brepgeometryvalidator (SmApiUsdFindGeometryPrims): active BrepArray prims and active prims with a brep:regionCount attribute, including those inside nested instances.
Changed
- BrepUsdSchemaValidator runs in the validation engine's worker processes (nvidiausdvalidate --process N, ValidationEngine(processes=N)). It was not marked safe for them, so the engine ran it in the main process, and it could not have run in a worker: the rule could not be pickled, and a spawned worker did not have the omniSolid schema. registeromnisolidschema now also adds the schema to PXRPLUGINPATHNAME for child processes.
- The BrepArray USD schema validator is renamed so it cannot be mistaken for the Brep geometry validator (usd.validategeometryfile, brepgeometryvalidator): the package brepvalidator is now brepusdschemavalidator, BrepValidator is BrepUsdSchemaValidator, BrepValidatorPlugin is BrepUsdSchemaValidatorPlugin, BrepValidationResult is UsdSchemaValidationResult and validatefile is usdschemavalidatefile. import brepvalidator no longer works. The directories brepvalidatorcli and brepvalidatortest are now brepusdschemavalidatorcli and brepusdschemavalidatortest. nvidiausd_validate reports the rules as BrepUsdSchemaValidator, so a configuration that names the old class must change.
- SmBSplineCurve::AssertValid no longer searches each curve for its smallest radius of curvature, so it is faster: about 6 times on the curves of a sample of production parts, with the same results. The search's result was never used, so assertions 13 and 14 (small radius of curvature) were never reported, and a small radius is valid geometry. (GitHub #27)
- SmBrep::AssertValid, and so usd.validategeometryfile and the developer assertvalid binding, no longer modifies curves. When the control points of an edge or trim curve folded back at an end, the check moved the control point next to that end (and set its weight to 1 on a rational curve) as well as warning; it now only warns. Its result is the same. removefillet (SmApiRemoveFillet) validates the Brep it builds, so it no longer straightens such curve ends as a side effect.
- macOS builds no longer fuse multiply-adds (-ffp-contract=off), as Linux aarch64 builds already did, so Apple silicon gives the same results as x86-64 and Windows. With fused multiply-adds, marginal geometry could take a different branch, for example a different tessellation triangle count. (GitHub #31)
- The wheel's PACKAGE-LICENSES holds only the license texts for what it ships: OpenUSD (with the code it embeds), oneTBB, pybind11 and, on Windows, hwloc. It used to copy every text in the OpenUSD package, including Alembic, MaterialX, OpenSubdiv, OpenSSL and Python, none of which the wheel ships. The binary package is unchanged.
- The release packages bundle the CPython 3.12.16 runtime library (was 3.12.15), for its security fixes.
Fixed
- THIRDPARTYNOTICES.md now lists libaom and libavif, which OpenUSD's hioAvif image plugin in the release packages contains, with libaom's Alliance for Open Media Patent License 1.0.
- Windows wheels include the oneTBB and hwloc license texts when their DLLs are staged beside first-party libraries.
- Copying cached face properties with nonempty seam-touch lists no longer overruns those arrays and corrupts memory.
- createcylindricalbox (SmApiCreateCylindricalBox) now constructs full hollow cylinders for 360-degree sweeps, including sweeps within 0.0001 degrees of a full turn from either side. Full turns use circular boundaries and annular caps instead of degenerate three-point arcs and coincident radial end faces. (GitHub #22)
- Deleting the last owner of an attribute skipped the attribute's virtual SmAttribute::RemoveUser, so a derived attribute that tracks its owners kept a pointer to the deleted object. (GitHub #45)
- Sheets merged into a closed shell by mergebreps (SmApiMergeBreps), such as an open tube and two caps, read as a manifold solid with zero volume, and stitchintosolid did not change that: the merge marks the enclosed region as a void. stitchintosolid (SmApiStitchIntoSolid) now makes that region solid, also when the merge includes a solid (a cavity stays void), and ismanifold_solid() (SmApiBrepIsManifoldSolid) returns False for a Brep with no solid region. (GitHub #39)
- Transforming a Brep (SmBrep::Transform, as used for a reflection, a rotation or a scale) set its tolerances from the box of its vertices alone. A torus has a single vertex, so every tolerance became 0 and the Brep then failed validation and export with a tolerance error. A very flat cylinder, whose two vertices are far closer together than the body is wide, got a tolerance that was too tight, or 0. The size now comes from the whole body, and a transform that does not change distances (a rotation, a translation, a reflection, including a scale of 1 or -1 on each axis as from SmApiScale) leaves the tolerances as they are. (GitHub #37)
- boolean2d (SmApiBoolean2d) crashed when an operand was NULL (None), and given the same Brep as both operands it reported success but returned a Brep it had deleted. Both now fail with SMERRINVALIDINPUT.
- Debug builds: four debug messages in SmTess.cpp and SmProtoTopology.cpp were formatted into 256-character buffers (SMMAXSIZE, the file line length) while the formatting calls allowed 1024 characters. Two SmTess.cpp messages could write past their buffers: a trim-curve warning for UV values around 1e30 or larger, and an assertion message for a distance around 1e142 or larger, as from corrupt geometry. The buffers are now SMTBLOCK_SIZE (1024), like the kernel's other message buffers.
- Writing a Brep to a native file (Brep.writetofile, SmApiWriteBrepToFile) and writing or reading a part file (SmBrepData::WritePartToFile, readpartfrom_file, SmApiReadPartFromFile) leaked memory for each edge, loopuse and mate edgeuse that carried attributes, also when the read failed.
- SM_SPRINTF (SmTypes.h) passed 1024 as the size of every destination, so a longer string could write past a smaller array. It now passes the array's own length and truncates, with a terminating null on Windows too. Release kernel code was not affected: it writes only into 1024-character buffers. In debug builds, one warning in SmTess.cpp could overflow its 256-character buffer, but only for trim-curve UV values around 1e30 or larger, as from a corrupt file.
- Reading a native Brep file (readbrepfromfile, SmApiReadBrepFromFile) now fails with SMERRINVALIDINPUT when the data ends early (in an ASCII file, unless it ends inside a number) or a value cannot be read.
- On Windows, the NURBS library's memory functions (NMalloc, NCalloc, NRealloc, NMemSet) took sizes as a 32-bi